|
|
|
@ -13,7 +13,7 @@ $OUT .=<<"EOF"; |
|
|
|
|
enabled = true |
|
|
|
|
filter = apache-overflows |
|
|
|
|
logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " smeserver-sendmail[name=\"Apache (overflows)\",dest=$maildest]\n" |
|
|
|
@ -25,7 +25,7 @@ $OUT .=<<"EOF"; |
|
|
|
|
enabled = true |
|
|
|
|
filter = apache-noscript |
|
|
|
|
logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " smeserver-sendmail[name=\"Apache (noscript)\",dest=$maildest]\n" |
|
|
|
@ -37,7 +37,7 @@ $OUT .=<<"EOF"; |
|
|
|
|
enabled = true |
|
|
|
|
filter = apache-scan |
|
|
|
|
logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " smeserver-sendmail[name=\"Apache (scan)\",dest=$maildest]\n" |
|
|
|
@ -49,7 +49,7 @@ $OUT .=<<"EOF"; |
|
|
|
|
enabled = true |
|
|
|
|
filter = apache-auth |
|
|
|
|
logpath = /var/log/httpd/error_log |
|
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
action = smeserver-iptables[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
$OUT .= " smeserver-sendmail[name=\"Apache (auth)\",dest=$maildest]\n" |
|
|
|
|