squidantivirus0.4.1Proxy server: Antivirus/usr/local/pkg/squid.incGeneral/pkg_edit.php?xml=squid.xml&id=0Remote Cache/pkg.php?xml=squid_upstream.xmlLocal Cache/pkg_edit.php?xml=squid_cache.xml&id=0Antivirus/pkg_edit.php?xml=squid_antivirus.xml&id=0ACLs/pkg_edit.php?xml=squid_nac.xml&id=0Traffic Mgmt/pkg_edit.php?xml=squid_traffic.xml&id=0Authentication/pkg_edit.php?xml=squid_auth.xml&id=0Users/pkg.php?xml=squid_users.xmlReal Time/squid_monitor.phpSync/pkg_edit.php?xml=squid_sync.xmlenabledClamAV Anti-Virus Integration Using C-ICAPlisttopicEnableenableEnable Squid antivirus check using ClamAV.checkboxClient Forward Optionsclient_infoselectbothEnable Manual Configurationenable_advanced
You must edit the configuration files directly in the 'Advanced Features'. Warning: Only enable this if you know what are you doing.
After enabling manual configuration, click button once to load default configuration files.
To disable manual configuration again, select 'disabled' and click 'Save' button.
]]>
selectdisabledon_antivirus_advanced_config_changed()Redirect URLclamav_url
Leave empty to use the default Squid/pfSense WebGUI URL. Example: http://proxy.example.com/blocked.html
]]>
input60Google Safe Browsingclamav_safebrowsing
Google Safe Browsing.
Google Safe Browsing database includes information about websites that may be phishing sites or possible sources of malware. Note: This option consumes significant amount of RAM. Important: Set 'ClamAV Database Update' below to 'every 1 hours' if you want to use this feature!
]]>
checkboxClamAV Database Updateclamav_update
Select the desired frequency here.
Click the button to update AV databases now. Note: This will take a while. Check /var/log/clamav/freshclam.log for progress information.
]]>
select0Regional ClamAV Database Update Mirrorclamav_dbregionNote: It is strongly recommended to choose something here and/or configure your own mirrors manually below.
The default ClamAV database mirror performs extremely slow.
]]>
selectOptional ClamAV Database Update Serversclamav_dbservers
Note: For official update mirrors, use db.XY.clamav.net format. (Replace XY with your country code.) Note: Separate entries by semi-colons (;)
]]>
input60squidclamav.confraw_squidclamav_confsquidclamav.conf file. Edit only if you know what are you doing.textareabase648515c-icap.confraw_cicap_confc-icap.conf file. Edit only if you know what are you doing.textareabase648515c-icap.magicraw_cicap_magicc-icap.conf file. Edit only if you know what are you doing.textareabase648515freshclam.confraw_freshclam_conffreshclam.conf file. Edit only if you know what are you doing.textareabase648515clamd.confraw_clamd_confclamd.conf file. Edit only if you know what are you doing.textareabase648515
squid_print_antivirus_advanced_config();
squid_print_antivirus_advanced_config2();
squid_validate_antivirus($_POST, $input_errors);