aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDennis Neuhaeuser <dn@arbor.de>2015-04-11 21:56:46 +0200
committerDennis Neuhaeuser <dn@arbor.de>2015-04-11 21:56:46 +0200
commita91d24350c263e153f8f577fbc23b56b65b84062 (patch)
tree428fce7ded7cead05b39f5917fc00eb7efc34259 /config
parenta9c38e6a1977a1a5359f5bd9d244912830ab2541 (diff)
downloadpfsense-packages-a91d24350c263e153f8f577fbc23b56b65b84062.tar.gz
pfsense-packages-a91d24350c263e153f8f577fbc23b56b65b84062.tar.bz2
pfsense-packages-a91d24350c263e153f8f577fbc23b56b65b84062.zip
write additional virus.log file
this writes a logfile when a virus was found
Diffstat (limited to 'config')
-rw-r--r--config/squid3/34/squid_clwarn.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/squid3/34/squid_clwarn.php b/config/squid3/34/squid_clwarn.php
index 0bd97d58..8de016f3 100644
--- a/config/squid3/34/squid_clwarn.php
+++ b/config/squid3/34/squid_clwarn.php
@@ -56,6 +56,7 @@ $vr[1]="";
$virus = preg_replace($vp,$vr,$virus);
+error_log(date("Y-m-d H:i:s")." | VIRUS FOUND | ".$virus." | ".$url." | ".$source." | ".$user."\n", 3, "/var/log/c-icap/virus.log");
?>
<style type="text/css">