Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107199487
D5172.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
656 B
Referenced Files
None
Subscribers
None
D5172.diff
View Options
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); 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=$?
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 1:45 PM (20 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15769844
Default Alt Text
D5172.diff (656 B)
Attached To
Mode
D5172: Zero pf rule counters so that each daily report lists an absolute number of rejected packets, not the total since the last time the machine rebooted (or the counters were manually cleared).
Attached
Detach File
Event Timeline
Log In to Comment