diff options
| author | Maxim Konovalov <maxim@FreeBSD.org> | 2005-09-11 14:29:58 +0000 |
|---|---|---|
| committer | Maxim Konovalov <maxim@FreeBSD.org> | 2005-09-11 14:29:58 +0000 |
| commit | 17793b6ae54f0abded549cdd30298c1e7433d1c7 (patch) | |
| tree | 7cf49c9c02834f9e2c0ac9e560b6f5d022c0be34 /etc/periodic/security | |
| parent | 5ad14b759de3a01a1d8e4e8c34444f451c1aeb9e (diff) | |
Notes
Diffstat (limited to 'etc/periodic/security')
| -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 4e5d89e2e59d6..6c2e1a04014ad 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" \ |
