Hello,

I'm facing a strange problem...

ns300321:/etc/shorewall# shorewall safe-start
Compiling...
Opening /proc/modules: No such file or directory
Compiling /etc/shorewall/zones...
Compiling /etc/shorewall/interfaces...
Determining Hosts in Zones...
Preprocessing Action Files...
   Pre-processing /usr/share/shorewall/action.Drop...
   Pre-processing /usr/share/shorewall/action.Reject...
Compiling /etc/shorewall/policy...
Compiling /etc/shorewall/blacklist...
Adding Anti-smurf Rules
Compiling /usr/share/shorewall/rfc1918...
Compiling TCP Flags filtering...
Compiling Kernel Route Filtering...
Compiling Martian Logging...
Compiling /etc/shorewall/tos...
   ERROR: Unknown Interface (wan) : /etc/shorewall/tos (line 9)

If i switch to shorewall-shell, everything works fine.
It seems that zones are not read at the good time...

ns300321:/etc/shorewall# shorewall status
Shorewall-4.0.1 Status at ns300321.ovh.net - samedi 4 août 2007, 
01:09:51 (UTC+0200)

Shorewall is running
State:Started (samedi 4 août 2007, 01:09:23 (UTC+0200))

ns300321:/etc/shorewall# more zones
#
# Shorewall version 4 - Zones File
#
# For information about this file, type "man shorewall-zones"
#
# For more information, see http://www.shorewall.net/Documentation.htm#Zones
#
###############################################################################
#ZONE   TYPE            OPTIONS         IN                      OUT
#                                       OPTIONS                 OPTIONS
fw      firewall
wan     ipv4
#LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE

ns300321:/etc/shorewall# more tos
#
# Shorewall version 3.4 - Tos File
#
# For information about entries in this file, type "man shorewall-tos"
#
###############################################################################
#SOURCE         DEST            PROTOCOL        SOURCE  DEST    TOS
#                                               PORTS   PORTS
fw              wan             tcp             22      -       16
fw              wan             tcp             3306    -       16
fw              wan             tcp             80      -       2
#LAST LINE -- Add your entries above -- DO NOT REMOVE


Could you check everything is fine in the source code?

Best regards.
Jerome Blion.


-------------------------------------------------------------------------
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/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to