Tom Eastep
|
3fb715740d
|
Avoid duplicated code blocks in save_dynamic_chains()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-04 09:27:04 -08:00 |
|
Tom Eastep
|
ed6ff96aa0
|
Replace another $VARDIR instance
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-03 14:11:57 -08:00 |
|
Tom Eastep
|
18dac19d86
|
Remove dead code from save_dynamic_chains()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-03 14:09:55 -08:00 |
|
Tom Eastep
|
d5ea876e93
|
Replace $VARDIR with ${VARDIR} for consistency
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-03 11:54:14 -08:00 |
|
Tom Eastep
|
f7a6ad1412
|
Clean up formatting in define_firewall() and stop_firewall()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-03 09:24:43 -08:00 |
|
Tom Eastep
|
b279869629
|
Fix DOCKER issue
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-02 20:59:44 -08:00 |
|
Tom Eastep
|
c56ba534d6
|
Yet more PAGER fixes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-02 12:34:39 -08:00 |
|
Tom Eastep
|
90d254f0c3
|
Add PAGER option
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-02 08:32:49 -08:00 |
|
Tom Eastep
|
a95de8d092
|
Page the output of verbose commands
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-03-01 15:12:54 -08:00 |
|
Tom Eastep
|
68cce5ff73
|
Eliminate some sillyness in normalize_action()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-29 11:17:15 -08:00 |
|
Tom Eastep
|
1c1881859f
|
Delete untrue comment
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-29 08:45:47 -08:00 |
|
Tom Eastep
|
5b163e9bc2
|
Save/restore docker0 rules when it isn't defined to Shorewall
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-27 14:09:29 -08:00 |
|
Tom Eastep
|
71d64ab380
|
Add DOCKER network support
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-27 13:36:47 -08:00 |
|
Tom Eastep
|
36d8518562
|
Code compaction
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-26 13:13:56 -08:00 |
|
Tom Eastep
|
6c88eb6916
|
Add an ECN action to shorewall-mangle(8)
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-26 09:33:16 -08:00 |
|
Tom Eastep
|
6e1cc0f1d0
|
Correct stop/start Docker handling
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-25 13:37:44 -08:00 |
|
Tom Eastep
|
ee5ef07035
|
Correct another silly typo -- this time in allowBcast()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-24 14:58:10 -08:00 |
|
Tom Eastep
|
3c8696b91d
|
Correct silly typo in setup_ecn()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-24 09:35:13 -08:00 |
|
Tom Eastep
|
fd4de0c66a
|
Create more compact DOCKER conditional rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-22 14:46:35 -08:00 |
|
Tom Eastep
|
49536562e2
|
Emit more compact code when conditionally adding DOCKER chains
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-22 13:49:22 -08:00 |
|
Tom Eastep
|
36b6863b02
|
Update copyright date on lib.core
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-22 13:48:48 -08:00 |
|
Tom Eastep
|
63b501996e
|
Require ADDRTYPE for DOCKER=Yes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-21 12:26:39 -08:00 |
|
Tom Eastep
|
7a9e9ad945
|
Decommit DOCKER=Yes in IPv6.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-21 12:03:41 -08:00 |
|
Tom Eastep
|
f4312a38b9
|
Add all Docker rules in the stopped state
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-21 10:33:45 -08:00 |
|
Tom Eastep
|
fc6a1f6d0d
|
Don't create Docker chains/rules if Docker isn't running
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-21 09:54:37 -08:00 |
|
Tom Eastep
|
83b899b030
|
Save/Restore Docker-generated rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-20 14:02:54 -08:00 |
|
Tom Eastep
|
61f6cacc30
|
Infrastructure required by Docker
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-20 14:01:48 -08:00 |
|
Tom Eastep
|
caba1cd770
|
DOCKER=Yes requires IPTABLES_S
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-20 10:03:06 -08:00 |
|
Tom Eastep
|
4306ff1029
|
Correct 'save_dynamic_chains'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-20 09:57:11 -08:00 |
|
Tom Eastep
|
663f82c158
|
Move nat POSTROUTING rules to SHOREWALL if DOCKER=Yes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-20 09:24:06 -08:00 |
|
Tom Eastep
|
e66d9f6547
|
Add DOCKER option
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-19 17:42:54 -08:00 |
|
Tom Eastep
|
f33f333937
|
Make 'default' and 'none' case insensitive in the GATEWAY column
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-17 15:25:46 -08:00 |
|
Tom Eastep
|
94cfe54f92
|
Allow routing tables with no default route
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-17 11:49:09 -08:00 |
|
Tom Eastep
|
8ac0f96029
|
Delete blank line
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-09 18:20:00 -08:00 |
|
Tom Eastep
|
894a98f24e
|
Improve optimizer handling of origin during rule merge
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-04 12:00:05 -08:00 |
|
Tom Eastep
|
bd9e8142b9
|
Ensure that the chain origin is used when there is no rule origin
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-03 10:43:10 -08:00 |
|
Tom Eastep
|
916a392fb0
|
Improve chain-completion rule tracking
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-02-02 14:57:47 -08:00 |
|
Tom Eastep
|
28983a0194
|
Add comment describing the origin member of a rule
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-31 09:29:24 -08:00 |
|
Tom Eastep
|
2cd098ba31
|
Update heading versions and copyrights
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 13:46:34 -08:00 |
|
Tom Eastep
|
9188f7efa3
|
Don't export shortlineinfo2
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 13:38:26 -08:00 |
|
Tom Eastep
|
95a029316a
|
Improve get_keys*()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 12:51:23 -08:00 |
|
Tom Eastep
|
d4bea3d3ec
|
Optimize TRACK_RULES handling in the Chains module
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 11:38:48 -08:00 |
|
Tom Eastep
|
6085c6092f
|
Add origin comments to command-mode rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 10:58:09 -08:00 |
|
Tom Eastep
|
48df3d9627
|
Add origin member to the providers table
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 10:34:36 -08:00 |
|
Tom Eastep
|
94442abfcf
|
Correct check for duplicate interface in providers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-28 10:34:16 -08:00 |
|
Tom Eastep
|
86f2e23f33
|
Invoke add_irule_extended rather than a hack that predated that function
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-27 19:01:23 -08:00 |
|
Tom Eastep
|
6e9d5f45ec
|
Avoid spurious comment in jump to interface option chains.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-27 16:50:03 -08:00 |
|
Tom Eastep
|
039fd6ddd8
|
Move origin handling into log_[i]rule_limit
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-27 14:24:56 -08:00 |
|
Tom Eastep
|
57288086bf
|
Unify TRACK_RULES handling
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-27 12:55:21 -08:00 |
|
Tom Eastep
|
f999acda63
|
Eliminate shortlineinfo1()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-27 10:21:08 -08:00 |
|
Tom Eastep
|
b4723da07c
|
Eliminate $globals{TRACK_GLOBALS}
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-26 16:45:47 -08:00 |
|
Tom Eastep
|
3860a1dc72
|
Ensure that %origin is populated
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-26 16:31:04 -08:00 |
|
Tom Eastep
|
e756820ca1
|
Revert "Unify TRACK_RULES settings implementation"
This reverts commit 866cb04cbb .
|
2016-01-26 11:49:26 -08:00 |
|
Tom Eastep
|
866cb04cbb
|
Unify TRACK_RULES settings implementation
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-25 18:07:46 -08:00 |
|
Tom Eastep
|
6ef136a546
|
Add origin information for entries in shorewall[6].conf
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-25 15:49:18 -08:00 |
|
Tom Eastep
|
9b3b4579a2
|
Change TRACK_RULES setting from Internal to File
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-24 16:15:36 -08:00 |
|
Tom Eastep
|
3e404b765f
|
Make .ip[6]tables-restore-input comments conditional
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-23 17:04:52 -08:00 |
|
Tom Eastep
|
2235641c9f
|
Add origin to the ip[6]tables input.
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-23 15:13:12 -08:00 |
|
Tom Eastep
|
3fe4619f66
|
Fix origin in interfaces and hosts
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-23 13:49:52 -08:00 |
|
Tom Eastep
|
247698a14d
|
Add origin in some rules from the Misc module
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-23 12:31:53 -08:00 |
|
Tom Eastep
|
73b20c832c
|
Add 'origin' member to rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-23 10:45:26 -08:00 |
|
Tom Eastep
|
8ac754caed
|
Add 'origin' member to the interface and hosts tables
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-21 17:08:19 -08:00 |
|
Tom Eastep
|
1abb77d66d
|
Remove restrictions on -m geoip
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-18 22:30:15 -08:00 |
|
Tom Eastep
|
a28f3012d5
|
Correct $VERSION setting in Raw.pm
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-18 09:38:35 -08:00 |
|
Tom Eastep
|
7d443b5e2e
|
Eliminate return value from process_action()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-18 09:08:35 -08:00 |
|
Tom Eastep
|
a945b3e0dd
|
Tweak the process_action() changes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-17 17:03:46 -08:00 |
|
Tom Eastep
|
ec6c233666
|
Centralize Rules module handling of @CALLER in actions
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-17 16:29:35 -08:00 |
|
Tom Eastep
|
4059e9de95
|
Clean up use_policy_action()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-17 12:35:12 -08:00 |
|
Tom Eastep
|
1ee645cd79
|
Another determinism fix -- red and codel options are now sorted
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-17 09:50:34 -08:00 |
|
Tom Eastep
|
1fedb26f1d
|
Handle @CALLER in policy chains
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-17 09:42:01 -08:00 |
|
Tom Eastep
|
031371f259
|
Improve maintainability of action-tuple code
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-16 17:26:16 -08:00 |
|
Tom Eastep
|
742c15b289
|
Improve @CALLER fix to create unique chains per caller
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-16 17:12:03 -08:00 |
|
Tom Eastep
|
726d1492cd
|
Correct error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-13 17:08:57 -08:00 |
|
Tom Eastep
|
12513e24a3
|
Revert "Implement dynamic actions"
This reverts commit 8075ba719a .
|
2016-01-13 11:04:41 -08:00 |
|
Tom Eastep
|
21765d618d
|
Create unique chains when @caller is used
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-13 11:04:23 -08:00 |
|
Tom Eastep
|
de21c59885
|
Correct hashlimit in logging rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-13 09:49:22 -08:00 |
|
Tom Eastep
|
8075ba719a
|
Implement dynamic actions
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-13 09:33:38 -08:00 |
|
Tom Eastep
|
3828eb856b
|
Rename HADIVERT to DIVERTHA
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-08 15:36:10 -08:00 |
|
Tom Eastep
|
ad2f20b824
|
Finish HAProxy support
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-06 09:12:33 -08:00 |
|
Tom Eastep
|
4c33c2b957
|
Add support for HAProxy
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-06 08:27:50 -08:00 |
|
Tom Eastep
|
2f59ea5ca3
|
Implement the WAIT_OPTION capability
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-05 09:28:24 -08:00 |
|
Tom Eastep
|
e695e08009
|
A couple of corrections to the IP[6]TABLE transparency change
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-04 14:13:58 -08:00 |
|
Tom Eastep
|
c91b78a875
|
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
|
2016-01-04 13:10:48 -08:00 |
|
Tom Eastep
|
70a9240de6
|
Make IP[6]TABLES transparent
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-04 13:10:03 -08:00 |
|
Tom Eastep
|
06dd5dc38f
|
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
|
2016-01-02 12:37:43 -08:00 |
|
Tom Eastep
|
fad41e262a
|
Support the DROP command in the mangle file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2016-01-02 12:36:38 -08:00 |
|
Tom Eastep
|
694dc64900
|
Allow comma in disposition when LOGTAGONLY=Yes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-12-23 09:06:43 -08:00 |
|
Tom Eastep
|
54b6488113
|
Allow a timeout to be specified in ADD rules
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-12-23 08:24:00 -08:00 |
|
Tom Eastep
|
8429f68897
|
Handle MAC addresses in IPv6
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-12-07 15:15:28 -08:00 |
|
Tom Eastep
|
3ddc2a8f8b
|
Add parentheses for readability
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-12-07 08:02:35 -08:00 |
|
Tom Eastep
|
e75c88219f
|
Start optional interfaces when there are no providers
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-11-05 18:07:31 -08:00 |
|
Tom Eastep
|
460f4bc5b7
|
Correct defect in processing the 'persistent' route option
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-31 08:15:10 -07:00 |
|
Tom Eastep
|
5a3589b9a6
|
Add some comments in get_params()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-30 08:18:45 -07:00 |
|
Tom Eastep
|
3973cdf0da
|
Merge branch '5.0.1'
|
2015-10-28 14:35:27 -07:00 |
|
Tom Eastep
|
e39d405e86
|
More tweaks to params processing and exporting
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-28 14:33:55 -07:00 |
|
Tom Eastep
|
239560be8d
|
Add Cygwin-specific code in get_params()
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-28 13:47:40 -07:00 |
|
Tom Eastep
|
3873ebe06a
|
More param handling fixes
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-28 09:37:52 -07:00 |
|
Tom Eastep
|
081cf30447
|
Don't export variables with parentheses in their names
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-27 17:45:22 -07:00 |
|
Tom Eastep
|
c2768a2d64
|
Correct error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-26 13:08:09 -07:00 |
|
Tom Eastep
|
4f4358d4db
|
Correct error message
Signed-off-by: Tom Eastep <teastep@shorewall.net>
|
2015-10-26 13:07:40 -07:00 |
|