Commit Graph

497 Commits

Author SHA1 Message Date
teastep
4bc07eb658 Finish port-range/XMULTIPORT change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7022 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-08-01 15:45:22 +00:00
teastep
686655304d Detect port-range in a port-list without XMULTIPORT
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7020 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-08-01 14:58:26 +00:00
teastep
02fb1dd86c Fix indentation in stop_firewall()
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7015 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-31 21:52:59 +00:00
teastep
70c99a336d Make state match detection quiet
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7013 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-31 21:41:00 +00:00
teastep
7da375634a Fix ECN in shorewall-perl (again)
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7010 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-31 14:13:10 +00:00
teastep
a419469814 Detect the lack of state match
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@7001 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 21:30:22 +00:00
teastep
0d6d0c1c0f Allow 'sec' as a valid unit of time in rate-limit specifications
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6998 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 18:09:00 +00:00
teastep
283f489063 Convert direct increment of cmdcount (which was misspelled) with a call to push_cmd_mode
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6997 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 16:18:43 +00:00
teastep
ff2c261c4b Fix backout of chain change -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6996 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 15:36:56 +00:00
teastep
523f48d253 Fix backout of chain change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6995 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 15:27:08 +00:00
teastep
bb923492a3 Back out chain name fix (broke dynamic zones)
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6994 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 15:03:29 +00:00
teastep
e464a8102a Get rid of some of the 'chain_base' mapping
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6991 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-29 00:03:34 +00:00
teastep
67899bc2b2 Minor Chains.pm tweak
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6990 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 19:39:01 +00:00
teastep
d621ca52fa Simplify add_rule()
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6989 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 19:17:00 +00:00
teastep
fcbac7b242 Assert zero cmdmode for all chains before emitting rules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6988 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 17:34:21 +00:00
teastep
18dba96379 Rename cmdcount->cmdmode and allow expand_rule() to be called on a chain with non-zero cmdmode
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6987 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 17:31:31 +00:00
teastep
967aaef9f6 Eliminate the 'loopcount' field from chain table entries
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6986 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 17:23:03 +00:00
teastep
65d3bc6e19 Earlier validation of log level used in action invocation
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6985 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 16:37:14 +00:00
teastep
995412ff59 Another action logging fix
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6984 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 16:09:38 +00:00
teastep
ae62d5cd20 More log level editing; and fix odd cut/paste of macro module into actions module
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6979 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 14:56:39 +00:00
teastep
29030e1dc1 log_rule_limit now adds a trailing ' ' to non-empty $predicates
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6978 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-28 01:44:52 +00:00
teastep
d13c794a7d Fix builtin action logging
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6975 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-27 22:34:53 +00:00
teastep
ee4f4c04a1 More module version updates
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6973 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-27 17:04:11 +00:00
teastep
48b993f0cf Better detection of out-of-order policy file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6971 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-27 04:11:44 +00:00
teastep
854c6f8e4c Fix Actions.pm
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6969 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-26 19:49:06 +00:00
teastep
767fea403a Eliminate trailing whitespace
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6968 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-26 18:36:18 +00:00
teastep
a7786b5a2f Fix smurf problem
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6967 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-26 16:57:47 +00:00
teastep
131d73c46f Tiny optimization -- another instance
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6965 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-26 14:32:25 +00:00
teastep
32ba2ce0b9 Tiny optimization
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6964 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-26 14:23:11 +00:00
teastep
f6f1b38194 Remove superfluous 'defined' tests
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6963 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-26 14:10:44 +00:00
teastep
66ec1cc9a1 More log level zero fixes
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6962 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-25 23:39:20 +00:00
teastep
b43a6c4cb6 Relax Shorewall-perl dependency on Address Type Match
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6960 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-25 23:15:37 +00:00
teastep
4a9cda63ea Fix PATH handling
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6954 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-25 14:21:56 +00:00
teastep
7302e1389a Fix PATH handling
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6953 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-25 14:21:08 +00:00
teastep
31a01cdcc4 Fix problem with TC_ENABLED=No
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6948 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-24 16:54:13 +00:00
teastep
2bef2d631e Move some code around
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6947 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-24 14:49:50 +00:00
teastep
46abc9b397 Allow for adding zero-length command to rules array
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6946 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-23 22:48:23 +00:00
teastep
1fa2db41a1 Finish rule emission change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6945 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-23 19:46:54 +00:00
teastep
0e555dcd57 Eliminate 'emiti()'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6944 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-23 19:07:45 +00:00
teastep
55a3832991 tweak rule handling
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6943 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-23 19:00:07 +00:00
teastep
16a7b1deae Combine emit() and emitj()
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6942 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-23 18:14:12 +00:00
teastep
25d773762d Allow Shorewall to work with busybox 'ip'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6938 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-22 13:44:06 +00:00
teastep
853fa1b7d5 Fix handling of ipsec option in the hosts file
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6936 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-22 13:40:37 +00:00
teastep
991be0ac16 Remove extra space
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6934 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-22 12:46:05 +00:00
teastep
148c62f69e I've got to stop messing with this...
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6932 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-21 23:35:07 +00:00
teastep
b2e6f5aea2 Cosmetic change
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6931 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-21 21:19:07 +00:00
teastep
438d3aec0b Improve readability (and add comments)
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6929 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-21 20:40:34 +00:00
teastep
c8cf4f6685 Improve readability (I think)
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6928 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-21 20:00:34 +00:00
teastep
01a7a480e1 Combine two pattern matches
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6927 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-21 19:24:43 +00:00
teastep
a7e52291dd Improve editing of ipset-based rules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6922 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
2007-07-21 15:35:45 +00:00