diff options
author | maxim <maxim@FreeBSD.org> | 2005-09-11 14:29:58 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2005-09-11 14:29:58 +0000 |
commit | e6775c1a34a13801cb165cfc748bfd9e9059757b (patch) | |
tree | 7cf49c9c02834f9e2c0ac9e560b6f5d022c0be34 /etc/periodic | |
parent | fedf7d75e893efe03cfee5e9be072bfe25f43d72 (diff) | |
download | FreeBSD-src-e6775c1a34a13801cb165cfc748bfd9e9059757b.zip FreeBSD-src-e6775c1a34a13801cb165cfc748bfd9e9059757b.tar.gz |
A new version of rev. 1.4: postpone a temporary file creation
until we realize if ipfw(4) ever used.
PR: bin/85970
Submitted by: Andre Albsmeier
MFC after: 3 days
Diffstat (limited to 'etc/periodic')
-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 4e5d89e..6c2e1a0 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" \ |