diff options
author | gjb <gjb@FreeBSD.org> | 2016-02-10 04:20:39 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2016-02-10 04:20:39 +0000 |
commit | e4997c6184529300b3b432e327408ba7c6a89645 (patch) | |
tree | dd2cd280a89cea2613f7d2fe2aa809df60be2202 /etc/periodic | |
parent | a0704b17a25ad1293d5072f4989e7e093d5d3782 (diff) | |
parent | 836d9f18d80e26f5835a3bdacc2ed3a407df2d73 (diff) | |
download | FreeBSD-src-e4997c6184529300b3b432e327408ba7c6a89645.zip FreeBSD-src-e4997c6184529300b3b432e327408ba7c6a89645.tar.gz |
MFH
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'etc/periodic')
-rwxr-xr-x | etc/periodic/security/520.pfdenied | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/security/520.pfdenied b/etc/periodic/security/520.pfdenied index 3fea360..f2f9e8a 100755 --- a/etc/periodic/security/520.pfdenied +++ b/etc/periodic/security/520.pfdenied @@ -44,7 +44,7 @@ rc=0 if check_yesno_period security_status_pfdenied_enable then TMP=`mktemp -t security` - if pfctl -sr -v 2>/dev/null | nawk '{if (/^block/) {buf=$0; getline; gsub(" +"," ",$0); if ($5 > 0) print buf$0;} }' > ${TMP}; then + if pfctl -sr -v -z 2>/dev/null | nawk '{if (/^block/) {buf=$0; getline; gsub(" +"," ",$0); if ($5 > 0) print buf$0;} }' > ${TMP}; then check_diff new_only pf ${TMP} "${host} pf denied packets:" fi rc=$? |