diff options
| author | Maxim Konovalov <maxim@FreeBSD.org> | 2005-09-13 14:34:11 +0000 |
|---|---|---|
| committer | Maxim Konovalov <maxim@FreeBSD.org> | 2005-09-13 14:34:11 +0000 |
| commit | d0cc4304b3914f003d78593cd1542db9a769f5b4 (patch) | |
| tree | 629e75787484129ac5386be1001635ae733e4540 | |
| parent | f6627cfe95cec9d622a2cafee2a4e37d79b5b020 (diff) | |
Notes
| -rwxr-xr-x | etc/periodic/security/550.ipfwlimit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/security/550.ipfwlimit b/etc/periodic/security/550.ipfwlimit index 4e5d89e2e59d..6c2e1a04014a 100755 --- a/etc/periodic/security/550.ipfwlimit +++ b/etc/periodic/security/550.ipfwlimit @@ -42,11 +42,11 @@ rc=0 case "$daily_status_security_ipfwlimit_enable" in [Yy][Ee][Ss]) - TMP=`mktemp -t security` IPFW_LOG_LIMIT=`sysctl -n net.inet.ip.fw.verbose_limit 2> /dev/null` if [ $? -ne 0 ]; then exit 0 fi + TMP=`mktemp -t security` ipfw -a list | grep " log " | \ grep '^[[:digit:]]\+[[:space:]]\+[[:digit:]]\+' | \ awk -v limit="$IPFW_LOG_LIMIT" \ |
