Page MenuHomeFreeBSD

D4068.1790800526.diff
No OneTemporary

Size
641 B
Referenced Files
None
Subscribers
None

D4068.1790800526.diff

Index: head/etc/periodic/security/520.pfdenied
===================================================================
--- head/etc/periodic/security/520.pfdenied
+++ head/etc/periodic/security/520.pfdenied
@@ -44,7 +44,7 @@
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); print buf$0;} }' > ${TMP}; then
+ if pfctl -sr -v 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=$?

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 30, 8:35 PM (13 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30046610
Default Alt Text
D4068.1790800526.diff (641 B)

Event Timeline