Tom Eastep wrote on 18/05/2007 11:22:02:
> Eduardo Ferreira wrote:
> >
[...]
>
> Eduardo,
>
> Please read the release notes. All compile-time extension scripts must
be
> recoded to work with Shorewall-perl
>
> -Tom
Tom,
I've changed my extension script to:
# regras para bloquear solicitações NTP das máquinas conectadas à conspira
add_rule $chainref, '-s 172.16.243.0/24 -p udp --dport 123 -j DROP';
1;
Now I'm getting this error:
Processing /etc/shorewall/extensions/ict2fw...
Useless use of a constant in void context at (eval 6) line 2.
ERROR: Couldn't parse /etc/shorewall/extensions/ict2fw: Can't call
method "add_rule" on unblessed reference at (eval 6) line 2.
Did I miss something here?
tia,
--
Eduardo Ferreira
Icatu Holding S.A.
(21) 3804-8606
-------------------------------------------------------------------------
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