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'',
-------------------------------------------------------------------------
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/
Philip S. Hempel wrote:> 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.Thanks, -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ teastep@shorewall.net PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key ------------------------------------------------------------------------- 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/