squidantivirus 0.4.0 Proxy server: Antivirus /usr/local/pkg/squid.inc General /pkg_edit.php?xml=squid.xml&id=0 Remote Cache /pkg.php?xml=squid_upstream.xml Local Cache /pkg_edit.php?xml=squid_cache.xml&id=0 Antivirus /pkg_edit.php?xml=squid_antivirus.xml&id=0 ACLs /pkg_edit.php?xml=squid_nac.xml&id=0 Traffic Mgmt /pkg_edit.php?xml=squid_traffic.xml&id=0 Authentication /pkg_edit.php?xml=squid_auth.xml&id=0 Users /pkg.php?xml=squid_users.xml Real Time /squid_monitor.php Sync /pkg_edit.php?xml=squid_sync.xml enabled ClamAV Anti-Virus Integration Using C-ICAP listtopic Enable enable Enable Squid antivirus check using ClamAV. checkbox Client Forward Options client_info select both Enable Manual Configuration enable_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. ]]>
select disabled on_antivirus_advanced_config_changed()
Redirect URL clamav_url Leave empty to use the default Squid/pfSense WebGUI URL.
Example: http://proxy.example.com/blocked.html ]]>
input 60
Google Safe Browsing clamav_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! ]]>
checkbox
ClamAV Database Update clamav_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. ]]>
select 0
Regional ClamAV Database Update Mirror clamav_dbregion Note: It is strongly recommended to choose something here and/or configure your own mirrors manually below. The default ClamAV database mirror performs extremely slow. ]]> select Optional ClamAV Database Update Servers clamav_dbservers Note: For official update mirrors, use db.XY.clamav.net format. (Replace XY with your country code.)
Note: Separate entries by semi-colons (;) ]]>
input 60
squidclamav.conf raw_squidclamav_conf squidclamav.conf file. Edit only if you know what are you doing. textarea base64 85 15 c-icap.conf raw_cicap_conf c-icap.conf file. Edit only if you know what are you doing. textarea base64 85 15 c-icap.magic raw_cicap_magic c-icap.conf file. Edit only if you know what are you doing. textarea base64 85 15 freshclam.conf raw_freshclam_conf freshclam.conf file. Edit only if you know what are you doing. textarea base64 85 15 clamd.conf raw_clamd_conf clamd.conf file. Edit only if you know what are you doing. textarea base64 85 15
squid_print_antivirus_advanced_config(); squid_print_antivirus_advanced_config2(); squid_validate_antivirus($_POST, $input_errors);