Using both patches seems to do it(I will do more testing tomorrow)! Regarding loging on openwrt:
Yes openwrt has changed from using syslogd to logd! "Older OpenWrt releases(AA and earlier ones) were using BusyBox's syslogd (and logread) while the newer ones (BB and later) use ubox's logd and logread." from: http://wiki.openwrt.org/doc/howto/log.essentials While reading the provided code and in lib.cli it is now obvious why it does not work!!!:) Also tac is not available on openwrt(maybe using awk ...)! Thanks for the help and the patch! P.S. I had some problem using the 5.0.1.1.sha1sums file(duplicate lines?) -Matt On 28 Oct 2015 at 9:34, Tom Eastep wrote: > On 10/28/2015 7:23 AM, matt darfeuille wrote: > > Hi Tom, > > > > After patching config.pm using the following command: > > patch /usr/share/shorewall/shorewall/config.pm ENVIRONMENT.patch > > I get the following: > > > > $ shorewall compile -e -T > > Compiling using Shorewall 5.0.1(same with 5.0.1.1)... > > ... > > Use of uninitialized value $var in pattern match (m//) at > > /usr/share/shorewall/Shorewall/Config.pm line 5225. > ... > > Use of uninitialized value $var in hash element at > > /usr/share/shorewall/Shorewall/Config.pm line 5227. > > ... > > Shorewall configuration compiled ... > > > > Try the attached patch on top of the last one. > > -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 \________________________________________________ > ------------------------------------------------------------------------------ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
