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

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

From: Keith Edmunds <kae_at_nospam>
Date: Sat Jan 07 2012 - 09:34:55 GMT
To: shorewall-users@lists.sourceforge.net

> My point is that it works for me so I can't give any more help based on
> what little you have told us.

Below is from Shorewall 4.4.11.6

An almost empty params file:

# cat params
##############################################################################
echo "This is params"
#LAST LINE - ADD YOUR ENTRIES ABOVE THIS ONE - DO NOT REMOVE
#

shorewall.conf:

# grep -i params shorewall.conf
EXPORTPARAMS=Yes
#

A 'shorewall restart':

# shorewall restart
This is params
Compiling...
This is params
Processing /etc/shorewall/shorewall.conf...
Loading Modules...
Compiling /etc/shorewall/zones...
Compiling /etc/shorewall/interfaces...
Determining Hosts in Zones...
Preprocessing Action Files...
Compiling ...
   Pre-processing /usr/share/shorewall/action.Drop...
   Pre-processing /usr/share/shorewall/action.Reject...
Compiling /etc/shorewall/policy...
Adding Anti-smurf Rules
Adding rules for DHCP
Compiling TCP Flags filtering...
Compiling Kernel Route Filtering...
Compiling Martian Logging...
Compiling /etc/shorewall/masq...
Compiling MAC Filtration -- Phase 1...
Compiling /etc/shorewall/tunnels...
Generating Transitive Closure of Used-action List...
Processing /usr/share/shorewall/action.Reject for chain Reject...
Processing /usr/share/shorewall/action.Drop for chain Drop...
Compiling MAC Filtration -- Phase 2...
Applying Policies...
Generating Rule Matrix...
Creating iptables-restore input...
Compiling iptables-restore input for chain mangle:...
Compiling /etc/shorewall/routestopped...
Shorewall configuration compiled to /var/lib/shorewall/.restart
printf: 4: This: expected numeric value
printf: 4: is: expected numeric value
printf: 4: params: expected numeric value
Processing /etc/shorewall/params ...
This is params
Usage: /var/lib/shorewall/.restart [ options ]
[ start|stop|clear|down|reset|refresh|restart|status|up|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
#

I'll happily give you more information: what do you need?

Thanks,
Keith
-- "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