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.

Steven
#
# Shorewall version 3.4 - Hosts file
#
# For information about entries in this file, type "man shorewall-hosts"
#
# For additional information, see http://shorewall.net/Documentation.htm#Hosts
#
###############################################################################
#ZONE   HOST(S)                                 OPTIONS
lan     eth0:192.168.0.0/24                     ipsec
wan     
eth0:192.168.0.0/24,192.168.100.0/24!192.168.100.2/30,84.45.0.0/16,100.10.0.0:100.10.1.16
lan     eth0:192.168.0.0/24!192.168.0.10
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS LINE -- DO NOT REMOVE
-------------------------------------------------------------------------
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