shorewall-users January 2012 archive
Main Archive Page > Month Archives  > shorewall-users archives
shorewall-users: [Shorewall-users] "echo" in params gi

[Shorewall-users] "echo" in params gives errors

From: Keith Edmunds <kae_at_nospam>
Date: Fri Jan 06 2012 - 17:42:53 GMT
To: shorewall-users@lists.sourceforge.net

# shorewall version
4.4.27

We used to put 'echo' statement in the params file, which worked fine, but
now including this in params:

echo "Build ipset of blacklisted addresses"

...gives this on a 'shorewall restart':

[trimmed]
Compiling /etc/shorewall/routestopped...
Shorewall configuration compiled to /var/lib/shorewall/.restart
printf: 214: Build: expected numeric value
printf: 214: ipset: expected numeric value
printf: 214: of: expected numeric value
Processing /etc/shorewall/params ...
Build ipset of blacklisted addresses
Usage: /var/lib/shorewall/.restart [ options ] <command>

<command> is one of:
   start
   stop
   clear
   disable <interface>
   down <interface>
   enable <interface>
   reset
   refresh
   restart
   status
   up <interface>
   version

Options are:

   -v and -q Standard Shorewall verbosity controls
   -n Don't unpdate routing configuration
   -p Purge Conntrack Table
   -t Timestamp progress Messages
   -V <verbosity> Set verbosity explicitly
   -R <file> Override RESTOREFILE setting
#

This worked with version 4.4.9 but fails with 4.4.11.6 and the latest
Debian version, 4.4.27.
-- "You can have everything in life you want if you help enough other people get what they want" - Zig Ziglar. Who did you help today? ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users