Eduardo Ferreira wrote: > > If I create the extension script /etc/shorewall/extension/ict2fw (ict is > my local zone) with this: > > # > # > run_iptables -I eth1_in -s 172.16.243.0/24 -p udp --dport 123 -j DROP > > shorewall-perl gives the following error: > Applying Policies... > Unquoted string "udp" may clash with future reserved word at (eval 6) > line 6. > Bareword found where operator expected at (eval 6) line 6, near "--dport" > (Missing operator before dport?) > Number found where operator expected at (eval 6) line 6, near "dport 123" > (Do you need to predeclare dport?) > ERROR: Couldn't parse /etc/shorewall/ict2fw: syntax error at (eval 6) > line 6, near "24 -p " > > shorewall-shell doesn't complain but does not seems to execute the > extension script.
Eduardo, Please read the release notes. All compile-time extension scripts must be recoded to work with Shorewall-perl -Tom -- Tom Eastep \ Nothing is foolproof to a sufficiently talented fool Shoreline, \ http://shorewall.net Washington USA \ [EMAIL PROTECTED] PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
