This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Could add antivirus plugin it?

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
akong
NewUser
NewUser
Posts: 6
Joined: 06 Mar 2014 07:13
Status: Offline

Could add antivirus plugin it?

Post by akong »

Hello,
I want scan samba file when user open file.Could nas4free support it?

fumantsu
Starter
Starter
Posts: 69
Joined: 04 Mar 2014 12:15
Location: Athens->Brno
Status: Offline

Re: Could add antivirus plugin it?

Post by fumantsu »

With which antivirus?
Fractal Node 304, Avoton C2550 Quad-Core Processor, 8GB RAM ECC, 4 x 4TB WD RED in mirrors , NAS4Free 9.2.0.1 build 972

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Could add antivirus plugin it?

Post by raulfg3 »

akong wrote:Hello,
I want scan samba file when user open file.Could nas4free support it?

in the client side, of course, in the n4F side you need a AV that works on BSD like clamAV.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

akong
NewUser
NewUser
Posts: 6
Joined: 06 Mar 2014 07:13
Status: Offline

Re: Could add antivirus plugin it?

Post by akong »

I only want clamav antivirus to on-access scan samba share.Could do it?

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Could add antivirus plugin it?

Post by raulfg3 »

http://www.octopuscs.com/blogs/FreeBSD/ ... on-FreeBSD

to install from ports you need thebrig or finch.

you can also try pkg_add -r clamav
http://www.xenion.com.au/squid/docs/7.html
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

akong
NewUser
NewUser
Posts: 6
Joined: 06 Mar 2014 07:13
Status: Offline

Re: Could add antivirus plugin it?

Post by akong »

Do you mean clamd will auto scan samba share files?

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Could add antivirus plugin it?

Post by chrisf4lc0n »

Yes we mean clamd with auto scan. Just install it on your NAS4Free by issuing command pkg_add -rv clamav, make it autostart through WebGUI and configure the way you want it with the instructions from the http://www.clamav.net/index.html.
I do not however understand the idea of that, as I assume that you have got your shares connected to a Windows PC on which you should really have an antivirus running in the background anyway. That should pick all malicious software from your share when you are trying to use it. Clamav would only duplicate that function.
Watercooling is just the beginning ;)

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Could add antivirus plugin it?

Post by raulfg3 »

remember that pkg_add -rv clamav is ONLY possible if you have N4F full installed on a HD.

If you have N4F embeded installed on a USB key, you must use jails ( thebrig or finch).
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

chrisf4lc0n
Advanced User
Advanced User
Posts: 262
Joined: 07 May 2013 13:15
Location: West Drayton (London)
Status: Offline

Re: Could add antivirus plugin it?

Post by chrisf4lc0n »

raulfg3 wrote:remember that pkg_add -rv clamav is ONLY possible if you have N4F full installed on a HD.

If you have N4F embeded installed on a USB key, you must use jails ( thebrig or finch).
True, forgot about that ;)
Watercooling is just the beginning ;)

akong
NewUser
NewUser
Posts: 6
Joined: 06 Mar 2014 07:13
Status: Offline

Re: Could add antivirus plugin it?

Post by akong »

Hello,I have test on-access antivirus function.I have download test virus to share folder.But the clamav can't delete this file.
My clamd status is "clamav_clamd is running as pid 7682."
I have test clamdscan command to scan this virus file.It's can detect this virus.Why clamd can't delete this virus file?

vinceducat
Starter
Starter
Posts: 20
Joined: 14 Oct 2013 19:00
Status: Offline

Re: Could add antivirus plugin it?

Post by vinceducat »

Hello i also interesting in installing clamav, i m i full hd install hdd 10.2.0.2 - Prester (revision 2268) but
pkg_add -rv clamav

return

Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports ... clamav.tbz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports ... clamav.tbz' by URL


thanks
12.1.0.4 - Ingva (revision 7683) FreeBSD 12.1-RELEASE-p7 #0 r363366M: Mon Jul 20 16:59:25 CEST 2020 + OBI
x64-embedded sur AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Could add antivirus plugin it?

Post by raulfg3 »

pkg_add is deprecated on BSD10 try pkg instead: https://www.digitalocean.com/community/ ... 1-with-pkg
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

vinceducat
Starter
Starter
Posts: 20
Joined: 14 Oct 2013 19:00
Status: Offline

Re: Could add antivirus plugin it?

Post by vinceducat »

@raulfg3
thanks clamav is install using
pkg install clamav
12.1.0.4 - Ingva (revision 7683) FreeBSD 12.1-RELEASE-p7 #0 r363366M: Mon Jul 20 16:59:25 CEST 2020 + OBI
x64-embedded sur AMD Athlon(tm) 64 X2 Dual Core Processor 4200+

Post Reply

Return to “CIFS/SMB (Samba)”