aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-05-05 12:44:00 +0800
committerAaron LI <aly@aaronly.me>2018-05-05 12:44:00 +0800
commitb01d6d0711e08685f4f95e22d9e5a85ba98c8f72 (patch)
tree825c54118553bdefb018d1d54a3134f835028f72
parent9625bb6d5996e84827140e37d5f93a0f371dc8e6 (diff)
downloadansible-dfly-vps-b01d6d0711e08685f4f95e22d9e5a85ba98c8f72.tar.bz2
security/clean-pf: log cleaned ip address
-rw-r--r--roles/security/files/600.clean-pf2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/security/files/600.clean-pf b/roles/security/files/600.clean-pf
index d7ab0e6..9ecf42c 100644
--- a/roles/security/files/600.clean-pf
+++ b/roles/security/files/600.clean-pf
@@ -16,7 +16,7 @@ case "$daily_clean_pf_enable" in
: ${daily_clean_pf_expire:=86400}
for table in $daily_clean_pf_tables; do
echo "Cleanup table $table ..."
- pfctl -t $table -T expire $daily_clean_pf_expire
+ pfctl -v -t $table -T expire $daily_clean_pf_expire
rc=$?
done
;;