Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157764850
D8082.id21045.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
540 B
Referenced Files
None
Subscribers
None
D8082.id21045.diff
View Options
Index: etc/periodic/security/520.pfdenied
===================================================================
--- etc/periodic/security/520.pfdenied
+++ etc/periodic/security/520.pfdenied
@@ -44,8 +44,7 @@
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}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, May 25, 11:07 PM (3 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33518471
Default Alt Text
D8082.id21045.diff (540 B)
Attached To
Mode
D8082: Make 502.pfdenied find blacklistd/* filter names dynamically
Attached
Detach File
Event Timeline
Log In to Comment