Commit Graph

367 Commits

Author SHA1 Message Date
Tom Eastep
a4414a9695 Delete references to unimplemented functions
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-03 10:53:40 -08:00
Tom Eastep
c6981de0e5 Complete elimination of globals that are not .conf options
Documentation to follow

Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-03 09:50:07 -08:00
Tom Eastep
7457f643ee Don't export globals when the script is 4.4.8 or later
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-03 08:51:40 -08:00
Tom Eastep
70296b4bd6 Some fixes for -lite changes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-02 17:16:11 -08:00
Tom Eastep
78a39ccad5 Centralize exporting
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-02 16:03:44 -08:00
Tom Eastep
cce4bf277a Reduce export usage; Allow PURGE and RESTOREFILE to be specified on the run-line
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-02 14:49:31 -08:00
Tom Eastep
2656a9b0c7 Eliminate use of PRODUCT
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-02 12:34:36 -08:00
Tom Eastep
5613d0105a Remove all reliance on HOSTNAME
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-02 11:59:38 -08:00
Tom Eastep
3ea6f6792f Eliminate VERSION reserved variable name
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-03-02 08:02:10 -08:00
Tom Eastep
53c73bc8e9 Eliminate VERBOSE
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-28 17:58:01 -08:00
Tom Eastep
643d4831ab More all-caps variable elimination
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-26 17:05:35 -08:00
Tom Eastep
061d850c16 Rename RESTOREPATH to g_restorepath
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-26 08:35:50 -08:00
Tom Eastep
4415050fd2 Eliminate another reserved variable name
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-23 17:00:26 -08:00
Tom Eastep
bffb1793d7 More global variable renaming
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-23 07:52:35 -08:00
Tom Eastep
b2350829b9 Rename 'debugging' to 'g_debugging'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-22 16:43:38 -08:00
Tom Eastep
55c9cf3e99 Eliminate some of the reserved all-caps variable names
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-22 08:05:23 -08:00
Tom Eastep
096fb29203 DEBUG and PURGE -- take 2.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-02 13:57:50 -08:00
Tom Eastep
1d8a7ad09f Clear DEBUG and PURGE shell variables
Delete a blank line

Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-02-02 13:55:29 -08:00
Tom Eastep
efc43b1b24 Add implementation of LOAD_HELPERS_ONLY
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-01-21 15:49:35 -08:00
Tom Eastep
4453bb7dc8 More updates from 4.5 2010-01-17 16:18:44 -08:00
Tom Eastep
b8b7555ff9 Add "[ <device> ]" to "show tc" usage syntax
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-01-13 12:28:20 -08:00
Tom Eastep
4420eed8d7 Allow users to preview the generated ruleset.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-01-12 15:32:50 -08:00
Tom Eastep
6c62f14749 Add 'show macro' command
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-01-12 13:40:25 -08:00
Tom Eastep
605da92eca Don't try to restore ipsets when 'restore' is being used to recover
from a start/restart failure.

Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-01-06 07:44:34 -08:00
Tom Eastep
55e874b23f Update copyrights
Signed-off-by: Tom Eastep <teastep@shorewall.net>
2010-01-01 12:58:27 -08:00
Tom Eastep
167d86746c Correct typo in usage output 2009-12-27 11:56:38 -08:00
Tom Eastep
a321ec6225 Fix DONT_LOAD vs 'reload -c' 2009-12-07 14:44:46 -08:00
Tom Eastep
486f1a3493 Allow /dev/null for LOGFILE 2009-12-03 16:16:13 -08:00
Tom Eastep
f5a019becc Implement 'show policies' command 2009-11-15 09:24:56 -08:00
Tom Eastep
31bbec0fdd Make 'debug' work with the safe commands 2009-10-17 13:05:26 -07:00
Tom Eastep
c1305eb059 Correct typo in error message 2009-09-25 13:36:45 -04:00
Tom Eastep
20250c9ce9 Hack to make new LIMIT stuff work on ancient iptables releases 2009-09-20 09:10:23 -04:00
Tom Eastep
1d1133532f Make 'SHOREWALL_COMPILER=shell' a WARNING rather than an ERROR 2009-08-09 08:19:24 -07:00
Tom Eastep
55c879e4e6 Fix log record displays 2009-08-07 13:33:07 -07:00
Tom Eastep
02b950dc9e Update the Notices page to reflect an earlier release date for 4.4 2009-08-03 14:49:51 -07:00
Tom Eastep
999a00dc77 Remove need for '-v-1' when compiling to stdout 2009-08-03 11:20:34 -07:00
Tom Eastep
4fd338f3ca Fix 'rpm -U' from earlier versions 2009-07-21 12:32:25 -07:00
Tom Eastep
16006e0425 Ensure that PATH is exported 2009-07-01 14:02:00 -07:00
Tom Eastep
dcb4ca61a5 Add iptrace/noiptrace commands 2009-06-17 12:03:05 -07:00
Tom Eastep
7b20cf2af9 Fix 'shorewall reset' 2009-05-31 10:21:37 -07:00
Tom Eastep
b9fb023208 Correct typo in comment 2009-05-11 07:04:08 -07:00
Tom Eastep
be9573d30f Fix 'start' with AUTOMAKE=Yes 2009-05-09 10:00:33 -07:00
Tom Eastep
624c24f2c0 Sequentially assign class numbers when WIDE_TC_MARKS=Yes 2009-05-05 07:50:46 -07:00
Tom Eastep
5b6769a722 Fix release documents re IPMARK; correct encode/decode 2009-05-04 12:04:04 -07:00
Tom Eastep
7cf5c32358 Treat Class IDs as hex rather than as decimal numbers 2009-04-23 12:43:57 -07:00
Tom Eastep
82bf6eb3f5 Revise WIDE_TC_MARKS classid generation 2009-04-20 17:54:33 -07:00
teastep
e076cf00f9 Add 'encode' and 'decode' commands
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9940 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-04-19 19:58:04 +00:00
teastep
322a5de871 Recommit lost commit
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9934 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-04-18 18:48:28 +00:00
teastep
eb533d8b00 Make SHOREWALL_COMPILER=perl explicit in shorewall.conf
Send SHOREWALL_COMPILER errors to STDERR

Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9822 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-04-07 03:22:02 +00:00
teastep
52b0b4e602 More removal of SAVE_IPSETS=Yes logic
Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9804 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-04-04 17:22:06 +00:00
teastep
180925173b Ignore AUTOMAKE setting when a <directory> is given to start/restart
Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9782 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-04-02 14:24:23 +00:00
teastep
d950fa27f2 Allow <pathname> to be omitted from the 'compile' command
Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9781 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-04-02 01:12:34 +00:00
teastep
238ff4550f AUTOMAKE also applies to 'restart'
Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9768 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-31 18:54:00 +00:00
teastep
6c205d922a Add AUTOMAKE option
Signed-off-by: Tom Eastep <teastep@shorewall.net>

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9767 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-31 17:31:23 +00:00
teastep
2f1f376d50 Replace 'list' with 'show dynamic' and add support in shorewall-lite
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9614 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-06 20:43:46 +00:00
teastep
d83334a1d1 Document dynamic zones; add 'list' command to list dynamic zone content
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9613 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-06 20:25:59 +00:00
teastep
a7126b6b4c First working dynamic zone implementation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9612 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-06 17:00:38 +00:00
teastep
cd2172e7e4 Put all Perl components in a common directory -- Phase IV
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9598 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-04 22:52:05 +00:00
teastep
cb078a416e Rename 'shorewall' to 'shorewall.sh' to avoid Cygwin issues
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9573 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-01 21:38:43 +00:00
teastep
2883479e53 Initial 4.3.7 changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9572 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-03-01 19:46:30 +00:00
teastep
d7d8acc764 Even More product consolidation changes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9491 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-02-22 18:28:18 +00:00
teastep
c355ec2509 More combining of products
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9489 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-02-22 17:43:56 +00:00
teastep
01c45b8897 Rename Shorewall-common to Shorewall
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9487 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2009-02-22 17:27:58 +00:00
teastep
46364902e3 Move Shorewall to Shorewall-common
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5817 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-04-03 01:33:28 +00:00
teastep
2b972d685b Add -p and -d to 'check' command
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5756 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-03-30 03:35:03 +00:00
teastep
5f74e8cf66 Changes for Shorewall4
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5658 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-03-24 16:21:00 +00:00
teastep
67e7369303 Restore the ability to use a params file with the perl compiler
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5627 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-03-22 17:58:25 +00:00
teastep
c7c3186b83 Add -p and -d compiler options so that we can profile and debug the compiler
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5612 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-03-21 19:08:52 +00:00
teastep
5d86c71835 Cosmetic change to /sbin/shorewall
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5430 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-02-21 02:16:05 +00:00
teastep
7b076fd4a3 More fixing of exit status
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5428 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-02-20 19:33:56 +00:00
teastep
179625239c Fix exit status from start/restart
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5426 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-02-20 17:52:29 +00:00
teastep
ad3a27fc24 Remove LITEDIR from shorewall.conf and determine it at runtime
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5288 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-01-24 19:18:49 +00:00
teastep
726faba091 Hacks for OpenWRT Lite
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5282 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-01-22 22:17:42 +00:00
teastep
97817453e6 Update copyrights to 2007
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5217 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-01-12 22:06:29 +00:00
teastep
5e7efa2975 Edit ip addresses a bit better in interactive commands
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5144 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-21 02:29:32 +00:00
teastep
e584c5a422 Change version to 3.4 in all files
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5132 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-18 21:57:44 +00:00
teastep
837f977d6d More logging cleanup
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5114 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-12 17:49:52 +00:00
teastep
626e0c577f More error logging
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5107 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-12 16:16:30 +00:00
teastep
08ee06ee83 Permit 'root' user to be other than 'root'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5098 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-11 18:42:53 +00:00
teastep
8099739303 Move resolution of SHORWEALL_DIR to the ci
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5087 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-10 20:21:02 +00:00
teastep
0890e12446 Back out part of SHOREWALL_DIR patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5078 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-10 04:12:28 +00:00
teastep
003a478220 Fixes for new preprocessing
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5075 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-10 03:01:24 +00:00
teastep
12ac2a0ab6 Don't export SHOREWALL_DIR
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5074 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-10 01:03:03 +00:00
teastep
425402114f Tighten up check for 'syslogd -C'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5064 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-06 16:37:29 +00:00
teastep
07769b5594 Fix minor bug in OpenWRT patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5063 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-05 23:11:20 +00:00
teastep
12cac4cb0d Change for OpenWRT compatibility
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5061 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-05 21:24:49 +00:00
teastep
7ad776f23e Restore 'try' command and improve 'safe-' commands
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5041 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-03 18:18:21 +00:00
teastep
bae18e9a67 Make colon after system name optional in the 'export' command
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5036 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-02 17:11:33 +00:00
teastep
5af734ca77 Eliminate 'try' command
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5029 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-12-01 16:36:17 +00:00
teastep
0056150713 More light-weight shell workarounds
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5026 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-30 21:28:31 +00:00
teastep
5924ab71b5 Fix for 'show macros' where /bin/sh is a light-weight shell
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5025 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-30 17:17:53 +00:00
teastep
08edd066c8 Move 'logwatch' processing to lib.cli
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5020 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-29 01:11:29 +00:00
teastep
cd50bf9396 Move 'allow' processing to lib.cli
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5019 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-29 00:53:39 +00:00
teastep
f6323ea466 Remove command-specific help; add -t option to show command
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4969 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-21 22:52:07 +00:00
teastep
dadfd21a96 Remove references to shorewall.sourceforge.net
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4850 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-11 17:21:04 +00:00
teastep
ab51f029cc Don't return error status on 'start' if Shorewall[-lite] is already started
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4844 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-11 16:20:59 +00:00
teastep
36eafbf6e6 Fix last patch
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4822 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-09 18:30:36 +00:00
teastep
88fac3769f Assume -c if capabilities file does not exist
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4820 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-09 16:11:32 +00:00
teastep
084063e760 Implement -c option to [re]load
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4818 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-09 15:57:58 +00:00
teastep
9b4359e0b2 Move 'hits' command processing to lib.cli
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@4795 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2006-11-05 19:47:59 +00:00