From 9de9c60e9e742e762939eca3ae199bfa83fe60fb Mon Sep 17 00:00:00 2001 From: teastep Date: Fri, 10 Aug 2007 21:36:08 +0000 Subject: [PATCH] Some provider tweaks git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7118 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- docs/shorewall_extension_scripts.xml | 13 +++++++------ manpages/shorewall-routestopped.xml | 5 +++-- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/docs/shorewall_extension_scripts.xml b/docs/shorewall_extension_scripts.xml index d2132e8d4..1494781b4 100644 --- a/docs/shorewall_extension_scripts.xml +++ b/docs/shorewall_extension_scripts.xml @@ -127,19 +127,20 @@ isusable -- (Added in Shorewall-perl version 4.0.3) invoked when Shorewall is trying to determine the usability of the network interface associated with an optional entry in - /etc/shorewall/providers. $1 is the name of the interface which will - have been determined to be up and configured before the script is - invoked. The return value from the script indicates whether or not the - interface is usable (0 = usable, other = unusable). + /etc/shorewall/providers. $1 is the name of the + interface which will have been determined to be up and configured + before the script is invoked. The return value from the script + indicates whether or not the interface is usable (0 = usable, other = + unusable). Example:# Ping a gateway through the passed interface case $1 in eth0) - ping -c 4 -I eth0 206.124.146.254 > /dev/null 2>&1 + ping -c 4 -t 1 -I eth0 206.124.146.254 > /dev/null 2>&1 return ;; eth1) - ping -c 4 -I eth1 192.168.12.254 > /dev/null 2>&1 + ping -c 4 -t 1 -I eth1 192.168.12.254 > /dev/null 2>&1 return ;; *) diff --git a/manpages/shorewall-routestopped.xml b/manpages/shorewall-routestopped.xml index 3c70d3667..f925e35b4 100644 --- a/manpages/shorewall-routestopped.xml +++ b/manpages/shorewall-routestopped.xml @@ -23,8 +23,9 @@ Description This file is used to define the hosts that are accessible when the - firewall is stopped or when it is in the process of being - [re]started. + firewall is stopped or is being stopped. When shorewall-shell is being + used, the file also determines those hosts that are accessible when the + firewall is in the process of being [re]started. The columns in the file are as follows.