FreeBSD Bugzilla – Attachment 165917 Details for
Bug 206467
520.pfdenied does not reset counters every day
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
520.pfdenied patch to add -z flag
520.pfdenied.patch.txt (text/plain), 766 bytes, created by
Rick Adams
on 2016-01-21 14:35:19 UTC
(
hide
)
Description:
520.pfdenied patch to add -z flag
Filename:
MIME Type:
Creator:
Rick Adams
Created:
2016-01-21 14:35:19 UTC
Size:
766 bytes
patch
obsolete
>*** 520.pfdenied Wed Jan 20 18:00:23 2016 >--- 520.pfdenied.new Wed Jan 20 18:00:45 2016 >*************** >*** 44,50 **** > 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 > check_diff new_only pf ${TMP} "${host} pf denied packets:" > fi > rc=$? >--- 44,50 ---- > if check_yesno_period security_status_pfdenied_enable > then > TMP=`mktemp -t security` >! if pfctl -sr -z -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=$?
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 206467
: 165917