Discussion:
[Shorewall-users] Shorewall 5.0.13
Tom Eastep
2016-10-18 16:02:00 UTC
Permalink
Shorewall 5.0.13 is now available for download.

Problems Corrected:

1) This release contains defect repair from 5.0.12.1.

2) The compiler now detects shell metacharacters in interface names
defined in /etc/shorewall[6]/interfaces. Previously, such
characters could cause runtime failures in the generated script.

3) Previously, the compiler ignored DEST column entries in inline
mangle action bodies. That value is now used unless it is '-', in
which case the DEST column value in the action invocation is used.

New Features:

1) A 'disconnect' option has been added to the DYNAMIC_BLACKLIST
setting. The option is only accepted for ipset-based dynamic
blacklisting and requires that the 'conntrack' utility be
installed. See shorewall[6].conf(5) for details.

With this option, when an address is blackliseted using the
'blacklist' command, the conntrack utility is used to break all
connections from that address. If the 'src-dst' option is also
specified in the BLACKLIST setting, then all connections to the
address are also broken. If the effective VERBOSITY is greater than
0, then a messages is displayed that indicated the number of flows
deleted by the command. If the effective VERBOSITY is 2, the
conntrack entries delected by the command are also displayed.

This option is more efficient for packet processing than including
the ESTABLISHED state in the BLACKLIST setting.

2) A 'timeout' option has been added to the DYNAMIC_BLACKLIST setting.
The option is only accepted for ipset-based dynamic blacklisting
and causes entries in the blacklist ipset to be automatically
deleted if they are not matched within a specified time. See
shorewall[6].conf(5) for details.

3) A new FIREWALL option has been added to shorewall[6].conf. This
option is intended to be used on an admisitrative system in
configurations of remote firewalls. It defines the DNS name or IP
address of the remote system so that the system name does not have
to be given in the remote-start, remote-reload and remote-restart
commmands. See shorewall[6](8) for details.

4) Shorewall6 now allows more that one provider to specify the
'balance' or 'fallback' options.

5) When using port numbers (as opposed to service names), the hyphen
("-") is now accepted as the separator in port ranges. When service
names are used, the colon (":") must still be used.

Thank you for using Shorewall,

- -Tom and the rest of the Shorewall Team
- --
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
Steven Jan Springl
2016-10-21 21:16:03 UTC
Permalink
Tom

In Shorewall 5.0.13.1 the attached config. produces the following error
messages:

Compiling using Shorewall 5.0.13.1...

Creating iptables-restore input...

Use of uninitialized value $capability in hash element
at /usr/share/shorewall/Shorewall/Config.pm line 4937.

Use of uninitialized value $capability in hash element
at /usr/share/shorewall/Shorewall/Config.pm line 4924.

ERROR: Internal error in Shorewall::Config::detect_capability
at /usr/share/shorewall/Shorewall/Config.pm line 4926
at /usr/share/shorewall/Shorewall/Config.pm line 1466.

Shorewall::Config::fatal_error("Internal error in
Shorewall::Config::detect_capability at /us"...) called
at /usr/share/shorewall/Shorewall/Config.pm line 1506

Shorewall::Config::assert("") called
at /usr/share/shorewall/Shorewall/Config.pm line 4926

Shorewall::Config::detect_capability(undef) called
at /usr/share/shorewall/Shorewall/Config.pm line 4939

Shorewall::Config::have_capability(undef) called
at /usr/share/shorewall/Shorewall/Config.pm line 4551

Shorewall::Config::IPSet_Match_Counters() called
at /usr/share/shorewall/Shorewall/Config.pm line 4927

Shorewall::Config::detect_capability("IPSET_MATCH_COUNTERS") called
at /usr/share/shorewall/Shorewall/Config.pm line 4939

Shorewall::Config::have_capability("IPSET_MATCH_COUNTERS") called
at /usr/share/shorewall/Shorewall/Chains.pm line 8268

Shorewall::Chains::ensure_ipsets("blacklst") called
at /usr/share/shorewall/Shorewall/Chains.pm line 8348

Shorewall::Chains::create_save_ipsets() called
at /usr/share/shorewall/Shorewall/Compiler.pm line 370

Shorewall::Compiler::generate_script_3(":none:") called
at /usr/share/shorewall/Shorewall/Compiler.pm line 922

Shorewall::Compiler::compiler("script", "/var/lib/shorewall/.start",
"directory", "/etc/shorewall91", "verbosity", 1, "timestamp", 0,
"debug", ...) called at /usr/share/shorewall/compiler.pl line 142


Steven.
Tom Eastep
2016-10-22 00:09:40 UTC
Permalink
Post by Steven Jan Springl
Tom
In Shorewall 5.0.13.1 the attached config. produces the following
Compiling using Shorewall 5.0.13.1...
Creating iptables-restore input...
Use of uninitialized value $capability in hash element at
/usr/share/shorewall/Shorewall/Config.pm line 4937.
Use of uninitialized value $capability in hash element at
/usr/share/shorewall/Shorewall/Config.pm line 4924.
ERROR: Internal error in Shorewall::Config::detect_capability at
/usr/share/shorewall/Shorewall/Config.pm line 4926 at
/usr/share/shorewall/Shorewall/Config.pm line 1466.
Shorewall::Config::fatal_error("Internal error in
Shorewall::Config::detect_capability at /us"...) called at
/usr/share/shorewall/Shorewall/Config.pm line 1506
Shorewall::Config::assert("") called at
/usr/share/shorewall/Shorewall/Config.pm line 4926
Shorewall::Config::detect_capability(undef) called at
/usr/share/shorewall/Shorewall/Config.pm line 4939
Shorewall::Config::have_capability(undef) called at
/usr/share/shorewall/Shorewall/Config.pm line 4551
Shorewall::Config::IPSet_Match_Counters() called at
/usr/share/shorewall/Shorewall/Config.pm line 4927
Shorewall::Config::detect_capability("IPSET_MATCH_COUNTERS")
called at /usr/share/shorewall/Shorewall/Config.pm line 4939
Shorewall::Config::have_capability("IPSET_MATCH_COUNTERS") called
at /usr/share/shorewall/Shorewall/Chains.pm line 8268
Shorewall::Chains::ensure_ipsets("blacklst") called at
/usr/share/shorewall/Shorewall/Chains.pm line 8348
Shorewall::Chains::create_save_ipsets() called at
/usr/share/shorewall/Shorewall/Compiler.pm line 370
Shorewall::Compiler::generate_script_3(":none:") called at
/usr/share/shorewall/Shorewall/Compiler.pm line 922
Shorewall::Compiler::compiler("script",
"/var/lib/shorewall/.start", "directory", "/etc/shorewall91",
"verbosity", 1, "timestamp", 0, "debug", ...) called at
/usr/share/shorewall/compiler.pl line 142
Yes, I know. I have 5.0.13.2 ready to release.

Thanks,
- -Tom
- --
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
Continue reading on narkive:
Loading...