Page 1 of 1

Could add antivirus plugin it?

Posted: 30 Sep 2014 12:17
by akong
Hello,
I want scan samba file when user open file.Could nas4free support it?

Re: Could add antivirus plugin it?

Posted: 30 Sep 2014 15:03
by fumantsu
With which antivirus?

Re: Could add antivirus plugin it?

Posted: 30 Sep 2014 15:36
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.

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 04:04
by akong
I only want clamav antivirus to on-access scan samba share.Could do it?

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 07:56
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

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 08:35
by akong
Do you mean clamd will auto scan samba share files?

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 08:48
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.

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 10:02
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).

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 10:04
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 ;)

Re: Could add antivirus plugin it?

Posted: 01 Oct 2014 10:09
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?

Re: Could add antivirus plugin it?

Posted: 01 Feb 2016 20:50
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

Re: Could add antivirus plugin it?

Posted: 01 Feb 2016 22:45
by raulfg3
pkg_add is deprecated on BSD10 try pkg instead: https://www.digitalocean.com/community/ ... 1-with-pkg

Re: Could add antivirus plugin it?

Posted: 01 Feb 2016 23:15
by vinceducat
@raulfg3
thanks clamav is install using
pkg install clamav