ENH: port optional

pull/344/head
Daniel Black 2013-08-31 11:07:15 +10:00
parent 8b22fa15b5
commit 749f215089
1 changed files with 2 additions and 2 deletions

View File

@ -44,12 +44,12 @@ actionban = ipfw add <rulenum> set <setnum> <blocktype> log <block> from <ip> to
# Tags: <ip> IP address # Tags: <ip> IP address
# Values: CMD # Values: CMD
# #
actionunban = ipfw delete `ipfw list | sed -n '/^\([0-9]*\) set <setnum> <blocktype> log <block> from <ip> to <dst> <port>$/s//\1/p'` actionunban = ipfw delete `ipfw list | sed -n '/^\([0-9]*\) set <setnum> <blocktype> log <block> from <ip> to <dst> ?<port>$/s//\1/p'`
[Init] [Init]
# Option: port # Option: port
# Notes.: specifies port to block # Notes.: specifies port to block. Can be blank however may require block="ip"
# Values: [ NUM | STRING ] # Values: [ NUM | STRING ]
# #
port = ssh port = ssh