diff options
author | Renato Botelho <renato@netgate.com> | 2016-10-19 12:29:10 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-10-19 12:29:10 -0200 |
commit | 02fa2d6083daaf327638f8e0fb9aa0be9bff743a (patch) | |
tree | 0552dcf115d54bfc7426ba7339d13bf975963cb9 /etc | |
parent | cb642130dfc50717bb970a104c44aa7690930a38 (diff) | |
parent | 3311d8689070efe9e08ded9ba391646ed81fe884 (diff) | |
download | FreeBSD-src-02fa2d6083daaf327638f8e0fb9aa0be9bff743a.zip FreeBSD-src-02fa2d6083daaf327638f8e0fb9aa0be9bff743a.tar.gz |
Merge remote-tracking branch 'origin/stable/11' into devel-11
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/periodic/security/520.pfdenied | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/periodic/security/520.pfdenied b/etc/periodic/security/520.pfdenied index 850c10d..e3021ce 100755 --- a/etc/periodic/security/520.pfdenied +++ b/etc/periodic/security/520.pfdenied @@ -44,8 +44,7 @@ rc=0 if check_yesno_period security_status_pfdenied_enable then TMP=`mktemp -t security` - touch ${TMP} - for _a in "" blacklistd + for _a in "" $(pfctl -a "blacklistd" -sA 2>/dev/null) do pfctl -a ${_a} -sr -v -z 2>/dev/null | \ nawk '{if (/^block/) {buf=$0; getline; gsub(" +"," ",$0); if ($5 > 0) print buf$0;} }' >> ${TMP} |