Shorewall fails to start at boot and when restarting it doesn't apply the REDIRECT rule: REDIRECT local 3128 tcp www Reproducible: Always Steps to Reproduce: 1. put "REDIRECT local 3128 tcp www" in /etc/shorewall/rules 2. shorewall restart 3. Actual Results: ... Initializing... Processing /etc/shorewall/init ... Setting up ARP filtering... Setting up Route Filtering... Setting up Martian Logging... Setting up Accept Source Routing... Setting up Proxy ARP... Setting up Traffic Control... Preparing iptables-restore input... Running /sbin/iptables-restore... iptables-restore v1.4.2: conntrack: Bad value for "--ctorigdstport" option: "www" Error occurred at line: 165 Try `iptables-restore -h' or 'iptables-restore --help' for more information. ERROR: iptables-restore Failed. Input is in /var/lib/shorewall/.iptables-restore-input Processing /etc/shorewall/stop ... IP Forwarding Enabled Processing /etc/shorewall/stopped ... /sbin/shorewall: line 742: 15533 Terminated $SHOREWALL_SHELL ${VARDIR}/.restart $debugging restart Expected Results: ... Initializing... Processing /etc/shorewall/init ... Setting up ARP filtering... Setting up Route Filtering... Setting up Martian Logging... Setting up Accept Source Routing... Setting up Proxy ARP... Setting up Traffic Control... Preparing iptables-restore input... Running /sbin/iptables-restore... Setting up dynamic rules... IP Forwarding Enabled Processing /etc/shorewall/start ... Processing /etc/shorewall/started ... done.
(In reply to comment #0) > REDIRECT local 3128 tcp www What is the output of grep www /etc/services ? Does "REDIRECT local 3128 tcp 80" yield the same error?
should be fixed in Shorewall-perl 4.2.5.2 please see http://bugs.gentoo.org/show_bug.cgi?id=257895
shorewall-perl-2.4.6 was added to the tree. Thank you Vieri for squashing this bug and thank you dulios for report.