when starting/restarting shorewall - with a newer perl version from perl-experimental (5.12.0_rc2) - I get the following warning. Use of uninitialized value $Shorewall::Config::config{"RFC1918_STRICT"} in lc at /usr/share/shorewall/Shorewall/Config.pm line 1714. Reproducible: Always
Same issue for me on ~amd64.
Please try shorewall-4.4.10 which is already in portage. You could also request a version bump for 4.4.12.2 which is already available upstream. If the problem persists then it would be best to report the bug to the Shorewall mailing list so it gets fixed upstream (I don't use perl-experimental and since it's from an overlay you may need to work it out with the author).
still in 4.4.10 /etc/init.d/shorewall restart * Caching service dependencies ... [ ok ] * Stopping squid ... * Waiting for squid to shutdown ................ [ ok ] * Stopping privoxy ... [ ok ] * Stopping firewall ... [ ok ] * Starting firewall ... Use of uninitialized value $Shorewall::Config::config{"RFC1918_STRICT"} in lc at /usr/share/shorewall/Shorewall/Config.pm line 1902. Use of uninitialized value $Shorewall::Config::config{"REQUIRE_INTERFACE"} in lc at /usr/share/shorewall/Shorewall/Config.pm line 1902.
just add these two lines to your shorewall.conf RFC1918_STRICT=No REQUIRE_INTERFACE=No this fixes the errors.
This is fixed in newer versions of shorewall.