DOC: document ufw a bit more. Change insertpos default to 1 to allow it to work if the user run ufw enable

pull/489/head
Daniel Black 2013-12-14 00:40:47 +00:00
parent f35345ecaa
commit 1ff52dfe4d
1 changed files with 10 additions and 3 deletions

View File

@ -1,7 +1,9 @@
# Fail2Ban action configuration file for ufw # Fail2Ban action configuration file for ufw
# #
# Author: Guilhem Lettron # You are required to run "ufw enable" before this will have an effect.
# Enhancements: Daniel Black #
# The insert position should be approprate to block the required traffic.
# A number after an allow rule to the application won't be much use.
[Definition] [Definition]
@ -18,7 +20,7 @@ actionunban = [ -n "<application>" ] && app="app <application>" ; ufw delete <bl
[Init] [Init]
# Option: insertpos # Option: insertpos
# Notes.: The postition number in the firewall list to insert the block rule # Notes.: The postition number in the firewall list to insert the block rule
insertpos = 2 insertpos = 1
# Option: blocktype # Option: blocktype
# Notes.: reject or deny # Notes.: reject or deny
@ -31,3 +33,8 @@ destination = any
# Option: application # Option: application
# Notes.: application from sudo ufw app list # Notes.: application from sudo ufw app list
application = application =
# DEV NOTES:
#
# Author: Guilhem Lettron
# Enhancements: Daniel Black