Squid Antivirus Manual Configuration Will Kill Safe Browsing
-
Hi, enabling manual configuration for antivirus will delete safebrowsing.cld/safebrowsing.cvd on every Squid restart. It would be better, to check in freshclam.conf if SafeBrowsing is yes or no instead of clamav_safebrowsing in the pfSense config for Squid.
Regards
-
It would be better, to check in freshclam.conf if SafeBrowsing is yes or no instead of clamav_safebrowsing in the pfSense config for Squid.
Not a viable way of doing things, read https://github.com/pfsense/FreeBSD-ports/blob/devel/www/pfSense-pkg-squid/files/usr/local/pkg/squid_antivirus.inc#L169 please.
-
You can try this: https://github.com/doktornotor/FreeBSD-ports/commit/86b3125a0ce1e92304b88d66d769395571141448.patch
Will not care about safebrowsing at all, it the defs are missing, your problem to run freshclam to update.
-
Okay, thank you. I already commented the "rm -f" lines out, as an workaround. ;)
-
So, does the above work?
-
Sorry for the late replay, indeed it works. Manual configuration, squid restart and safebrowsing.cld is still there.
Thank you doktornotor.
-
Thanks for testing.
https://github.com/pfsense/FreeBSD-ports/pull/333