I upgraded my shorewall to Perl 4.004 by recompiling Simon''s rpms on CentOS 5 (from a late 3 version). My old rule: ACCEPT net $FW tcp 22 - - 4/min:8 resulted in the following error message: Compiling /etc/shorewall/rules... ERROR: Invalid rate (4/min:8) : /etc/shorewall/rules (line 25) If I change the rule to: ACCEPT net $FW tcp 22 - - 4/sec:8 there is no error. What''d I do wrong? I''d like to limit to 4 per minute, which the docs seem to indicate is doable. -- Sincerely, John Thomas ------------------------------------------------------------------------- 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/
John Thomas wrote:> I upgraded my shorewall to Perl 4.004 by recompiling Simon''s rpms on > CentOS 5 (from a late 3 version). > > My old rule: > ACCEPT net $FW tcp 22 - - 4/min:8 > resulted in the following error message: > Compiling /etc/shorewall/rules... > ERROR: Invalid rate (4/min:8) : /etc/shorewall/rules (line 25) > > If I change the rule to: > ACCEPT net $FW tcp 22 - - 4/sec:8 > there is no error. What''d I do wrong? I''d like to limit to 4 per > minute, which the docs seem to indicate is doable. >There''s a fix available. See http://www1.shorewall.net/pub/shorewall/4.0/shorewall-4.0.0/known_problems.txt item number 7. -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/