I was implementing the port knocking changes for my conversion to the perl
version of shorewall and found the example on the site to have some
errors.
Here is the diff I have for that.
--- SSHKnock.orig 2007-08-01 16:34:00.000000000 -0400
+++ SSHKnock 2007-08-01 16:33:00.000000000 -0400
@@ -8,12 +8,12 @@
'',
$tag,
'add',
- '-p tcp --dport 22 -m recent --rcheck --name SSH );
+ '-p tcp --dport 22 -m recent --rcheck --name SSH' );
log_rule_limit( $level,
$chainref,
- 'SSHKnock'
- 'DROP'
+ 'SSHKnock',
+ 'DROP',
'',
$tag,
'add',--- SSHKnock.orig 2007-08-01 16:34:00.000000000 -0400
+++ SSHKnock 2007-08-01 16:33:00.000000000 -0400
@@ -8,12 +8,12 @@
'',
$tag,
'add',
- '-p tcp --dport 22 -m recent --rcheck --name SSH );
+ '-p tcp --dport 22 -m recent --rcheck --name SSH' );
log_rule_limit( $level,
$chainref,
- 'SSHKnock'
- 'DROP'
+ 'SSHKnock',
+ 'DROP',
'',
$tag,
'add',-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users