Shorewall 3.1.4 Note to users upgrading from Shorewall 2.x or 3.0 Most problems associated with upgrades come from two causes: - The user didn't read and follow the migration considerations in these release notes. - The user mis-handled the /etc/shorewall/shorewall.conf file during upgrade. Shorewall is designed to allow the default behavior of the product to evolve over time. To make this possible, the design assumes that you will not replace your current shorewall.conf file during upgrades. If you feel absolutely compelled to have the latest comments and options in your shorewall.conf then you must proceed carefully. While you are at it, if you have a file named /etc/shorewall/rfc1918 then please check that file. If it has addresses listed that are NOT in one of these three ranges, then please rename the file to /etc/shorewall/rfc1918.old. 10.0.0.0 - 10.255.255.255 172.16.0.0 - 172.31.255.255 192.168.0.0 - 192.168.255.255 Please see the "Migration Considerations" below for additional upgrade information. Problems Corrected in 3.1.4 1) "shorewall check" generated an error if there were entries in /etc/shorewall/massq. 2) Bridging now works. 3) The handling of the QUEUE target in the ESTABLISHED section has been corrected. Previously, the "--syn" option was being added unconditionally to rules with the QUEUE target with the result that no TCP packets in the ESTABLISHED state would be sent to QUEUE. New Features added in 3.1.4 1) The /etc/shorewall/maclist file has a new column layout. The first column is now DISPOSITION. This column determines what to do with matching packets and can have the value ACCEPT or DROP (if MACLIST_TABLE=filter, it can also contain REJECT). This change is upward compatible so your existing maclist file can still be used. ACCEPT, DROP and REJECT may be optionally followed by a log level to cause the packet to be logged. 2) Shorewall has always been very noisy (lots of messages). No more. You set the default level of verbosity using the VERBOSITY option in shorewall.conf. If you don't set it (as would be the case of you use your old shorewall.conf file) then VERBOSITY defaults to a value of 2 which is the old default. A value of 1 suppresses some of the output (like the old -q option did) while a value of 0 makes Shorewall almost silent. The value specified in the 3.2 shorewall.conf is 1. So you can make Shorewall as verbose as previously using a single -v and you can make it silent by using a single -q. If the default is set at 2, you can still make a command silent by using two "q"s (e.g., shorewall -qq restart). In summary, each "q" subtracts one from VERBOSITY while each "v" adds one to VERBOSITY. The "shorewall show log", "shorewall logwatch" and "shorewall dump" commands require VERBOSE to be greater than or equal to 3 to display MAC addresses.This is consistent with the previous implementation which required a single -v to enable MAC display but means that if you set VERBOSITY=0 in shorewall.conf, then you will need to include -vvv in commands that display log records in order to have MACs displayed. 3) Shorewall now implements 'start' and 'restart' using a "compile and go" approach. See the details under the first new feature below. 4) The "-p" option to the 'compile' command is gone. Generation of a complete program is now the default. Migration Considerations: 1) A number of macros have been split into two. The macros affected are: IMAP LDAP NNTP POP3 SMTP Each of these macros now handles only traffic on the native (plaintext) port. There is a corresponding macro with S added to the end of the name for the SSL version of the same protocol. Thus each macro results in the insertion of only one port per invocation. The Web macro has not been split, but two new macros, HTTP and HTTPS have been created. The Web macro is deprecated in favour of these new macros, and may be removed from future Shorewall releases. These changes have been made to ensure no unexpected ports are opened due to the use of macros. New Features: 1) A new 'shorewall generate' command has been added. shorewall generate [ -v ] [ -q ] [ -e ] [ ]