Thanks for the release Tom,
I forgot one thing though(sorry):
Configure.pl script:
In the unless ( -f $rcfilename ) { on line 101:
The else clause was not including the if statement; simply moved the
} to the end of that if statement.
--
The line 'if ( readlink '/sbin/init') ...'
was missing the (); change to:
if ( readlink('/sbin/init') =~ ...
--
Also in that if statement the 'shorewallrc' was missing from the
value of the variable rcfilename; changed to:
$rcfilename='shorewallrc.debian.systemd'
Changes attached as configure-pl1.patch
-Matt
On 9 Dec 2015 at 12:15, Tom Eastep wrote:
> Shorewall 4.6.13.3 is now available for download. It includes backports
> of some fixes and features from the Shorewall 5.0 series releases.
>
> Problems Corrected:
>
> 1) Previously, Shorewall6 rejected rules in which the SOURCE contained
> both an interface name and a MAC address (in Shorewall
> format). That defect has been corrected so that such rules are now
> accepted.
>
> 2) A number of corrections have been made to the install, uninstall
> and configure scripts (Matt Darfeuille).
>
> 3) Previously, optional interfaces were not enabled during 'start' and
> 'restart' unless there was at least one entry in the 'providers'
> file. This resulted in these interfaces not appearing in the
> output of 'shorewall[6] status -i'.
>
> 4) The check for use of a circular kernel log buffer (as opposed to a
> log file) has been improved.
>
> 5) Previously, if a circular log buffer was being used, the output of
> various commands still displayed '/var/log/messages' as the log
> file. Now, it is displayed as 'logread'.
>
> 6) When processing the 'dump' command, the CLI now uses 'netstat' to
> print socket information when the 'ss' utility is not installed.
>
> New Features:
>
> 1) Support for OpenWRT versions BB and later has been added. Included
> in this support are:
>
> - The log display commands (show log, logwatch, etc.) no longer
> depend on the 'tac' utility (although it will be used if it is
> installed).
>
> - Shorewall-core's 'configure' script detects OpenWRT and accepts
> HOST=openwrt as an argument.
>
> - Shorewall-core, Shorewall-lite and Shoreawll6-lite installers
> support openwrt. Additionally, those installers no longer depend
> on the 'install' utility.
>
> - Shorewall[6]-lite will use OpenWRT's 'lock' utility to create the
> LOCKFILE.
>
> A special thanks to Matt Darfeuille for his help in making this
> support possible.
>
> Thank you for using Shorewall.
>
> -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 \________________________________________________
>
>
-------------- Enclosure number 1 ----------------
--- configure.pl.orig 2015-12-11 19:25:08.883756079 +0100
+++ configure.pl 2015-12-11 19:23:30.219812247 +0100
@@ -102,13 +102,12 @@
die qq("ERROR: $vendor" is not a recognized host type);
} elsif ( $vendor eq 'default' ) {
$params{HOST} = $vendor = 'linux';
- }
} else {
if ( -f '/etc/debian_version' ) {
$vendor = 'debian';
if ( -l '/sbin/init' ) {
- if ( readlink '/sbin/init' =~ /systemd/ ) {
- $rcfilename = 'debian.systemd';
+ if ( readlink('/sbin/init') =~ /systemd/ ) {
+ $rcfilename = 'shorewallrc.debian.systemd';
} else {
$rcfilename = 'shorewallrc.debian.sysvinit';
}
@@ -137,6 +136,7 @@
$vendor = 'linux';
$rcfilename = 'shorewallrc.default';
}
+ }
$params{HOST} = $vendor;
}
------------------------------------------------------------------------------
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users