From e7dade41454be54f660f7c502341f40bfa3ecef4 Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 3 Dec 2006 18:42:14 +0000 Subject: [PATCH] Document new 'try' and 'safe-' behavior git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5042 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- manpages/shorewall.xml | 51 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/manpages/shorewall.xml b/manpages/shorewall.xml index 2221cf051..d92050629 100644 --- a/manpages/shorewall.xml +++ b/manpages/shorewall.xml @@ -274,6 +274,8 @@ -options safe-restart + + directory @@ -282,6 +284,8 @@ -options safe-start + + directory @@ -394,6 +398,18 @@ status + + shorewall + + -options + + try + + directory + + timeout + + shorewall @@ -788,7 +804,9 @@ want to accept the new configuration or not. If you answer "n" or if you fail to answer within 60 seconds (such as when your new configuration has disabled communication with your terminal), the - configuration is restored from the saved configuration. + configuration is restored from the saved configuration. If a + directory is given, then Shorewall will look in that directory first + when opening configuration files. @@ -800,7 +818,9 @@ asking if everything went all right. If you answer "n" or if you fail to answer within 60 seconds (such as when your new configuration has disabled communication with your terminal), a - shorewall clear is performed for you. + shorewall clear is performed for you. If a directory is given, then + Shorewall will look in that directory first when opening + configuration files. @@ -988,6 +1008,33 @@ + + try + + + If Shorewall is started then the firewall state is saved to a + temporary saved configuration + (/var/lib/shorewall/.try). Next, if Shorewall + is currently started then a restart + command is issued; otherwise, a start command is performed. if an error + occurs during the compliation phase of the restart or start, the command terminates without + changing the Shorewall state. If an error occurs during the + restart phase, then a shorewall restore is performed using the + saved configuration. If an error occurs during the start phase, then Shorewall is cleared. If + the start/restart succeeds and a + timeout is specified then a clear or restore is performed after + timeout seconds. + + + version