On Sunday 06 May 2007 23:27, Tom Eastep wrote:
> Steven Jan Springl wrote:
> > Tom
> >
> > Two more issues with entries in the host file.
> >
> > Zones entries
> >
> > fw   firewall
> > lan  ipv4
> > wan ipv4
> >
> > Interface entry:
> >
> > -  eth0 -
> >
> > The host file is attached.
> >
> > When this is compiled with shorewall-perl, the following error is
> > produced:
> >
> > Not an ARRAY reference at /usr/share/shorewall-perl/Shorewall/Rules.pm
> > line 1420.
> >
> >
> >
> > The second issue.
> >
> > If the last entry in the attached host file is commented out, the
> > following error is produced:
> >
> > Can't use string ("1") as a HASH ref while "strict refs" in use
> > at /usr/share/shorewall-perl/Shorewall/Chains.pm line 330.
> >
> >
> > Note; if 'ipsec' is removed from the first entry in the host file,
> > neither error is produced.
>
> These problems seem corrected in revision 6259.
>
> Thanks, Steven,
>
> -Tom

Tom

The first host file configuration above with all 3 entries present, generates 
the following iptables rule:

-A eth0_fwd -s 192.168.0.0/24-m policy --dir in --pol ipsec -j 
HASH(0x8345924)->n{name} 

which produces the following error:

Bad argument 'policy'

Steven.

-------------------------------------------------------------------------
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

Reply via email to