Shorewall-perl 3.9.0 This companion product to Shorewall 3.4.2 and later includes a complete rewrite of the compiler in Perl. Shorewall-perl depends on Shorewall (3.4.2 or later). So if you want to use the new compiler, you must install both Shorewall and Shorewall-perl. Even if you install Shorewall-perl, you have a choice of which compiler you use. The choice is specified in the shorewall.conf file so you can select the compiler to use on a system-by-system basis when running Shorewall Lite on remote systems. I decided to make Shorewall-perl a separate product for several reasons: a) Embedded applications are unlikely to adopt Shorewall-perl; even Mini-Perl has a substantial disk and Ram footprint. b) Because of the gross incompatibilities between the new compiler and the old (see below), migration to the new compiler must be voluntary. c) By allowing Shorewall-perl to co-exist with the current Shorewall stable release (3.4), I'm hoping that the new compiler will get more testing and validation than it would if I were to package it with a new development version of Shorewall itself. d) Along the same vein, I think that users will be more likely to experiment with the new compiler if they can easily fall back to the old one if things get sticky. The good news: a) The compiler is small. b) The compiler is very fast. c) The compiler generates a firewall script that uses iptables-restore; so the script is very fast. d) Use of the perl compiler is optional! The old slow clunky Bourne-shell compiler is still available. The bad news: There are a number of incompatibilities between the Perl-based compiler and the Bourne-shell one. Some of these will probably go away by first official release but some will not. a) The Perl-based compiler requires the following capabilities in your kernel and iptables. - addrtype match (may be relaxed later) - multiport match (will not be relaxed) These capabilities are in current distributions. b) The Bourne-shell compiler goes to great pain (in some cases) to break very long port lists ( > 15 where port ranges in lists count as two ports) into individual rules. In the new compiler, I'm avoiding the ugliness required to do that. The new compiler just gives you an error if your list is too long. It will also give you an error if you insert a port range into a port list and you don't have extended multiport support. Now that Netfilter has features to deal reasonably with port lists, I see no reason to duplicate those features in Shorewall. c) BRIDGING=Yes is not supported. The kernel code necessary to support this option was removed in Linux kernel 2.6.20. d) The BROADCAST column in the interfaces file is essentailly unused; if you enter anything in this column but '-' or 'detect', you will receive a warning. This will be relaxed if and when the addrtype match requirement is relaxed. e) Because the compiler is now written in Perl, your compile-time extension scripts from earlier versions will no longer work. f) The 'refresh' command is now synonamous with 'restart'. g) Some run-time extension scripts are no longer supported because they make no sense (iptables-restore instantiates the new configuration atomically). continue initdone continue refresh refreshed h) The /etc/shorewall/tos file now has zone-independent SOURCE and DEST columns as do all other files except the rules and policy files. The SOURCE column may be one of the following: [all:]
[,...] [all:]