Tom Eastep <[EMAIL PROTECTED]> wrote: | Tom Eastep wrote: | > mess-mate wrote: | > | >> The fault is here: /etc/init.d/shorewall ( debian ). | >> When i do a '/etc/init.d/shorewall stop' or /etc/init.d/shorewall | >> start', the message is there ! | >> | >> But a 'shorewall stop' or 'shorewall start', there is no message. | >> Here i call directly /sbin/shorewall and not /etc/init.d/shorewall ! | >> | >> Here is the shorewall file called on boot. | > | > The following is the problem: | > | >> # parse the shorewall params file in order to use params in | >> # /etc/default/shorewall | >> if [ -f "/etc/shorewall/params" ] | >> then | >> . /etc/shorewall/params | >> fi | > | > That bit of code works fine if the params file contains just simple | > assignment statements. But if, as in your case, the params file contains | > calls to shorewall library function, then the 'not found' message is emitted. | > | > You can eliminate the problem by adding this code at the top of your | > /etc/shorewall/params file: | > | > [ -n "$SHOREWALL_LIBVERSION" ] && . /usr/share/shorewall/functions | | That of course should have been: | | [ -n "$SHOREWALL_LIBVERSION" ] || . /usr/share/shorewall/functions | Thanks Tom, it did the trick; no more 'not found' message. Maybe it would be usefull to add it to the FAQ, do it ?
I continue searching why the connection is refused and i suspect a squid (proxy)/shorewall configuration. The message a receive when i try to connect to my webpage on the dmz: While trying to retrieve the URL: http://86.192.102.89/ The following error was encountered: * Connection to 86.192.102.89 Failed The system returned: (111) Connection refused The remote host or network may be down. Please try the request again. Generated Mon, 09 Apr 2007 07:15:09 GMT by router.laplaceverte.fr (squid/2.6.STABLE5) Seems the connection try to pass through the proxy(? squid) ? mess-mate -- You will be married within a year, and divorced within two. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
