2008-12-13 17:38:55 +01:00
|
|
|
Shorewall 4.3.3
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-13 21:45:23 +01:00
|
|
|
Notice:
|
|
|
|
|
|
|
|
There are two incompatible changes in this release.
|
|
|
|
|
|
|
|
1) Rather than square brackets ([]), addresses following an interface
|
|
|
|
name are now enclosed in angle brackets (<>). This change is made
|
|
|
|
to avoid confusion in the documentation with the meta characters
|
|
|
|
'[' and ']'.
|
|
|
|
|
|
|
|
2) Only those macros that have different contents in IPv6 are now
|
|
|
|
included in /usr/share/shorewall6/. As a consequence,
|
|
|
|
/usr/share/shorewall must be added to your CONFIG_PATH in
|
|
|
|
/etc/shorewall6/shorewall6.conf.
|
|
|
|
|
2008-12-07 19:17:26 +01:00
|
|
|
----------------------------------------------------------------------------
|
2008-12-11 00:24:55 +01:00
|
|
|
R E L E A S E 4 . 3 H I G H L I G H T S
|
2008-12-07 19:17:26 +01:00
|
|
|
----------------------------------------------------------------------------
|
2008-12-11 00:24:55 +01:00
|
|
|
1) Support is included for IPv6.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-13 16:49:48 +01:00
|
|
|
Minimun system requirements:
|
|
|
|
|
2008-12-14 03:06:59 +01:00
|
|
|
- Kernel 2.6.25 or later.
|
2008-12-13 16:49:48 +01:00
|
|
|
- iptables 1.4.0 or later with 1.4.1 strongly recommended.
|
|
|
|
- Perl 5.10 if you wish to use DNS names in your IPv6 config files.
|
|
|
|
In that case you will also have to install Perl Socket6 support.
|
|
|
|
|
2008-12-13 17:38:55 +01:00
|
|
|
Problems Corrected in 4.3.3
|
2008-12-11 20:24:34 +01:00
|
|
|
|
2008-12-14 21:03:49 +01:00
|
|
|
1) Previously, if IP6TABLES wasn't specified in shorewall6.conf, it
|
|
|
|
was set to iptables rather than ip6tables.
|
2008-12-13 16:49:48 +01:00
|
|
|
|
2008-12-13 17:38:55 +01:00
|
|
|
Other changes in 4.3.3
|
2008-12-13 16:49:48 +01:00
|
|
|
|
2008-12-13 17:38:55 +01:00
|
|
|
1) In as much as ip6tables doesn't support the ECN target, the 'ecn'
|
|
|
|
file has been removed and its processing disabled.
|
2008-12-11 20:24:34 +01:00
|
|
|
|
2008-12-13 17:38:55 +01:00
|
|
|
2) The 'maclist' option is now supported in /etc/shorewall6/interfaces
|
|
|
|
and in /etc/shorewall6/hosts.
|
2008-12-11 20:24:34 +01:00
|
|
|
|
2008-12-14 03:06:59 +01:00
|
|
|
The following IPv6 traffic is exempt from MAC validation:
|
2008-12-12 01:59:42 +01:00
|
|
|
|
2008-12-13 17:38:55 +01:00
|
|
|
a) Multicast.
|
|
|
|
b) Source or destination is a link-level address (ff80::/10).
|
2008-12-13 00:20:47 +01:00
|
|
|
|
2008-12-13 18:00:11 +01:00
|
|
|
3) Traffic shaping is now enabled in Shorewall6. See below.
|
|
|
|
|
2008-12-13 18:28:34 +01:00
|
|
|
4) Shorewall6 and Shorewall6 Lite now check the kernel version during
|
|
|
|
'start' processing. If the kernel version is less than 2.6.25, a
|
|
|
|
fatal error is generated.
|
|
|
|
|
2008-12-13 22:19:27 +01:00
|
|
|
5) The AllowICMPs macro has been converted to a standard action. This
|
|
|
|
allows for more efficient processing in the case where ipv6-icmp is
|
|
|
|
specified as the PROTO in the invocation of AllowICMPs.
|
|
|
|
|
|
|
|
e.g.,
|
|
|
|
|
|
|
|
AllowICMPs $FW net ipv6-icmp
|
|
|
|
|
2008-12-14 03:06:59 +01:00
|
|
|
6) A 'proxyndp' option has been added to
|
|
|
|
/etc/shorewall6/interfaces. The option is the IPv6 analog of the
|
|
|
|
'proxyarp' option in /etc/shorewall/interfaces.
|
|
|
|
|
2008-12-14 21:03:49 +01:00
|
|
|
7) Source anycast addresses defined by RFC 2526 are now trapped by
|
2008-12-14 03:06:59 +01:00
|
|
|
'nosmurfs'.
|
|
|
|
|
2008-12-14 21:03:49 +01:00
|
|
|
8) Manpages are now included for Shorewall6 and Shorewall6-lite.
|
2008-12-14 03:06:59 +01:00
|
|
|
|
2008-12-07 19:17:26 +01:00
|
|
|
Migration Issues.
|
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
None.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
New Features in Shorewall 4.3
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
1) Two new packages are included:
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
a) Shorewall6 - analagous to Shorewall-common but handles IPv6
|
|
|
|
rather than IPv4.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
b) Shorewall6-lite - analagous to Shorewall-lite but handles IPv6
|
|
|
|
rather than IPv4.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
The packages store their configurations in /etc/shorewall6/ and
|
|
|
|
/etc/shorewall6-lite/ respectively.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
The fact that the packages are separate from their IPv4 counterparts
|
|
|
|
means that you control IPv4 and IPv6 traffic separately (the same
|
|
|
|
way that Netfilter does). Starting/Stopping the firewall for one
|
|
|
|
address family has no effect on the other address family.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
Other features of Shorewall6 are:
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
a) There is no NAT of any kind (most people see this as a giant step
|
|
|
|
forward). When an ISP assigns you a public IPv6 address, you are
|
|
|
|
actually assigned an IPv6 'prefix' which is like an IPv4
|
2008-12-12 01:08:03 +01:00
|
|
|
subnet. A 64-bit prefix allows 4 billion squared individual hosts
|
|
|
|
(the size of the current IPv4 address space squared).
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
b) The default zone type is ipv6.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
c) The currently-supported interface options in Shorewall6 are:
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
blacklist
|
|
|
|
bridge
|
2008-12-12 17:08:20 +01:00
|
|
|
dhcp
|
2008-12-14 03:06:59 +01:00
|
|
|
nosmurfs (traps multicast and Subnet-router anycast addresses
|
|
|
|
used as the packet source address).
|
2008-12-11 00:24:55 +01:00
|
|
|
optional
|
|
|
|
routeback
|
|
|
|
sourceroute
|
|
|
|
tcpflags
|
|
|
|
mss
|
2008-12-12 01:59:42 +01:00
|
|
|
forward (setting it to 0 makes the router behave like a host
|
|
|
|
on that interface rather than like a router).
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
d) The currently-supported host options in Shorewall6 are:
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 00:24:55 +01:00
|
|
|
blacklist
|
|
|
|
routeback
|
|
|
|
tcpflags
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-13 18:00:11 +01:00
|
|
|
e) Traffic Shaping is disabled by default. The tcdevices and
|
|
|
|
tcclasses files are address-family independent so
|
|
|
|
to use the Shorewall builtin Traffic Shaper, TC_ENABLED=Internal
|
|
|
|
should be specified in Shorewall or in Shorewall6 but not in
|
|
|
|
both. In the configuration where the internal traffic shaper is
|
|
|
|
not enabled, CLEAR_TC=No should be specified.
|
|
|
|
|
|
|
|
tcfilters are not available in Shorewall6.
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
f) When both an interface and an address or address list need to
|
2008-12-11 00:24:55 +01:00
|
|
|
be specified in a rule, the address or list must be enclosed in
|
2008-12-13 21:45:23 +01:00
|
|
|
angle brackets. Example:
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-13 00:20:47 +01:00
|
|
|
#ACTION SOURCE DEST
|
2008-12-13 21:45:23 +01:00
|
|
|
ACCEPT net:eth0:<2001:19f0:feee::dead:beef:cafe> dmz
|
2008-12-07 19:17:26 +01:00
|
|
|
|
2008-12-11 20:24:34 +01:00
|
|
|
Note that this includes MAC addresses as well as IPv6 addresses.
|
|
|
|
|
|
|
|
The HOSTS column in /etc/shorewall6/hosts also uses this
|
|
|
|
convention:
|
|
|
|
|
2008-12-12 17:08:20 +01:00
|
|
|
#ZONE HOSTS OPTIONS
|
2008-12-13 21:45:23 +01:00
|
|
|
chat6 eth0:<2001:19f0:feee::dead:beef:cafe>
|
2008-12-12 17:08:20 +01:00
|
|
|
|
|
|
|
Even when an interface is not specified, it is permitted to
|
2008-12-13 21:45:23 +01:00
|
|
|
enclose addresses in <> to improve readability. Example:
|
2008-12-12 17:08:20 +01:00
|
|
|
|
|
|
|
#ACTION SOURCE DEST
|
2008-12-13 21:45:23 +01:00
|
|
|
ACCEPT net:<2001:1::1> $FW
|
2008-12-11 20:24:34 +01:00
|
|
|
|
2008-12-14 23:15:55 +01:00
|
|
|
g) The options available in shorewall6.conf are a subset of those
|
2008-12-11 00:24:55 +01:00
|
|
|
available in shorewall.conf.
|
2008-12-11 20:24:34 +01:00
|
|
|
|
2008-12-14 23:15:55 +01:00
|
|
|
h) The Socket6.pm Perl module is required if you include DNS names
|
2008-12-11 20:24:34 +01:00
|
|
|
in your Shorewall6 configuration. Note that it is loaded the
|
|
|
|
first time that a DNS name is encountered so if it is missing,
|
|
|
|
you get a message similar to this one:
|
|
|
|
|
|
|
|
...
|
|
|
|
Checking /etc/shorewall6/rules...
|
|
|
|
Can't locate Socket6.pm in @INC (@INC contains: /root ...
|
|
|
|
teastep@ursa:~/Configs/standalone6$
|