|
|
@ -16,7 +16,7 @@ logpath = /var/log/httpd/error_log |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (overflows)",dest=$maildest]\n" |
|
|
|
$OUT .= " sendmail[name=\"Apache (overflows)\",dest=$maildest]\n" |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
$OUT .=<<"EOF"; |
|
|
@ -28,7 +28,7 @@ logpath = /var/log/httpd/error_log |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (noscript)",dest=$maildest]\n" |
|
|
|
$OUT .= " sendmail[name=\"Apache (noscript)\",dest=$maildest]\n" |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
$OUT .=<<"EOF"; |
|
|
@ -40,7 +40,7 @@ logpath = /var/log/httpd/error_log |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (scan)",dest=$maildest]\n" |
|
|
|
$OUT .= " sendmail[name=\"Apache (scan)\",dest=$maildest]\n" |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
$OUT .=<<"EOF"; |
|
|
@ -52,6 +52,6 @@ logpath = /var/log/httpd/error_log |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
action = smeserver[port="$port",protocol=tcp,bantime=$bantime] |
|
|
|
EOF |
|
|
|
EOF |
|
|
|
|
|
|
|
|
|
|
|
$OUT .= " sendmail[name="Apache (auth)",dest=$maildest]\n" |
|
|
|
$OUT .= " sendmail[name=\"Apache (auth)\",dest=$maildest]\n" |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
if ($mail eq 'enabled'); |
|
|
|
} |
|
|
|
} |
|
|
|