Tom Eastep
2039f38faf
Fix 'show saves' when there are no saves
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-05-05 13:27:37 -07:00
Tom Eastep
07654d8f8d
Fix 'compile -c'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-05-05 13:26:58 -07:00
Tom Eastep
b5e8f9bd50
Restore the read_yesno_with_timeout() function
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-05-04 08:52:40 -07:00
Tom Eastep
9c950082f6
Add new IPFS macros
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-05-04 08:45:39 -07:00
Matt Darfeuille
fc44eb7516
Update version to 5.2 in RC files
...
- Mention LEDE distro in OpenWRT RC file
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-27 14:08:36 -07:00
Matt Darfeuille
bb89d509ea
Ipdecimal: Correct error when missing arguments
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-27 14:08:00 -07:00
Tom Eastep
6822803802
Correct Netfilter Diagram
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-18 15:53:01 -07:00
Tom Eastep
66edd76b10
Correct typo in patch merged from 5.1.12
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-15 08:46:05 -07:00
Matt Darfeuille
99be0ce970
Use a function to load configuration files
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-14 13:06:54 -07:00
Tom Eastep
98d5bf8f55
Correct 'reset' handling in 'IfEvent'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-13 09:22:29 -07:00
Tom Eastep
370901e873
Add link to Events.html from PortKnocking.html
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-13 08:50:19 -07:00
Tom Eastep
c59ff50de4
Process params file in remote_capture()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-13 08:49:35 -07:00
Matt Darfeuille
3df5c032da
Be more verbose when executing remote commands
...
- Reword progress messages
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-12 11:12:39 -07:00
Tom Eastep
b997bfcd97
Update copyright of Shorewall 5 Document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-10 10:44:38 -07:00
Tom Eastep
7630d3cdb1
Update Shorewall 5 Article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-04-10 10:00:52 -07:00
Tom Eastep
90df607d79
Finish removal of 'refresh command'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-30 15:30:34 -07:00
Matt Darfeuille
f012244acd
Add 5.2 as a supported Shorewall version
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-28 13:03:49 -07:00
Tom Eastep
5e2f1f573d
Unconditionally convert masq->snat
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-27 11:38:47 -07:00
Tom Eastep
011322992e
Revert "Delete masq file processing"
...
This reverts commit 609ee8dea2
.
2018-03-27 11:08:33 -07:00
Tom Eastep
16bb41db15
Document 'getcaps', 'getrc' and 'show rc'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-27 09:54:32 -07:00
Tom Eastep
47a96e9ff9
Delete masq file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-26 15:57:49 -07:00
Tom Eastep
4a1d8ba0f9
delete shorewall-masq.xml
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-26 15:56:11 -07:00
Tom Eastep
7c99059a66
Supersede the masq file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-26 15:53:07 -07:00
Tom Eastep
609ee8dea2
Delete masq file processing
...
- Automatically convert the masq file if it exists
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-26 11:40:22 -07:00
Matt Darfeuille
299ea2b41f
Update version to 5.2
...
- Remove unneeded punctuation marks
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-24 09:53:02 -07:00
Tom Eastep
224400833a
Correct port knocking action in the Events article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-24 09:47:56 -07:00
Tom Eastep
32f1ae1992
Make &lo work correctly
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-19 18:23:19 -07:00
Matt Darfeuille
9b5468cd4a
Add and document the show rc command
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-18 17:36:44 -07:00
Matt Darfeuille
47a59cdd7c
Add and document the remote-getcaps command
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-18 17:36:38 -07:00
Matt Darfeuille
676ca872d6
Add and document the remote-getrc command
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-18 17:36:33 -07:00
Matt Darfeuille
ef28208c0e
Use a more consistent name for function definition
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-18 17:36:20 -07:00
Matt Darfeuille
cdeb82bdab
Improve when to capture capabilities
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-18 17:35:42 -07:00
Tom Eastep
3be071ca3d
Up the INCLUDE depth limit to 20
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-12 14:39:53 -07:00
Tom Eastep
6f6abfc8cd
Clarify the processing of the params file in shorewall-params(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-08 08:51:36 -08:00
Tom Eastep
f99f3539d1
Recommend using the link-level IP of upstream IPv6 routers.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-05 16:42:15 -08:00
Tom Eastep
e08e239c00
Implement AUTOMAKE=recursive
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-03 15:50:56 -08:00
Tom Eastep
02ed6f26a9
Allow AUTOMAKE=<depth> to specify search depth
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-03-03 13:04:48 -08:00
Tom Eastep
9e002a7689
Be sure that mutex is released when exiting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-28 13:38:30 -08:00
Tom Eastep
34c5441768
Apply optimize category 16 again after 8 if 8 did anything
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-27 14:17:21 -08:00
Tom Eastep
c3d8cba042
Reverse the order of optimize 8 and optimize 16 application
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-23 15:01:47 -08:00
Tom Eastep
8bc97bcd35
Replace ${VARDIR}/firewall with $g_firewall in CLI
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-23 12:40:14 -08:00
Tom Eastep
c1a74b54fc
Implement RENAME_COMBINED
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-22 12:49:55 -08:00
Tom Eastep
88547f5140
Handle two-chain case when LOG_ZONE != 'Both'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-22 11:25:19 -08:00
Tom Eastep
4a714b3ab9
More INLINE_MATCHES changes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
# Conflicts:
# Shorewall/manpages/shorewall-mangle.xml
# Shorewall/manpages/shorewall-rules.xml
2018-02-21 15:15:23 -08:00
Tom Eastep
7ad7598d5b
Implement LOG_ZONE
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-20 15:31:31 -08:00
Tom Eastep
4dfc6d90b9
Add 'logname' member to chain table entries.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-20 11:04:50 -08:00
Tom Eastep
0cb4a5c202
Correct "Invalid Policy Action" error message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-19 10:04:18 -08:00
Tom Eastep
9a83365986
Remove the USEPKTTYPE capability
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-16 11:20:00 -08:00
Tom Eastep
bc65d29650
Add shorewallrc.sandbox
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-15 13:10:53 -08:00
Tom Eastep
9d3e8d6f6c
Tabify shorewalrc.debian.systemd
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-15 13:08:43 -08:00
Tom Eastep
8056b6fd85
Create the 'show saves' command.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-15 12:42:55 -08:00
Tom Eastep
db4a26cfa9
'update' changes for V5.2
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-13 09:21:15 -08:00
Tom Eastep
95e956c913
Complete removal of INLINE_MATCHES
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-13 09:20:31 -08:00
Tom Eastep
5e3795b5a4
Delete support for single semicolon in INLINE and IP[6]TABLES rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-12 19:12:03 -08:00
Tom Eastep
3402b1efb6
Correct documentation WRT ';' vs. ';;'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-12 19:11:01 -08:00
Tom Eastep
24e21e730e
Correct typo in add_common_rules()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-12 19:10:35 -08:00
Tom Eastep
421edccd3f
Delete INLINE_MATCHES from .conf files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-12 19:09:42 -08:00
Tom Eastep
cf8a48f110
Delete deprecated actions and macros
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-12 19:08:18 -08:00
Tom Eastep
12bbbbfa2a
Merge branch '5.1.12'
...
# Conflicts:
# Shorewall/Perl/Shorewall/Config.pm
2018-02-09 17:16:12 -08:00
Tom Eastep
422911f06b
Update config file basics doc to discourage INLINE_MATCHES=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-09 17:09:11 -08:00
Tom Eastep
2a12e0950a
Allow pairs in braces to appear with ';;'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-09 12:58:18 -08:00
Tom Eastep
9869dd25d7
Correct capitalization of IPsec
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-09 11:20:22 -08:00
Tom Eastep
e47b57fd4a
Replace macro.SSDPServer with corrected macro.SSDPserver
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-09 08:45:03 -08:00
Tom Eastep
3cbe0e7a1c
Describe IPSEC via SNAT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-08 14:33:54 -08:00
Tom Eastep
221753c3c0
INLINE_MATCHES=No in sample configs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-08 12:53:20 -08:00
Tom Eastep
b14924bd64
New macros - Tuomo Soini
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-08 12:29:56 -08:00
Tom Eastep
c0a608ef84
Updated IPMI Macro (Tuomo Soini)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-08 11:59:55 -08:00
Tom Eastep
c518e85215
Clarify warning message regarding INLINE_MATCHES
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-08 11:21:38 -08:00
Roberto C. Sánchez
34fd10df41
Fix typo
2018-02-08 10:49:14 -08:00
Roberto C. Sánchez
e7004da47c
Fix typo
2018-02-08 10:49:06 -08:00
Tom Eastep
1fc97c50f1
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2018-02-08 10:47:57 -08:00
Roberto C. Sánchez
440d404780
Fix typo
2018-02-08 13:45:58 -05:00
Tom Eastep
91c76f7559
Add INLINE_MATCHES=Yes to deprecated option list
...
- Issue a warning for each line requiring change.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-07 19:08:28 -08:00
Roberto C. Sánchez
eb224e653f
Fix typo
2018-02-07 21:53:40 -05:00
Tom Eastep
73b39abd62
Remove INLINE_MATCHES
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-07 14:41:49 -08:00
Tom Eastep
3903fe5fd9
Remove the 'refresh' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-07 12:38:24 -08:00
Tom Eastep
a3e10157de
Merge branch '5.1.12'
2018-02-06 17:35:31 -08:00
Tom Eastep
2e4af68b98
Always report IPSET_MATCH in 'show capabilities' output.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-06 13:41:28 -08:00
Tom Eastep
de9f29d7d4
Update Actions article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-05 17:11:30 -08:00
Tom Eastep
99ddb17c9e
Update the Macros article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-05 17:11:05 -08:00
Tom Eastep
8ea9d0bbef
Mention capabilities file to speed up 'start'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-02 10:45:21 -08:00
Tom Eastep
ebe09a95b8
Lightweight format_rule() for use in digest creation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-02-02 09:27:19 -08:00
Tom Eastep
f32b304eb6
Describe disabling shorewall under systemd in the FAQs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-31 14:59:15 -08:00
Tom Eastep
7bdd69d151
Optimization category 8 tweaks
...
- Document cost of the category in shorewall.conf(5)
- Omit DONT_DELETE chains from consideration right off the bat
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-31 14:58:01 -08:00
Tom Eastep
a08f0cfe10
Avoid awkward blank lines
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-30 19:15:10 -08:00
Tom Eastep
09a81ae574
Omit trailing black space from the generated script
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-30 14:31:54 -08:00
Tom Eastep
7042d586b2
Clarify BLACKLIST_DISPOSITION in shorewall.conf(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-30 13:54:03 -08:00
Tom Eastep
e17c4ac8af
Reorganize code around wait/Interface-variable fix
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-30 11:25:37 -08:00
Tom Eastep
a6000ee963
Reorganize code around wait/Interface-variable fix
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-30 11:25:04 -08:00
Tom Eastep
0ab1464f51
Merge branch '5.1.12'
2018-01-28 14:54:23 -08:00
Tom Eastep
789854adce
Revert "Correct order of optional interface and address variable handling"
...
This reverts commit fbee4a91fd
.
2018-01-28 14:54:06 -08:00
Tom Eastep
37101a2031
Merge branch '5.1.11' into 5.1.12
2018-01-28 13:15:42 -08:00
Tom Eastep
40bcfd15e5
Revert "Correct order of optional interface and address variable handling"
...
This reverts commit f4cae55c1e
.
2018-01-28 13:15:13 -08:00
Tom Eastep
230ab06e5d
Reverse order of required-interface and address variable processing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-28 13:10:44 -08:00
Tom Eastep
09cda21dd4
Revert "Correct order of optional interface and address variable handling"
...
This reverts commit 9253f90ac5
.
2018-01-28 12:29:38 -08:00
Tom Eastep
9253f90ac5
Correct order of optional interface and address variable handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-28 11:39:06 -08:00
Tom Eastep
f4cae55c1e
Correct order of optional interface and address variable handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-28 10:54:03 -08:00
Tom Eastep
fbee4a91fd
Correct order of optional interface and address variable handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-28 10:53:20 -08:00
Tom Eastep
cb7071a213
Clarify BLACKLIST_DISPOSITION in shorewall.conf(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-28 10:52:35 -08:00
Tom Eastep
cdf5ad45d5
Eliminate the MAPOLDACTIONS option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-24 12:59:26 -08:00
Tom Eastep
070a67d665
Deimplement OPTIMIZE_USE_FIRST
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-24 11:56:20 -08:00
Tom Eastep
9796c58eb2
Add OPTIMIZE_MASK constant
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-23 13:15:44 -08:00
Tom Eastep
cabc20957f
Delete an unnecessary variable
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-23 09:45:50 -08:00
Tom Eastep
a9a379c5a5
Implement INPUT SNAT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-22 16:37:38 -08:00
Tom Eastep
3bf5066f82
Document multiple DEST interfaces in the snat file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-22 11:12:28 -08:00
Tom Eastep
b2c33a0f9a
Add snat to the list of manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-22 10:48:58 -08:00
Tom Eastep
64f704a964
Improve quoting in the route-balancing logic
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-21 14:46:51 -08:00
Tom Eastep
416224ee05
Correct typos and anachronisms in Chains.pm comments
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-21 11:53:58 -08:00
Tom Eastep
92ce1beddc
Move read_yesno_with_timeout() to lib.cli-std
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-20 14:26:13 -08:00
Tom Eastep
4d6bf8564e
Avoid unnecessary variable expansion
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-20 14:25:42 -08:00
Tom Eastep
fb4b362724
Eliminate unnecessary local array
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-20 13:26:10 -08:00
Tom Eastep
97de2be778
Change a fatal_error() call with an assertion in add_policy_rules()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-19 13:39:51 -08:00
Tom Eastep
85cae3c7f8
Add parens to improve readability
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-19 12:47:17 -08:00
Tom Eastep
acd425a3c2
Remove superfluous logic from validate_portpari1()
...
- Add comments
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-19 12:46:52 -08:00
Tom Eastep
4e6949f996
Document port masquerading
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-19 08:55:56 -08:00
Tom Eastep
5d7dcc3122
Unify variable style
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-18 13:42:13 -08:00
Tom Eastep
23d498146b
Merge branch '5.1.11'
...
# Conflicts:
# Shorewall/lib.cli-std
2018-01-18 13:40:37 -08:00
Tom Eastep
422d0b216a
Don't use the -quit option to Busybox find
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-18 13:39:44 -08:00
Tom Eastep
37ecbff23a
Merge branch '5.1.11'
...
# Conflicts:
# Shorewall/lib.cli-std
2018-01-18 13:37:52 -08:00
Tom Eastep
491309a78a
Don't use the -quit option to Busybox find
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-18 13:36:23 -08:00
Tom Eastep
bc993c384c
Don't use the -quit option to Busybox find
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-18 11:34:46 -08:00
Matt Darfeuille
0e4c1cdac1
Init: Correct indentation
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-12 10:26:37 -08:00
Tom Eastep
27a0f0f7a0
Make TRACK_PROVIDERS=Yes the default
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-10 08:46:01 -08:00
Tom Eastep
9ac075fd56
Clear the connection mark in tunneled packets from tracked providers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-09 17:12:14 -08:00
Tom Eastep
b2604583af
Revert "Clear the connection mark in tunneled packets from tracked providers"
...
This reverts commit 62c6411cb0
.
2018-01-09 17:01:51 -08:00
Tom Eastep
62c6411cb0
Clear the connection mark in tunneled packets from tracked providers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-09 14:51:57 -08:00
Matt Darfeuille
6badf3ce1a
Update supported Shorewall version
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-08 09:08:53 -08:00
Tom Eastep
1bc90beb01
Update copyrights
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-07 15:01:46 -08:00
Tom Eastep
eaccf033c6
Update copyrights for 2018
...
- Update some header versions to 5.1
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-07 14:24:01 -08:00
Tom Eastep
056711d304
Remove anachronistic comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-06 13:58:20 -08:00
Tom Eastep
0aa0bebe07
Reword error message
...
- "Invalid action name ..." to "Reserved action name ..."
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-06 13:56:36 -08:00
Tom Eastep
1a68d87c94
Don't enable forwarding in 'clear'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-04 15:39:07 -08:00
Tom Eastep
c518cfaa4a
Allow address variables to work correctly with the 'clear' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-03 08:58:28 -08:00
Tom Eastep
196a56ea3c
Permit when firewall stopped when using an ipset for dynamic BL
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-02 13:26:32 -08:00
Tom Eastep
2c3f121835
Don't call setup_dbl() unconditionally
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-02 13:11:31 -08:00
Tom Eastep
18ba5c7311
Don't verify 'conntrack' utility for 'remote-' commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-02 11:52:35 -08:00
Tom Eastep
c8774110c6
Correct typo (rootonly => root_only)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-02 11:51:42 -08:00
Tom Eastep
1479e955d4
Add FAQ 106 (startup at boot on Debian)
...
- mention reload as a faster alternative to restart
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2018-01-02 08:52:12 -08:00
Tom Eastep
09980cc75e
Use split() in uptodate()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-31 15:59:28 -08:00
Tom Eastep
e0a757ea03
Quit find after finding the first newer file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-31 14:15:45 -08:00
Tom Eastep
550003f0f4
Only look at regular files when running 'find'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-31 14:09:51 -08:00
Tom Eastep
4f50303318
Merge branch '5.1.10'
...
# Conflicts:
# Shorewall/lib.cli-std
2017-12-31 14:06:52 -08:00
Tom Eastep
5053999442
Don't run 'find' in the PWD
...
- Also remove -mindepth so as to catch deletions in the directories
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-31 13:33:16 -08:00
Tom Eastep
6b5889177b
Correct startup_error() inadvertent change
...
- Switch ensure_root() back to calling startup_error()
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-30 09:24:21 -08:00
Tom Eastep
71f8bad300
Tweak Shared Config doc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-30 08:44:49 -08:00
Tom Eastep
377c9f5708
Only search files in each CONFIG_PATH directory - no recursion
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-30 08:44:05 -08:00
Tom Eastep
45a164733b
Fix breakage of ipp2p
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-30 08:38:14 -08:00
Tom Eastep
6f82bfe7d1
Handle PROTO '-' in conntrack file processing.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-29 15:54:15 -08:00
Tom Eastep
4e5b98d3d9
Only search files in each CONFIG_PATH directory - no recursion
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-29 15:42:09 -08:00
Tom Eastep
078c781dfa
Allow override of :syn assumption in CT rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-29 15:15:33 -08:00
Tom Eastep
46f68c6dcb
Move adjustment of the protocol in process_conntrack_rule()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-29 13:51:33 -08:00
Tom Eastep
b42678269c
Revert "Add :syn to each TCP entry in the conntrack file"
...
This reverts commit f861f8da35
.
2017-12-29 13:08:27 -08:00
Tom Eastep
9bd10c0c00
Call fatal_error (not startup_error) when non-root does default compile
...
- Also reword the message
2017-12-29 12:49:43 -08:00
Tom Eastep
f861f8da35
Add :syn to each TCP entry in the conntrack file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-29 12:38:58 -08:00
Tom Eastep
9e3cb27d0a
Use the synchain name in log messages rather than the base chain name
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-28 14:13:50 -08:00
Tom Eastep
5b97800901
Tweak Shared Config doc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-28 13:26:39 -08:00
Tom Eastep
d8a22d13dd
Allow non-root to run many 'show' commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-28 10:49:09 -08:00
Tom Eastep
675e41e6a6
Merge branch 'master' into 5.1.10
2017-12-27 11:15:25 -08:00
Tom Eastep
28f6379956
Fix broken links in the blacklisting article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 16:57:44 -08:00
Tom Eastep
c9b58e203b
Fix broken links in the blacklisting article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 16:56:37 -08:00
Tom Eastep
9afe8daae0
Merge branch '5.1.10'
...
# Conflicts:
# Shorewall-core/install.sh
# Shorewall/install.sh
2017-12-26 15:45:20 -08:00
Tom Eastep
43adcd26a1
Make the /etc and the configfiles .conf files the same
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
# Conflicts:
# Shorewall/install.sh
2017-12-26 15:39:26 -08:00
Tom Eastep
65371437b5
Correct installer for case where SHAREDIR != /usr/share/
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 15:36:38 -08:00
Tom Eastep
cc2022e172
Correct installer for case where SHAREDIR != /usr/share/
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 15:00:15 -08:00
Tom Eastep
f2a565729f
Replace $PRODUCT with ${PRODUCT}
...
- Also correct one incidence of PRODUCT that should have been $PRODUCT
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 14:00:00 -08:00
Tom Eastep
ea8b2a803a
Make the /etc and the configfiles .conf files the same
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 11:48:33 -08:00
Tom Eastep
16832149ca
Remove unneeded modification of $CONFDIR/$PRODUCT/$PRODUCT.conf
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 11:35:56 -08:00
Tom Eastep
7edf4918d7
Remove leading ":" from CONFIG_PATH in active shorewall[6].conf
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-26 10:27:19 -08:00
Tom Eastep
d3a1dc1e2a
Delete superfluous semicolon.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-25 08:45:42 -08:00
Matt Darfeuille
f68f47d01b
Init: Fix when to compile the firewall on Debian
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-25 08:37:00 -08:00
Tom Eastep
b1d1fa862a
Add comment noting that the 'physwild' interface member is currently unused
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-23 10:58:16 -08:00
Tom Eastep
24acf25451
Delete unused find_interfaces_by_option1()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-23 10:53:16 -08:00
Tom Eastep
229c47ac6c
Don't delete options that are to be ignored from %options
...
- specifying some options can have side-effects that cause
$interfaceref->{options}{$option} to be accessed
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-23 10:47:22 -08:00
Tom Eastep
38de9c1732
Make wildcard/option checks order-independent WRT the options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-23 10:24:08 -08:00
Tom Eastep
17f4fd7cd2
Initialize $physwild to $wildcard
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-22 15:42:16 -08:00
Tom Eastep
cfd02c1bb6
More $minroot changes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-22 13:58:38 -08:00
Tom Eastep
02caeb5aa0
Remove sourceroute=0 from IPv6 Universal interface options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-22 13:44:11 -08:00
Tom Eastep
19b7601c72
Improve handling of wildcard interfaces and options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-22 13:43:45 -08:00
Tom Eastep
5a8e9cd0a3
Correct $minroot logic
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-22 09:08:27 -08:00
Tom Eastep
b5a6067588
Describe default interval and decay for rate estimator policing filters
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-20 09:04:52 -08:00
Tom Eastep
45468af2d2
Correct ingress policing for later releases of iproute2
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-18 11:52:19 -08:00
Tom Eastep
6c018f478c
Avoid unnecessary recompilation by Shorewall-init
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-18 10:25:56 -08:00
Tom Eastep
dec3cacb2a
Correct typo in the Helpers Article
...
Port 1729 -> port 1723 for PPTP
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-08 15:28:01 -08:00
Tom Eastep
4ab8e1f0a2
Remove PSH from the FIN action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-05 15:25:54 -08:00
Tom Eastep
821d72093a
Rename DEFAULTACTION_SECTION to POLICYACTION_SECTION.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-02 16:25:15 -08:00
Tom Eastep
42d5d13780
Retain proto setting when switching inline <-> noinline
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-02 13:40:41 -08:00
Tom Eastep
7121a0f1b1
Disallow a protocol on the Reject Action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-02 12:58:05 -08:00
Tom Eastep
ab12d63a4f
Change 'default action' to 'policy action' in comments and messages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-02 12:55:17 -08:00
Tom Eastep
6ba1d5413b
Allow a protocol to be associated with an action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-02 11:24:08 -08:00
Tom Eastep
4fc572f664
Exit the IPv6 AllowICMPs chain if packet isn't ipv6-icmp
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-01 14:50:17 -08:00
Tom Eastep
138e64c54a
Improve the documentation surrounding DNS names.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-12-01 09:25:20 -08:00
Tom Eastep
b04b65cac8
Clear counters in all tables during 'reset'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-30 14:31:59 -08:00
Tom Eastep
c907748b52
Correct typo in 'dump'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-30 14:31:33 -08:00
Tom Eastep
7f3414e3d8
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2017-11-29 08:19:57 -08:00
Roberto C. Sánchez
c75fe2ea8d
Fix typo
2017-11-29 06:56:06 -05:00
Tom Eastep
5dcb684efc
Don't be specific when deleting IPv6 balanced/fallback default routes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-28 15:26:17 -08:00
Tom Eastep
3e87e5004a
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2017-11-27 09:36:13 -08:00
Roberto C. Sánchez
c89b113a61
Fix typos
2017-11-26 15:39:59 -05:00
Tom Eastep
7289175070
Chop first config dir if non-root or if compiling for export.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-23 09:57:12 -08:00
Tom Eastep
5aaf1e53de
IPv6 Samples use logical interface names
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-22 09:56:45 -08:00
Tom Eastep
a9373d727b
Use logical interface names in the samples.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-22 09:40:15 -08:00
Tom Eastep
528b473f6b
Add some additional documentation to the Config module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-22 08:41:37 -08:00
Tom Eastep
d22210c074
Set g_export before calling get_config()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 13:46:41 -08:00
Tom Eastep
89d6009200
Revert "Fix for copying SYSCONFFILE. Gave a Permission denied on OpenWRT"
...
This reverts commit f0cb3f50e4
.
2017-11-14 10:48:56 -08:00
Tom Eastep
f411f7dd31
Remove redundant test
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 10:45:10 -08:00
Tom Eastep
502e98eb9f
Add Redfish console to the IPMI macro
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 10:44:54 -08:00
Tom Eastep
f73bad440d
Don't verify IP and SHOREWALL_SHELL when compiling/checking for test
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 10:02:15 -08:00
W. van den Akker
f0cb3f50e4
Fix for copying SYSCONFFILE. Gave a Permission denied on OpenWRT
...
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 09:01:06 -08:00
W. van den Akker
23bc019a82
Add OpenWRT options.
...
Signed-off-by: W. van den Akker <wvdakker@wilsoft.nl >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 09:00:46 -08:00
Tom Eastep
9d299ef866
Don't verify IP and SHOREWALL_SHELL setting when compiling for export
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 08:50:05 -08:00
Tom Eastep
2a9272ccd1
Clean up RAs involving "|"
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-14 08:26:17 -08:00
Tom Eastep
130ddff9de
Correct a typo in an error message
...
- Includes cosmetic changes to Providers.pm
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-10 11:25:52 -08:00
Tom Eastep
9cf298482d
Merge branch '5.1.8'
2017-11-09 12:59:59 -08:00
Tom Eastep
c5a586aa37
Allow [...] around gateway address in the providers file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-09 12:20:01 -08:00
Tom Eastep
0670ecaf5e
Update Shared Configuration Article
...
- Add network graphic
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-08 18:47:23 -08:00
Tom Eastep
d3eebde464
Add another restriction for SAVE_IPSETS=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-08 10:56:57 -08:00
Tom Eastep
832418585a
Don't make persistent routes and rules dependent on autosrc.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-08 09:46:25 -08:00
Tom Eastep
605f61fb3c
Don't make persistent routes and rules dependent on autosrc.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-08 09:45:59 -08:00
Tom Eastep
824f4ca570
Update Shared Configuration document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-08 09:44:40 -08:00
Tom Eastep
9acdbb5acf
Unify online manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-03 10:43:48 -07:00
Tom Eastep
8dfa0be611
Add shorewall-logging(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-02 15:26:14 -07:00
Tom Eastep
ef8b85fc3e
Implement support for logging in the SNAT file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-11-02 12:44:42 -07:00
Tom Eastep
2b5613026a
Merge branch '5.1.8'
2017-10-25 09:14:20 -07:00
Tom Eastep
c7c318c0e7
Align columns in actions.std
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-25 09:13:37 -07:00
Tom Eastep
b48e5a8932
Create new Netfilter diagram using Dia
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-25 09:13:08 -07:00
Tom Eastep
d1976189aa
Correct a couple of typos in the manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-22 12:59:31 -07:00
Tom Eastep
6b4905c2c0
Replace 'tcp' with '6' in action.TCPFlags
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-20 12:33:36 -07:00
Tom Eastep
774b707352
Inline Multicast when Address Type Match is available
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-20 12:01:41 -07:00
Tom Eastep
c3bd58827f
Align columns in actions.std
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-20 11:44:10 -07:00
Tom Eastep
b35f1112f4
Allow 'noinline' in /etc/shorewall[6]/actions to override 'inline'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-20 09:19:50 -07:00
Tom Eastep
a0eb91cb90
Inline the Broadcast action when ADDRTYPE match is available
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-20 08:49:14 -07:00
Tom Eastep
105e6a3d01
Create new Netfilter diagram using Dia
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-19 14:51:36 -07:00
Tom Eastep
77d9eeb915
Eliminate extra parameter editing of TPROXY parameter list.
...
- Clarify syntax for actions with multiple parameters
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-19 13:08:12 -07:00
Tom Eastep
17838c1443
Add TCPMSS to the allowed mangle actions.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-19 12:58:38 -07:00
Tom Eastep
5867ce6c3b
CLAMPMSS now done in the mangle table.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-18 15:55:07 -07:00
Tom Eastep
84cd80eba9
Update the Shared Config document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-17 16:51:35 -07:00
Tom Eastep
9b02f7a922
Update Shared config article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-15 19:15:13 -07:00
Tom Eastep
f1975ae9b0
More robust detection of empty SPD entries.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-15 08:26:27 -07:00
Tom Eastep
7b9f7c095d
Don't dump SPD entries for the other address family
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-14 13:39:00 -07:00
Tom Eastep
8ea96098bf
Warning when 'persistent' used with RESTORE_DEFAULT_ROUTE=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 15:22:07 -07:00
Tom Eastep
02ed36332a
Revert "Warn when RESTORE_DEFAULT_ROUTE=Yes and a persistent provider is defined"
...
This reverts commit 39a3c72057
.
2017-10-11 11:24:54 -07:00
Tom Eastep
15a3b29a32
Revert "Document warning when RESTORE_DEFAULT_ROUTE=Yes and 'persistent'"
...
This reverts commit bfab002dda
.
2017-10-11 11:24:39 -07:00
Tom Eastep
cb4f9e7261
Don't restore default routes when there is an enabled fallback provider
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 11:24:13 -07:00
Tom Eastep
bfab002dda
Document warning when RESTORE_DEFAULT_ROUTE=Yes and 'persistent'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 11:01:09 -07:00
Tom Eastep
ddb12fcad9
Add/correct comments
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 11:00:46 -07:00
Tom Eastep
42ce754961
Don't restore default routes when a fallback= provider is enabled
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 11:00:05 -07:00
Tom Eastep
5cd4d63bc5
Delete main default routes when a fallback provider is enabled
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 10:59:31 -07:00
Tom Eastep
5b567f2d8b
Correct delete_default_routes() in tables other than main
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 10:58:48 -07:00
Tom Eastep
39a3c72057
Warn when RESTORE_DEFAULT_ROUTE=Yes and a persistent provider is defined
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-11 10:58:09 -07:00
Tom Eastep
b47e633c38
Use 'route replace' rather than 'route add' to avoid persistence issues
...
Previous failure case was:
- disable interface
- reload
- enable interface
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-09 08:58:10 -07:00
Tom Eastep
1b55a37a28
Ensure that 'rule add' commands don't fail with persistent interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-08 08:53:53 -07:00
Tom Eastep
a97dcd23d0
Allow merging of rules that specify an IPSEC policy
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-07 13:17:43 -07:00
Tom Eastep
108b169d8d
Treat LOG_TARGET like all other capabilities
...
- Previous implementation could generate unworkable script when
LOAD_HELPERS_ONLY=Yes
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-06 08:01:52 -07:00
Tom Eastep
a9fbaa57ed
Pass -$g_family to 'ip xfrm' commands
...
- This currently doesn't work correctly, but maybe it will in the future
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-10-06 08:00:29 -07:00
Tom Eastep
317f12041b
Strengthen the test for empty SPD entries
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-30 15:43:17 -07:00
Tom Eastep
8469f983d8
Merge branch '5.1.7'
...
# Conflicts:
# Shorewall/Perl/prog.footer
2017-09-29 15:25:37 -07:00
Tom Eastep
f54acb665a
Correct handling of mark range in MARK target.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-29 14:44:33 -07:00
Tom Eastep
3d2e9eb93e
Improve the fix for SELinux "getattr" denials
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-28 15:16:50 -07:00
Tom Eastep
c6a939301f
Improve the fix for SELinux "getattr" denials
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-28 15:16:00 -07:00
Tom Eastep
1cb98254cc
Handle SELinux getattr denials in open() processing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-26 16:42:54 -07:00
Tom Eastep
baa791a1e3
Handle SELinux getattr denials in open() processing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-26 16:41:50 -07:00
Tom Eastep
8b4b965f63
Remove unnecessary disable/enable of script generation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-21 14:36:30 -07:00
Tom Eastep
8ee2d6246c
Update a comment in the compiler
...
- get_configuration() also processes the shorewallrc file(s)
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-21 12:32:34 -07:00
Tom Eastep
a7be3dfece
Align progress messages produced by 'reenable'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 13:29:13 -07:00
Tom Eastep
846e8c4ece
Correct reenable logic
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 13:29:08 -07:00
Tom Eastep
e2bf7e6584
Align progress messages produced by 'reenable'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 13:28:09 -07:00
Tom Eastep
ff3994f6a1
Correct reenable logic
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 13:17:50 -07:00
Tom Eastep
494ec9c59c
Avoid extra comparison in reload_command()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 10:49:11 -07:00
Tom Eastep
1cde92e8f3
Initialize g_dockeringress
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 10:43:44 -07:00
Tom Eastep
721a1e3b33
Initialize g_dockeringress
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 10:39:52 -07:00
Tom Eastep
84fa774cb7
Change copyright dates in lib.runtime
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-19 09:03:00 -07:00
Tom Eastep
c39bc7b65f
Update version of lib.*installer
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 13:09:35 -07:00
Tom Eastep
2548e8741d
Update version and copyright dates in lib.common
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 13:07:37 -07:00
Tom Eastep
0a31fba6bb
Update version and copyright dates in lib.core
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 13:00:50 -07:00
Tom Eastep
9701c9c522
Update version and copyright dates in lib.base
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 12:57:02 -07:00
Tom Eastep
973d352209
Update shorewall script
...
- Update copyright dates
- Add a comment about PRODUCT setting
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 12:51:27 -07:00
Tom Eastep
91e59c2ed4
Remove the Lite Makefiles
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 11:56:04 -07:00
Tom Eastep
be5aabcbfb
Correct typo in Chains.pm
...
&g_dockeringress -> $g_dockeringress
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 10:14:22 -07:00
Tom Eastep
a8937e6bc8
Correct harmless typo
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 10:06:41 -07:00
Tom Eastep
e91bd9a0e9
Remove useless/empty .tmp file when SAVE_IPSETS is set
...
- Add SAVE_IPSETS support to the Redhat/Fedora sysv init script
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-18 09:28:43 -07:00
Tom Eastep
5e1cf17ebc
DOCKER-INGRESS support
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-17 10:57:29 -07:00
Tom Eastep
85a7ec6fe5
Correct module loading in the compiler
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-14 15:08:38 -07:00
Tom Eastep
fb831e3128
Remove empty/useless ipsets tmp file in Shorewall-init
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-12 11:56:24 -07:00
Tom Eastep
2ed11c7e15
Default ADD_IP_ALIASES to 'No' in Shorewall6
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-12 11:55:53 -07:00
Tom Eastep
ef1353790e
Correct VLSM editing in the 'ipcalc' command.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-12 10:53:41 -07:00
Tom Eastep
4f79d2e82b
Move and simplify handling of nat columns
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-12 10:53:04 -07:00
Tom Eastep
e6a2ba78a4
Correct handling of DEST column during action invocation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-08 10:05:37 -07:00
Tom Eastep
41ea3bdeda
Modify the Event actions to handle NAT rules
...
- Separate DNAT and REDIRECT into DNAT- and REDIRECT- plus ACCEPT
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-08 09:47:12 -07:00
Tom Eastep
1065c2951b
Allow NAT targets to be passed to the Event actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-08 09:46:03 -07:00
Tom Eastep
3b373f3f21
Correct handling of ipsets in the DEST column of the snat file
...
- Also corrected handling of exclusion
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-06 11:30:42 -07:00
Tom Eastep
0c05ab3bff
Correct typo in shorewall-snat(5)
...
- missing ':' in IPv4 Example 4.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-09-05 10:29:19 -07:00
Tom Eastep
ef3a33e3f4
Merge branch '5.1.6'
...
# Conflicts:
# Shorewall-core/lib.common
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-30 15:02:23 -07:00
Tom Eastep
8a78fb6e77
Correct -p check for the conntrack utility's availability
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-29 09:06:36 -07:00
Tom Eastep
b54a691110
Improve dynamic gateway detection
...
- Use provider's routing table, if any
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-23 15:04:47 -07:00
Tom Eastep
90f33dd436
Eliminate MODULE_SUFFIX
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-23 12:48:14 -07:00
Tom Eastep
b7aef24d7c
Delete useless line of code
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-23 12:18:29 -07:00
Tom Eastep
6f475cde3f
Eliminate MODULE_SUFFIX
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-23 10:19:25 -07:00
Tom Eastep
6053a40af0
Apply Tuomo Soini's loadmodule patch
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-23 09:20:50 -07:00
Tom Eastep
7e4dba7623
Revert "Correct check for module already loaded"
...
This reverts commit 2e98d4375b
.
2017-08-23 08:01:25 -07:00
Tom Eastep
3d322d31b7
Add UDP rule to macro.RDP
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-22 08:07:32 -07:00
Tom Eastep
34e4fffd7d
Module suffix changes
...
- Re-order default list in the compiler to match lib.common
- MODULE_SUFFIX="ko ko.xz" in standard .conf files.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-21 12:44:23 -07:00
Tom Eastep
2e98d4375b
Correct check for module already loaded
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-21 10:27:29 -07:00
Tom Eastep
419ff8903b
Invert logic in Shorewall::Chains::delete_reference() - better readability
...
- similar change in Shorewall::Chains::adjust_reference_counts()
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-19 12:25:27 -07:00
Tom Eastep
390ac30be8
Remove a superfluous line of code from Shorewall::Chains::format_rule()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-19 12:12:54 -07:00
Tom Eastep
8cb98f16ea
Add a comment in Shorewall::Chains::optimize_level8()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-19 08:08:24 -07:00
Tom Eastep
5a9f179e25
Allow port variables as the server port in DNAT rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-16 15:36:18 -07:00
Tom Eastep
d8eca457de
Correct typo in the Aliased Interfaces article.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-16 08:24:44 -07:00
Tom Eastep
8641d53bd1
Use MUTEX_TIMEOUT for ip[6]tables --wait interval
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-15 14:02:08 -07:00
Tom Eastep
7e3521e221
RESTORE_WAIT_OPTION
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-13 18:56:40 -07:00
Tom Eastep
0603f8e355
Serialize start of IPv4 and IPv6 under systemd
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-13 12:48:18 -07:00
Tom Eastep
ddefde2d10
Correct handling of address variables in DNAT rule.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-13 08:30:11 -07:00
Tom Eastep
2beeedd8fe
Remove incorrect '+' info from shorewall-interfaces(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-12 12:19:00 -07:00
Tom Eastep
1a2647618e
Allow runtime address variables as the server IP in DNAT rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-12 12:18:16 -07:00
Tom Eastep
72293883dd
Tabify the Zones module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-12 11:28:14 -07:00
Tom Eastep
c31397532c
Verify that parent and child zones have a common interface
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-12 09:24:05 -07:00
Tom Eastep
d0861e813b
Make Shorewall's handling of '+' consistent with that of iptables
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-12 08:22:57 -07:00
Tom Eastep
5d5bef105a
Remove reference to swping from the shorewall-init article.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-11 13:38:58 -07:00
Tom Eastep
da62bd2b32
Use a hash slice in recently-added code
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-11 13:38:34 -07:00
Tom Eastep
a83c19cc33
Adjust some default values in shorewall.conf(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-10 15:48:16 -07:00
Tom Eastep
96a33395e8
Correct typo in the Squid document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-09 15:42:19 -07:00
Tom Eastep
dabe8abe52
Add 'action' to the conntrack columns for alternate input
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-09 12:41:45 -07:00
Tom Eastep
a504820d19
Correct optimize level 8 handling of policy and policychain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-07 16:56:30 -07:00
Matt Darfeuille
8db4265ccc
docs: Clarify path for locating Shorewall files
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-07 13:48:47 -07:00
Tom Eastep
4c2c1bcdf1
Export CONFDIR and SHAREDIR to the generated script.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-06 13:42:01 -07:00
Tom Eastep
f2ee8013fc
Update the providers manpage re balanced IPv6 routes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-05 10:12:42 -07:00
Tom Eastep
56c8f70b52
Describe the parameters passed to the enable and disable extension scripts
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-04 12:38:14 -07:00
Tom Eastep
657215f9b5
Add sample enabled and disabled scripts
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-03 12:50:49 -07:00
Tom Eastep
5589ab76d9
Add arguments to the enabled and disabled user exits
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-03 12:44:15 -07:00
Tom Eastep
ec0e6763e4
add 'enabled' and 'disabled' to the Extension Script Article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-02 15:44:48 -07:00
Tom Eastep
6425e5ae5d
Remove superfluous white space in the generated script
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-02 14:09:05 -07:00
Tom Eastep
8521c6f750
Merge branch '5.1.5'
2017-08-02 14:02:03 -07:00
Tom Eastep
c57edb0fbf
Update FAQ2* to use address variables
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-08-01 14:56:20 -07:00
Tom Eastep
80e6cd8a2f
Add enabled and disabled user exits
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-29 15:15:57 -07:00
Tom Eastep
69a0061d0f
Correct handling of MAC addresses in the accounting file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-27 14:55:19 -07:00
Tom Eastep
5a24953e6c
Merge branch '5.1.5'
2017-07-27 09:14:50 -07:00
Tom Eastep
eea3cca90c
Correct handling of USER/GROUP in the OUTPUT accounting section
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-27 09:01:46 -07:00
Tom Eastep
a420ef04d9
Correct tcfilter source port handling when BASIC_FILTERS=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-26 16:48:53 -07:00
Tom Eastep
e573436b12
Correct tcfilter source port handling when BASIC_FILTERS=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-23 12:14:57 -07:00
Tom Eastep
7f44473387
Correct some typos in the Install article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-23 10:44:46 -07:00
Tom Eastep
cf9773c4de
Update FAQ 76 to make it non-Debian specific
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-21 16:56:08 -07:00
Tom Eastep
939f0e92a5
Allow configure.pl to recognize $SOURCE_DATE_EPOCH
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-20 15:18:50 -07:00
Tom Eastep
320d448684
Apply Bernhard M. Wiedemann's patch for configure...
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-20 15:18:41 -07:00
Tom Eastep
975a14b94f
Allow configure.pl to recognize $SOURCE_DATE_EPOCH
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-20 14:48:40 -07:00
Tom Eastep
cf3c304078
Apply Bernhard M. Wiedemann's patch for configure...
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-20 14:19:39 -07:00
Tom Eastep
d1a21fb678
Revert "Add SHARED_CONFIG option to shorewallrc"
...
This reverts commit 4e978b687d
.
2017-07-20 12:23:59 -07:00
Tom Eastep
b9b7baf98d
Merge branch '5.1.5'
2017-07-20 10:37:53 -07:00
Tom Eastep
92e725de97
Remove link to non-existent blog
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-16 09:23:02 -07:00
Tom Eastep
922bd9eeca
Implement SPARSE=Very
...
- Only installs the .conf file.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-09 16:18:09 -07:00
Tom Eastep
d2b3fa476a
Correct VLSM (56->60) in the Shared Config Document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-09 16:17:16 -07:00
Tom Eastep
4e978b687d
Add SHARED_CONFIG option to shorewallrc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-07 08:25:33 -07:00
Tom Eastep
2d0cb5c2d8
Process the snat file if the masq file is empty
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-06 09:09:52 -07:00
Tom Eastep
d9dc6bcfe2
Merge branch 'master' into 5.1.5
2017-07-06 07:48:51 -07:00
Tom Eastep
ff51915b4f
Add the shared config document to the index
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-06 07:48:03 -07:00
Tom Eastep
1ad796ba5d
Add Warning to Squid document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-02 18:11:42 -07:00
Tom Eastep
c8e2b4ae28
Add Shared Configs Document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-07-02 18:11:16 -07:00
Tom Eastep
9d160d4342
Add RESTORE_DEFAULT_ROUTE to shorewall6.conf samples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-27 15:50:56 -07:00
Tom Eastep
1301848315
Change .conf files to specify USE_NFLOG_SIZE=No
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-26 10:46:16 -07:00
Tom Eastep
f050fc6e05
Avoid issues with Perl 5.30
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 20:57:48 -07:00
Tom Eastep
61b6898782
Add dropBcasts action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 18:36:54 -07:00
Tom Eastep
aee8c14ea6
Correct update setting of USE_NFLOG_SIZE
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 17:10:44 -07:00
Tom Eastep
ff2323b249
Add the USE_NFLOG_SIZE option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 16:54:14 -07:00
Tom Eastep
b4a06e9656
NFLOG_SIZE capability
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 13:44:26 -07:00
Tom Eastep
4122021344
Improve editing of port numbers/service names
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 07:44:23 -07:00
Tom Eastep
71d50e0217
Use --nflog-size rather than --nflog-range
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-25 07:43:39 -07:00
Tom Eastep
1b6f15d577
Correct multiple fallback providers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-23 07:41:23 -07:00
Tom Eastep
7515520b46
Don't use symlinks for shorewall6 manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-22 13:57:00 -07:00
Tom Eastep
1e2030fd6f
Document leading "+" in inline matches
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-22 13:56:39 -07:00
Tom Eastep
708644f7c9
Clarify isusable and persistent providers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-21 14:26:11 -07:00
Tom Eastep
2f5687c65a
Don't generate multihop routes unnecessarily
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-18 09:37:41 -07:00
Tom Eastep
66d1fbd3aa
Clean up shorewall[6].conf(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-17 10:39:46 -07:00
Tom Eastep
c410459e27
Correct install of section 5 manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-17 10:30:49 -07:00
Tom Eastep
987e54cd54
Move shorewall6-proxyndp.xml to Shorewall/manpages/shorewall-proxyndp.xml
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-17 09:07:28 -07:00
Tom Eastep
42a46d42b6
Centralize the complete list of manpages in shorewall(8)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-16 17:11:43 -07:00
Tom Eastep
d8ef934f24
Consolidate manpages between Shorewall and Shorewall6
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-16 15:01:41 -07:00
Tom Eastep
62a60ad995
Add comments around functions moved from IPAddrs.pm to Chains.pm.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-14 12:26:22 -07:00
Tom Eastep
b1ba05db2b
Correct handling of port ranges and port variables
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-12 17:07:55 -07:00
Tom Eastep
57f7cb4f3c
Runtime Port Variables
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-12 11:55:56 -07:00
Tom Eastep
4cf60258af
Correct a runtime error with NFQUEUE.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-12 11:07:54 -07:00
Tom Eastep
1061644ac7
Clean up links in the manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-06-08 15:43:59 -07:00
Tom Eastep
4a262c0e1b
Add FIN action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-31 08:28:27 -07:00
Tom Eastep
29ffb7eb4b
Merge branch '5.1.4'
2017-05-31 08:23:07 -07:00
Tom Eastep
a775fdcb7c
Remove stutter from the .conf manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-31 08:21:45 -07:00
Tom Eastep
6338aa42b0
Add BLACKLIST to IPv6 actions.std file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-26 07:39:09 -07:00
Tom Eastep
12a32d3a6b
Update LOGFORMAT documentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-26 07:33:34 -07:00
Tom Eastep
45d96a5d64
Clean up the introductory part of shorewall-rules.xml
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-19 08:02:42 -07:00
Tom Eastep
f21d6de4d6
Clean up the introductory part of shorewall-rules.xml
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-17 15:28:51 -07:00
Tom Eastep
965a8e8f68
Minor cleanup of the Config module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-15 09:29:12 -07:00
Tom Eastep
eb26a467e9
Add snat and mangle to %config_files
...
- Tabify initialization of %config_files
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-12 08:37:54 -07:00
Tom Eastep
28e3218041
Update the copyrights on the two- and three-interface HOWTOs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-11 15:51:28 -07:00
Tom Eastep
bb70a3637b
Add PERL_HASH_SEED option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-02 07:51:37 -07:00
Tom Eastep
6c20cc7c4f
Inline the start_command::do_it() function in lib.cli-std
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-05-01 13:51:53 -07:00
Tom Eastep
d4e05f6163
Correct handling of IPv6 tunnel-src and tunnel-dst
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-04-23 08:36:22 -07:00
Tom Eastep
6201f37913
Clarify <filename> in the generated script's header
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-04-18 16:45:17 -07:00
Tom Eastep
7ee44d6b4b
Correct a typo in the generated script's header syntax description
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-04-18 16:31:51 -07:00
Tom Eastep
363b8f9802
Correct validation of string interface options.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-04-13 06:48:14 -07:00
Tom Eastep
d365a9ff18
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2017-04-05 20:15:10 -07:00
Tom Eastep
00d4724fd8
Some cleanup of the Chains module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-04-05 20:14:13 -07:00
Matt Darfeuille
749c8047d8
Explain the 'ipset' package
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Roberto C. Sánchez <roberto@connexer.com >
2017-04-05 11:50:36 -04:00
Tom Eastep
a00f2e6365
Update Copyright on the Documentation Index
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-31 20:34:43 -07:00
Tom Eastep
a46f19899b
Correct typo in links to the logging article.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-27 16:12:56 -07:00
Tom Eastep
d2392c3a9b
Add IPv6 UPnP Support
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-24 09:54:36 -07:00
Tom Eastep
0763b27b0b
Correct a comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-22 15:59:55 -07:00
Tom Eastep
8b90827611
Minor cleanup of split_columns()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-22 10:18:07 -07:00
Tom Eastep
8507c97b5a
Clean up column/value pair editing.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-22 09:46:52 -07:00
Tom Eastep
a6306f2c08
?reset action param now sets parmsmodified.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-18 12:53:05 -07:00
Tom Eastep
a79dc194a4
Re-factor the directive message change
...
- results in much more compact code
- Document change in the config basics doc
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-18 11:42:53 -07:00
Tom Eastep
ccf9d73c72
Clarify line continuation WRT params and .conf
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-17 19:13:29 -07:00
Tom Eastep
bdcf93f92c
Report the call site when issuing messages from an action.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-17 17:08:19 -07:00
Tom Eastep
6b84727886
Delete useless blank line
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-17 13:26:07 -07:00
Tom Eastep
5f445d9c2b
Merge branch '5.1.3'
2017-03-16 14:14:20 -07:00
Tom Eastep
31bd10ffdd
Correct two-interface sample snat file
...
- s/92/192/
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-15 21:18:23 -07:00
Tom Eastep
c3303067fc
Correct all+ handling in the policy file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-15 11:20:37 -07:00
Tom Eastep
55cf06d0a8
Correct all+ handling in the policy file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-15 10:09:53 -07:00
Tom Eastep
c36a7cd35b
Correct typo in the Shorewall6 sample .conf files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-15 08:57:18 -07:00
Tom Eastep
561efa595c
Correct typo in the Shorewall6 sample .conf files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-15 08:55:41 -07:00
Tom Eastep
158f6305b1
Correct install fix
...
- Also remove extra logic from action.Broadcast
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-14 14:39:25 -07:00
Tom Eastep
6407520a35
Add warning messages to the deprecated actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-14 14:32:28 -07:00
Tom Eastep
54336eaa80
Delete IPv6 actions that are now handled by their IPv4 counterparts
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-14 14:24:17 -07:00
Tom Eastep
5b85627fb8
Merge branch '5.1.3'
...
Conflicts:
Shorewall/Perl/Shorewall/Config.pm
Shorewall6/Actions/action.Multicast
2017-03-14 14:16:47 -07:00
Tom Eastep
a00d7217e3
Correct last commit
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-14 13:58:59 -07:00
Tom Eastep
54ef4e4ced
Delete deprecated actions during install
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-14 13:46:24 -07:00
Tom Eastep
a447d726fa
Revert change which screwed up ?begin perl ... ?end perl line numbering
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-14 12:44:33 -07:00
Tom Eastep
c6050f9fbb
Correct log message from IPv6 Multicast action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 16:55:45 -07:00
Tom Eastep
fe29adbd66
Correct use of $family in combined actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 16:52:16 -07:00
Tom Eastep
4dc6be6b3b
Deprecate A_AllowICMPs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 15:09:07 -07:00
Tom Eastep
6ebc8f4266
Merge branch '5.1.3'
2017-03-13 14:55:23 -07:00
Tom Eastep
c5c4211081
Unify actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 14:54:25 -07:00
Tom Eastep
4010f9bce4
Add multicast to the Deprecated A_Drop and A_Reject actions
...
- Move A_Drop to deprecated/ directory
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 14:18:23 -07:00
Tom Eastep
02bb717d7d
Quote SMURF_LOG_LEVEL setting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 11:21:13 -07:00
Tom Eastep
046998ed84
Tabification of new actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 11:19:35 -07:00
Tom Eastep
24a014655b
Quote all _DEFAULT settings in the sample .conf files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 11:00:29 -07:00
Tom Eastep
0b8945da8e
Correctly handle expansion of option names
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 10:20:15 -07:00
Tom Eastep
da363880a9
Always quote the LEVEL and DEFAULT settings when updating
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-13 09:51:58 -07:00
Tom Eastep
b049d1805d
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
...
Conflicts:
Shorewall/Perl/Shorewall/Config.pm
2017-03-13 08:52:01 -07:00
Tom Eastep
037fe490f3
Process config options in file order during update.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-12 17:09:41 -07:00
Tom Eastep
a8d7675322
Process config options in file order during update.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-12 09:01:22 -07:00
Tom Eastep
b13014c9ab
Expand variables in .conf except when upgrading
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-11 11:21:07 -08:00
Tom Eastep
76aef6cb04
Correct generation of '! --syn'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-11 08:43:04 -08:00
Tom Eastep
4c72b3ee58
Make sure that $LOG_LEVEL is defined
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-10 11:06:23 -08:00
Tom Eastep
d9071c5308
Correct $LOG_LEVEL expansion
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-10 10:24:24 -08:00
Tom Eastep
5729be6431
Add dropInvalid to BLACKLIST_DEFAULT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-10 09:06:41 -08:00
Tom Eastep
1a381f717c
Revert "Remove Multicast from the shorewall6.conf samples"
...
This reverts commit 655f260cb6
.
2017-03-10 08:54:05 -08:00
Tom Eastep
c534c458dd
Revert "Remove Multicast from IPv6 Policy Actions"
...
This reverts commit 85d571d013
.
2017-03-10 08:53:54 -08:00
Tom Eastep
61435936fe
Correct CONFIG_PATH in IPv6 Universal sample
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-09 14:06:47 -08:00
Tom Eastep
2d4c1411bd
Delete the -n option from remote-reload in shorewall(8)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-09 13:17:23 -08:00
Tom Eastep
655f260cb6
Remove Multicast from the shorewall6.conf samples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-09 13:16:52 -08:00
Tom Eastep
85d571d013
Remove Multicast from IPv6 Policy Actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-09 13:12:03 -08:00
Tom Eastep
fdb78898fc
Make TC_ENABLED=Shared the default in the samples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-09 13:06:55 -08:00
Tom Eastep
d4c016d9c5
'reload' documentation corrections
...
- Add command synopsis to the manpage
- Correct command synopsis in help output
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-09 12:50:30 -08:00
Tom Eastep
3d8d5aa469
quote $LOG_LEVEL in shorewall[6].conf files
...
- Delete AllowICMPs from IPv4 policy action settings
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-08 14:16:24 -08:00
Tom Eastep
49811d24fa
Correct convertion of tcrules->mangle when a writable mangle exists
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 15:21:45 -08:00
Tom Eastep
fe4aaee1b4
Fix typos in action.dropNotSyn
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 14:37:08 -08:00
Tom Eastep
0ec7bc846e
Correct logging in inline policy actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 13:58:14 -08:00
Tom Eastep
dbcd4d9d16
Correct typo in action.AllowICMPs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 13:57:05 -08:00
Tom Eastep
5a996cbda7
Change AllowICMPs to an inline action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/actions.std
2017-03-07 13:56:44 -08:00
Tom Eastep
6019adaae5
Change macro.ICMPs to an inline action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/actions.std
2017-03-07 13:54:52 -08:00
Tom Eastep
4f869c3506
More manpage updates for tcp:!syn
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 11:13:58 -08:00
Tom Eastep
e3c2874b21
Modify dropNotSyn to use {proto=6:!syn}
...
- also make the same change in the rejNotSyn audited case
2017-03-07 11:00:39 -08:00
Tom Eastep
e8a0142480
Document tcp:!syn support
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 10:48:24 -08:00
Tom Eastep
a4768776f7
Modify rejNotSyn to use new/corrected features
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 10:34:15 -08:00
Tom Eastep
8e000b158e
Correct the handling of tcp-reset
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 10:33:51 -08:00
Tom Eastep
f1d1ab6411
Implement tcp:!syn in PROTO column
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-07 10:33:20 -08:00
Tom Eastep
cd103bb715
Correct rejNotSyn
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-06 16:01:31 -08:00
Tom Eastep
5f1370f1b4
Clear the firewall on Debian systemd 'stop' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-06 11:22:55 -08:00
Tom Eastep
dc53fa2665
Correct file/line from ?error
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-06 11:02:06 -08:00
Tom Eastep
71d9a03697
Update shorewall[6]-rules.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-05 14:29:57 -08:00
Tom Eastep
137d4bcc90
Alter logging behavior of Limit
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-05 13:03:57 -08:00
Tom Eastep
356d3fa2dd
Correct new directives with respect to omitting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-05 12:09:54 -08:00
Tom Eastep
80d93235b5
Eliminate builtin actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-05 12:09:33 -08:00
Tom Eastep
c1e7fce1c5
Report the file/line where action invoked
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-05 09:29:00 -08:00
Tom Eastep
63ec936f21
Remove determinism sorts
2017-03-04 19:05:33 -08:00
Tom Eastep
dabe0bd205
Set PERL_HASH_SEED to make compilation deterministic.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-04 18:48:48 -08:00
Tom Eastep
63cf7dd699
Revert "Move $test to the config module."
...
This reverts commit 876d76b294
.
2017-03-04 18:45:40 -08:00
Matt Darfeuille
0b3a32b365
Change the preferred way to remove sysvinit script
...
- Correct typo in command
- Correct spacing
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-04 09:03:59 -08:00
Matt Darfeuille
a839a6f7d0
init: Add parameter files for Debian
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-04 09:03:49 -08:00
Matt Darfeuille
fec967a41d
Do not display where an executable is located
...
Use only the exit status of the function mywhich to determine which
command should be used to remove sysvinit script.
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-04 09:03:29 -08:00
Tom Eastep
a7d45e9566
Restore logging to the BLACKLIST action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-03 10:14:30 -08:00
Tom Eastep
876d76b294
Move $test to the config module.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-02 11:42:07 -08:00
Tom Eastep
9075a6dd7a
Copy libs and footer when compiling for test
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-02 10:49:49 -08:00
Tom Eastep
c900e3e51c
Merge branch '5.1.2'
2017-03-02 10:17:50 -08:00
Tom Eastep
e585ce04f4
Rename action.allowUPnP to action.allowinUPnP
...
- Allows 'show action allowinUPnP' to work correctly.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-02 10:06:01 -08:00
Tom Eastep
61f5e3531c
Rename action.allowUPnP to action.allowinUPnP
...
- Allows 'show action allowinUPnP' to work correctly.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-03-02 10:05:31 -08:00
Tom Eastep
e8a5c45aae
Correct FAQ 1e
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-25 09:10:40 -08:00
Tom Eastep
d20ad64739
Correct FAQ 1e
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-25 08:54:14 -08:00
Matt Darfeuille
7ffe8e4e4b
shorewall: Document the -p option in installer
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-23 09:33:35 -08:00
Matt Darfeuille
7644e1d49f
Update version and fix comment lines in rc files
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:29 -08:00
Matt Darfeuille
06c6a017d5
Use a specific parameter file for systemd script
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:25 -08:00
Matt Darfeuille
75fd8ccb37
Use a specific parameter file for sysvinit script
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:21 -08:00
Matt Darfeuille
c04845534a
Use a common uninstaller for Lite and Lite6
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:15 -08:00
Matt Darfeuille
8c7e6fddfd
Use a common uninstaller for Sw and Sw6
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:11 -08:00
Matt Darfeuille
e6ed4d425d
core: Uninstall manpages
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:06 -08:00
Matt Darfeuille
783e438b4a
Be more verbose while uninstalling Shorewall
...
- Remove version file as a file and not as a directory.
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:56:00 -08:00
Matt Darfeuille
27a620347a
shorewall: Fail if Shorewall-core is not installed
...
Shorewall-core's version file resides in ${SHAREDIR}/shorewall.
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:55:56 -08:00
Matt Darfeuille
a496edef54
Use a function to fail on fatal error
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:55:50 -08:00
Matt Darfeuille
50a9b4cc6a
core: Fail without a rc file and correct error msg
...
Abort Shorewall-core's installer execution if no Rc file is detected.
- Correct the error message
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:55:46 -08:00
Matt Darfeuille
22b044f350
shorewall: Use a function to install file
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:55:41 -08:00
Matt Darfeuille
c58efe7698
Unify the uninstallers
...
- Clean up code
- Use the .service suffix
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:55:36 -08:00
Matt Darfeuille
f48b2e715f
Unify the installers
...
- Clean up code
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:55:31 -08:00
Matt Darfeuille
f6f7e691d0
Fail if the rc file can not be loaded
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:54:40 -08:00
Matt Darfeuille
a9048b63f2
Correct typos
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:54:36 -08:00
Matt Darfeuille
bc1df90829
Group comment lines with corresponding command
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:54:33 -08:00
Matt Darfeuille
09462cf92b
Use 4 octal digits as numeric mode in installers
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:54:29 -08:00
Matt Darfeuille
315d4c39b8
Create and set directory mode using a function
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:54:04 -08:00
Matt Darfeuille
42554f8f31
Add cant_autostart() to the installers's library
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:53:59 -08:00
Matt Darfeuille
f0debcb6fb
Copy only required libraries to run Shorewall
...
Copy only libraries that are required by Shorewall to operate properly.
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:53:54 -08:00
Matt Darfeuille
e8a9b8ddc8
lite: Change into the uninstaller's script dir
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:53:48 -08:00
Matt Darfeuille
20cc56f2f1
Load uninstallers's common functions
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 17:53:39 -08:00
Matt Darfeuille
4e771083c7
Load installers's common functions
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 16:42:38 -08:00
Matt Darfeuille
a3fc110dc9
Add the library file for the uninstallers
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 16:41:55 -08:00
Matt Darfeuille
813f592b46
Add the library file for the installers
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 16:41:25 -08:00
Matt Darfeuille
a6eebc8ecf
Replace product names by product vars
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-22 16:40:41 -08:00
Tom Eastep
6966270822
Allow 'show action' on buitin actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-19 13:43:23 -08:00
Tom Eastep
118e4f73c9
Correct validation of LOG_LEVEL
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-19 10:25:44 -08:00
Tom Eastep
10b39f3855
Correct typo (allowMast -> allowMcast)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-19 10:25:27 -08:00
Tom Eastep
c4f21ffefb
Additional documentation changes.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-15 13:11:52 -08:00
Tom Eastep
a71b61c238
Delete the deprecated macros and actions during install
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-15 10:16:53 -08:00
Tom Eastep
944888c04f
Handle broadcast and muticast separately
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-15 10:16:20 -08:00
Tom Eastep
48d301b2cf
Rename the policy LIMIT column to RATE
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-12 10:17:43 -08:00
Tom Eastep
735919d8d3
Add LOG_LEVEL option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-12 09:52:55 -08:00
Tom Eastep
b4561e97c8
Deprecate Drop and Reject in actions.std
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-12 09:28:38 -08:00
Tom Eastep
66a63a4da5
Fix instances of $LOGrmation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-12 08:33:56 -08:00
Tom Eastep
8c9fb501fd
Adjust .conf files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-11 13:41:28 -08:00
Tom Eastep
977fa81d46
Make 'none' case-insensitive in policy action specifications
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-10 11:43:51 -08:00
Tom Eastep
09fda9eb6c
Manpage updates:
...
- interfaces: Clarify the 'bridge' option
- rtrules: Warn about similar rules with same priority
2017-02-10 11:43:04 -08:00
Tom Eastep
7e984af094
Some cleanup of policy actions
...
- Allow '+' in policy file action list
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-07 13:19:53 -08:00
Tom Eastep
af8d4e32c2
Replace 'info' with '$LOG' in the sample policy files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-07 08:27:19 -08:00
Tom Eastep
ca33a7ef65
Fix Sample .conf files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 18:28:05 -08:00
Tom Eastep
e91f414223
Document policy action changes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 17:09:23 -08:00
Tom Eastep
5cd2f26b51
Correct shorewall.conf(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 14:46:10 -08:00
Tom Eastep
dab9e1d7c4
Assume no default actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 14:45:43 -08:00
Tom Eastep
b9471a2499
Correct parsing of the POLICY column
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 14:15:24 -08:00
Tom Eastep
3b82721956
Update Shorewall6 default-action defaults
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 13:56:45 -08:00
Tom Eastep
95ffada759
Change sample IPv4 default actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 13:47:02 -08:00
Tom Eastep
b2553fb008
Another change to allow builtin actions as default actions.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 13:25:10 -08:00
Tom Eastep
8bc70674f3
Make DropDNSrep an inline action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 11:21:56 -08:00
Tom Eastep
cecb8a1950
Deprecate the Drop and Reject actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 10:52:31 -08:00
Tom Eastep
079d862bb3
Document default-action lists
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 10:51:57 -08:00
Tom Eastep
d50fdea2a7
Merge branch '5.1.1'
2017-02-06 10:26:55 -08:00
Tom Eastep
4c97c58981
Apply Tuomo's fix for CLI run with no command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 10:25:20 -08:00
Tom Eastep
92133e5a6b
Default-action lists
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-06 10:11:48 -08:00
Tom Eastep
686ca9d3a3
Allow builtin actions in xxx_DEFAULT settings.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-02-05 15:21:57 -08:00
Tom Eastep
fa7ad6bd74
Update blacklisting article:
...
- ipset-based blacklisting
- BLACKLIST policy and action
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-26 13:17:46 -08:00
Tom Eastep
e45b96ca20
Update blacklisting article:
...
- ipset-based blacklisting
- BLACKLIST policy and action
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-26 13:17:11 -08:00
Matt Darfeuille
eac2639684
core: Correct the path being displayed for the CLI
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-24 16:19:08 -08:00
Tom Eastep
70a395892f
Make BLACKLIST work correctly in the blrules file
...
- Add the 'section' action option
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 15:03:02 -08:00
Tom Eastep
d2d11df4f6
Make action.BLACKLIST behave correctly in the blrules file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 13:35:10 -08:00
Tom Eastep
b985654600
Correct typo in heading of Reject and Drop actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 11:54:40 -08:00
Tom Eastep
62ff6d3fa5
Remove obsolete macros
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 09:26:19 -08:00
Tom Eastep
2bbb5c8c1e
Add hack to distinguish between the BLACKLIST macro and action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 09:23:26 -08:00
Tom Eastep
33b4ee4d31
Don't quote variable values in ERROR/WARNING/INFO directives
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 09:00:18 -08:00
Tom Eastep
889ca756a1
Document @action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-23 08:58:42 -08:00
Tom Eastep
d111e4f186
Handle built-in actions in 'show action'
...
- Remove a couple of non-actions from IPv4 actions.std
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-22 15:40:36 -08:00
Tom Eastep
634c8debda
Use ?REQUIRE in several actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-22 14:59:37 -08:00
Tom Eastep
71dd5d016b
Add ?REQUIRE compiler directive
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-22 14:48:18 -08:00
Tom Eastep
6b408869d2
Correct the synopsis in two action files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-22 11:47:12 -08:00
Tom Eastep
edf08bf408
Cosmetic change in compiler()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-21 19:47:50 -08:00
Tom Eastep
4a01e910ff
Delete unused iptablesbug() function
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-21 14:42:24 -08:00
Tom Eastep
2a010f827b
Add 'show action' command.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-19 15:58:18 -08:00
Tom Eastep
9c3a82f628
Add BLACKLIST action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-19 14:08:15 -08:00
Tom Eastep
e6933f4c8d
Add BLACKLIST policy
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-18 10:55:15 -08:00
Tom Eastep
cc3b8793e0
Make BALANCE_PROVIDERS default the setting of USE_DEFAULT_RT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-17 15:02:16 -08:00
Tom Eastep
ac5fd195ec
Correct provider/routefilter check wrt optional interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-17 09:34:13 -08:00
Tom Eastep
45b9ddf188
Add BALANCE_PROVIDERS option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-17 08:58:09 -08:00
Tom Eastep
2d16fac9ed
Revert "Implement USE_DEFAULT_RT=Exact"
...
This reverts commit 2ca1ae734a
.
2017-01-17 08:25:33 -08:00
Tom Eastep
f23970b4f7
Include LOG_MARTIANS in test for setting log_martians with routefilter
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-14 13:03:24 -08:00
Tom Eastep
04112647d3
Correct provider/routefilter checking
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-14 12:40:39 -08:00
Tom Eastep
2ca1ae734a
Implement USE_DEFAULT_RT=Exact
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-14 08:14:08 -08:00
Tom Eastep
b36b07b567
Correct 'show macros'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-12 08:35:03 -08:00
Tom Eastep
64c249a174
Set logmartians along with routefilter.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-11 15:53:55 -08:00
Tom Eastep
0019ca53e5
Include ROUTE_FILTER in routefilter/provider checks
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-11 15:39:13 -08:00
Tom Eastep
0d2a5089a9
Merge branch '5.1.0'
2017-01-11 12:29:57 -08:00
Tom Eastep
50d09e76cb
Catch 'routefilter' with provider interfaces.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-11 11:47:10 -08:00
Tom Eastep
73772efb85
Correct typo in shorewall-interfaces(5)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-11 11:20:07 -08:00
Tom Eastep
568f461763
Propogate PAGER to -lite systems
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-11 11:18:57 -08:00
Tom Eastep
f12b78d518
Correct Shorewall6-lite .service file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-10 09:55:16 -08:00
Tom Eastep
a15b2918a4
Remove ipsec-tools/Racoon config info from the IPSEC-2.6 Article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-08 13:32:34 -08:00
Tom Eastep
cb150f9c09
Allow compact IPv6 addresses in IP6TABLES() rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-07 10:01:03 -08:00
Tom Eastep
19ce2093d8
Correct splitting of IP(6)TABLES options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-07 10:00:37 -08:00
Tom Eastep
b8c322a05f
Ignore SUBSYSLOCK when $SERVICEDIR is non-empty
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-06 15:50:26 -08:00
Tom Eastep
f68d3fd9fa
Revert "Remove SUBSYSLOCK"
...
This reverts commit 386b137e9b
.
2017-01-06 09:49:40 -08:00
Tom Eastep
386b137e9b
Remove SUBSYSLOCK
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-05 10:03:03 -08:00
Tom Eastep
ce68f84d9d
Remove Makefile from Shorewall[6][-lite]
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-05 08:22:02 -08:00
Tom Eastep
5aed31d37a
Restore SUBSYSLOCK setting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-04 19:39:08 -08:00
Tom Eastep
0b3d1b1d36
Revert code that assumed no CLI symlinks
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-04 17:12:20 -08:00
Tom Eastep
6be89b4e2d
Add command correspondence to shorewall(8)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-02 13:40:32 -08:00
Tom Eastep
75a9e45caf
Documentation cleanup
...
- Update Copyright years
- Tweaks to the Anatomy article
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2017-01-02 09:17:59 -08:00
Tom Eastep
2f9ef4dda7
Update kernel module files
...
- Include additional nat modules
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-30 10:56:16 -08:00
Tom Eastep
26f181ef2a
Add SERVICEDIR to the init file paragraph titles
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-29 14:28:46 -08:00
Tom Eastep
b0ea9db0bd
Update the Anatomy article for 5.1
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-28 11:28:09 -08:00
Tom Eastep
7a3865bcfc
Eliminate duplicate id tags in the Anatomy article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-28 11:24:30 -08:00
Tom Eastep
5174fe0161
Avoid echo options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-28 11:09:08 -08:00
Tom Eastep
65bf33bcf3
Correct handling of safe-restart with SAVE_IPSETS
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-27 16:29:01 -08:00
Tom Eastep
638c7c5bca
Implement NETMAP_TARGET capability
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-27 08:26:51 -08:00
Tom Eastep
c4bbb46e3f
Eliminate rawpost table support
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-26 14:20:08 -08:00
Tom Eastep
7b96d41065
Correct typo in the Shorewall 5 article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-24 13:01:44 -08:00
Tom Eastep
1b97783c23
Implement 'show ipsec'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-23 10:01:40 -08:00
Tom Eastep
c9f45277b8
Move the action files to their own directory
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-23 09:05:37 -08:00
Tom Eastep
7ce0cc3e2e
Describe 5.0/5.1 differences in shorewall(8)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-22 15:51:15 -08:00
Tom Eastep
541291b729
Add do_condition() call in process_mangle_rule1()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-21 08:46:16 -08:00
Tom Eastep
9dcac6012b
Remove redundent test
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-20 14:41:29 -08:00
Tom Eastep
1a95db73e9
Revert idiotic change to lib.cli
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-20 08:39:26 -08:00
Tom Eastep
dcade04fba
Update Shorewall5 article for 5.1
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-20 08:38:49 -08:00
Tom Eastep
7717de872d
Correct typo in shorewall(8)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 12:55:55 -08:00
Tom Eastep
be5a8c440f
Delete duplicated info from shorewall(8)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 10:52:29 -08:00
Tom Eastep
7c63428e82
Revert "lite: Add 'file' var and set path of .shorewallrc"
...
This reverts commit 2ec17ce608
.
2016-12-19 10:27:35 -08:00
Tom Eastep
4c03aaa0fc
Revert "lite: Don't set the 'file' var needlessly"
...
This reverts commit a86ea0c00a
.
2016-12-19 10:26:55 -08:00
Tom Eastep
8dce87e129
Revert "core: Don't set the 'file' var needlessly"
...
This reverts commit eaf58d18aa
.
2016-12-19 10:26:33 -08:00
Tom Eastep
cabef548a6
Revert "init: Don't set the 'file' var needlessly"
...
This reverts commit 44e9c7780f
.
2016-12-19 10:25:30 -08:00
Tom Eastep
4af278338f
Correct intra-zone handling in policies
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 09:11:41 -08:00
Matt Darfeuille
fa6167797d
init: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:49 -08:00
Matt Darfeuille
44e9c7780f
init: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:49 -08:00
Matt Darfeuille
3caedbbbef
lite6: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:49 -08:00
Matt Darfeuille
b2f07b0e44
lite: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:48 -08:00
Matt Darfeuille
a86ea0c00a
lite: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:48 -08:00
Matt Darfeuille
20c764ca5c
shorewall6: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:48 -08:00
Matt Darfeuille
b33d853703
shorewall: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:48 -08:00
Matt Darfeuille
30331fecda
shorewall: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:48 -08:00
Matt Darfeuille
6ff1833ae0
core: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:48 -08:00
Matt Darfeuille
eaf58d18aa
core: Don't set the 'file' var needlessly
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-19 08:14:32 -08:00
Tom Eastep
a9583aaf3a
Correct merge compatibility change
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 19:00:37 -08:00
Tom Eastep
c2c2dc0b22
Exercise care when merging rules including -m multiport
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 18:39:19 -08:00
Tom Eastep
e3951cb5a3
Re-add volume 8 manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 16:16:50 -08:00
Matt Darfeuille
eb3067c006
init: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
e4ec1c81ec
init: Add 'file' var and set path of shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
d2890df8b9
init: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
73f74ad576
init: Correct the filepath of shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
7be8c579a7
lite6: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
28359c40f3
lite: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
2ec17ce608
lite: Add 'file' var and set path of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
1cb32e3127
shorewall6: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
bac6848362
shorewall: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:25 -08:00
Matt Darfeuille
fa8e92cbd3
shorewall: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:24 -08:00
Matt Darfeuille
56d4d01984
core: Correct the filepath of .shorewallrc
...
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:24 -08:00
Matt Darfeuille
f502e5b2e3
shorewall: Correct displaying of shorewall version
...
Add the Product name variable to properly display the product name
when the '-v' option is passed to the script.
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 12:14:24 -08:00
Tom Eastep
154395c20f
Create symbolic links for the CLI programs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 11:48:05 -08:00
Tom Eastep
089ff4eb33
Establish default product based on $0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-18 11:18:07 -08:00
Tom Eastep
7ce5c31c68
Use 'ip -s xfrm' to dump the SPD and SAD
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-17 14:43:16 -08:00
Tom Eastep
273b02c6da
Add IPCOMP information to the IPSEC article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-17 12:31:17 -08:00
Tom Eastep
095c9212f4
Fatal error for empty action file
...
- Issue error if a file with the name of the action exists on the
CONFIG_PATH
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-12 16:31:46 -08:00
Tom Eastep
612eee64d1
Merge branch '5.0.15'
2016-12-12 14:20:41 -08:00
Tom Eastep
e98abac706
Define MYNET in the QOS example
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-12 09:35:03 -08:00
Tom Eastep
5ea78b8078
Correct typo in the snat manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-11 14:36:04 -08:00
Tom Eastep
08c6b80e1e
Correct typo in the snat manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-11 14:32:27 -08:00
Tom Eastep
cb7ab3908a
SOURCE/DEST changes in the mangle manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-11 14:06:59 -08:00
Tom Eastep
b4d42507b2
Another SOURCE/DEST manpage change.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-10 16:22:47 -08:00
Tom Eastep
094ccbf978
Merge branch '5.0.15'
2016-12-10 15:07:31 -08:00
Michele Baldessari
036a6e5a83
Add an IPv6 bidirectional mDNS macro
...
Add the missing corresponding IPv6 bidirectional mDNSbi macro.
Closes-Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1295844
Signed-off-by: Michele Baldessari <michele@acksyn.org >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-10 14:44:10 -08:00
Tom Eastep
b756c63b1e
More SOURCE/DEST manpage updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-10 14:41:08 -08:00
Tom Eastep
eea9882953
Implement CPU Fanout for NFQUEUE.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-09 10:46:39 -08:00
Tom Eastep
cc937ffaba
NFQUEUE should be non-terminating
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-09 09:49:23 -08:00
Tom Eastep
192486eb0a
Bring shorewall6-actions(5) up to date
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-09 09:47:14 -08:00
Tom Eastep
6a43dd1564
Bring shorewall6-actions(5) up to date
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-09 09:46:29 -08:00
Tom Eastep
5ea3334a66
Support a richer SOURCE and DEST syntax
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-09 09:43:10 -08:00
Tom Eastep
e4804e1900
NFQUEUE should be non-terminating
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-09 08:46:39 -08:00
Tom Eastep
6c8dae45c4
Install the core manpage(s)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-05 10:10:27 -08:00
Tom Eastep
a2e040998b
Move shorewall(8) to shorewall.core
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-04 18:03:18 -08:00
Tom Eastep
53adfbe863
Normalize parameters by removing trailing omitted args
...
- Avoids needless duplicate action chains
2016-12-03 11:34:02 -08:00
Tom Eastep
4a0a906510
Correct progress message in optimize_level4()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-03 08:28:14 -08:00
Tom Eastep
7ceb0228e9
Merge branch 'master' into 5.1.0
2016-12-02 15:27:16 -08:00
Tom Eastep
f537e3e15c
Fix optimization bug in merge_rules()
...
- Reset the simple member if a unique option is merged
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-02 14:47:03 -08:00
Tom Eastep
4949569383
Correct 'restore' exit status
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-02 09:33:16 -08:00
Tom Eastep
4a410c7b4c
Correct 'restore' exit status
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-02 09:32:00 -08:00
Tom Eastep
5ae062317f
Merge branch 'master' into 5.1.0
2016-12-01 19:35:14 -08:00
Tom Eastep
a1981823f4
Correct typo (syntax error!)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-12-01 15:21:25 -08:00
Tom Eastep
0e40c5a4a1
Shorewall-init changes for unified CLI
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-30 15:04:40 -08:00
Tom Eastep
77e83f0afd
Eliminate the CHAIN_SCRIPTS option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-29 16:33:23 -08:00
Tom Eastep
a45fe692cc
Add a SWITCH column to the mangle files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-29 16:13:44 -08:00
Tom Eastep
799b17210c
Enhanced syntax for SOURCE and DEST columns in the rules file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-25 15:10:14 -08:00
Tom Eastep
01306e1230
Try another approach to the RCP_/RSH_COMMAND formatting issue
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-23 14:48:28 -08:00
Tom Eastep
963dea54c5
Modify update defaults for LOGPREFIX and LOGLIMIT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-23 14:30:07 -08:00
Tom Eastep
fbbcc812a1
Remove archaic LAST LINE comments from sample .conf files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-23 14:17:28 -08:00
Tom Eastep
87870ac46e
Clean up formatting of the RCP_/RSH_COMMAND manpage descriptions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-23 14:08:13 -08:00
Tom Eastep
d895a5d67c
Correct version in IPv4 universal shorewall.conf
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-22 09:28:44 -08:00
Tom Eastep
414c5c7b0c
Change default shorewall6.conf settings.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-22 09:05:04 -08:00
Tom Eastep
c561f8eb03
Default shorewall.conf changes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-22 08:57:47 -08:00
Tom Eastep
ff81980552
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-11-21 15:16:30 -08:00
Tom Eastep
38c9165c39
More shorewall(8) documentation updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-21 13:57:06 -08:00
Tom Eastep
bd2df4836d
Break lib.base into two libraries
...
- Allows separation of default product determination and
establishment of the product environment
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-21 13:25:57 -08:00
Tom Eastep
875c352473
Unify the CLI
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-21 10:00:55 -08:00
Roberto C. Sánchez
8a6dcc469b
Fix typo
2016-11-21 11:59:57 -05:00
Tom Eastep
dae060bbb4
Update shorewall(8) for single CLI
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-20 13:03:13 -08:00
Tom Eastep
ccab75e69a
Avoid unnecessary change in the generated script
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-20 09:17:39 -08:00
Tom Eastep
de553e7b18
Add the -l option
...
- Update shorewall(8)
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-20 09:16:16 -08:00
Tom Eastep
36517cdb1e
Rename setup_environment to setup_product_environment
...
- Default to first detected product
- Verify that specified product is installed
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-20 08:48:18 -08:00
Tom Eastep
bb5c3a50f5
Avoid unnecessary change in the generated script
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-19 21:39:49 -08:00
Tom Eastep
8b99fe20b5
Pave the way for unifying the CLI
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-19 21:17:35 -08:00
Tom Eastep
137b051e52
Centralize setting of product-dependent g_* variables
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-19 17:17:03 -08:00
Tom Eastep
9eb390403b
Implement -p option to disable PAGER
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-17 10:58:10 -08:00
Tom Eastep
ab9f340c55
use $PAGER in the 'show macro' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-17 10:57:39 -08:00
Tom Eastep
88284ed568
Delete version from the heading of compiler.pl
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-16 13:03:00 -08:00
Tom Eastep
481afef2c3
Don't insist that route deletion succeeds
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-12 08:38:09 -08:00
Tom Eastep
6b38b3a515
Revert "More IPv6 routing cleanup"
...
This reverts commit 1e7f63834c
.
2016-11-12 08:25:38 -08:00
Tom Eastep
80951d23c2
add/delete multi-nexthop IPv6 routes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-12 08:24:46 -08:00
Tom Eastep
1e7f63834c
More IPv6 routing cleanup
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-09 10:34:19 -08:00
Tom Eastep
74b94f71f8
Always return $omitting from process_compiler_directive()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-09 08:07:17 -08:00
Tom Eastep
ef4ab62dd3
Disable directive callbacks after file conversion.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-09 07:47:19 -08:00
Tom Eastep
42c1c2a205
Don't copy link-level address routes into provider tables.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-08 14:42:44 -08:00
Tom Eastep
6095d05af9
Update manpages for 'update' improvements
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-07 13:50:11 -08:00
Tom Eastep
d989241712
Retain shell variables during routestopped and blacklist conversions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-07 11:26:17 -08:00
Tom Eastep
652bc75448
Omit Shorewall version from converted files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-07 11:12:36 -08:00
Tom Eastep
d105da3964
Preserve shell variables when converting tos->mangle
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-06 17:25:35 -08:00
Tom Eastep
c5b393a074
Preserve shell variables when converting tcrules->mangle
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-06 17:25:01 -08:00
Tom Eastep
1b82dedb77
Preserve shell variables when converting masq -> snat
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-06 13:53:05 -08:00
Tom Eastep
6398756647
Add a routine to split the raw current line image
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-06 08:44:24 -08:00
Tom Eastep
daa2440d9a
Ensure that $directive_callback->() gets an unaltered image
...
- pass omitted lines to that function as well
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-06 08:03:31 -08:00
Tom Eastep
6a89fd1367
Merge branch 'master' into 5.0.14
2016-11-04 08:37:55 -07:00
Tom Eastep
ffe1e1d335
Fix typo in the two-interface sample snat file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-04 08:36:24 -07:00
Tom Eastep
cecfe54ef6
Avoid shell errors when /proc/net/xt_recent/ is empty.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-03 21:29:01 -07:00
Tom Eastep
8441ac5c5f
Handle another issue with ADD_SNAT_ALIASES=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-03 15:06:38 -07:00
Tom Eastep
01a6881f4f
Catch total lack of address/port in SNAT argument
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 19:30:55 -07:00
Tom Eastep
f917670fbd
Tighten editing of SNAT/MASQ port ranges.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 19:30:18 -07:00
Tom Eastep
c376740329
Detect degenerate addr:port[-range] in SNAT rules.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 15:28:00 -07:00
Tom Eastep
4169520d63
Handle exceptionrule correctly with MASQUERADE.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 14:36:51 -07:00
Tom Eastep
53d97bbcc8
Correct handling of masquerade port range when ADD_SNAT_ALIASES=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 12:28:00 -07:00
Tom Eastep
9ae36e1989
Correct error message when multiple SNAT addresses are present.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 12:27:32 -07:00
Tom Eastep
60619fb3cb
Correct part of a recent patch to Nat.pm
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-02 09:00:19 -07:00
Tom Eastep
41ecee356b
Correct earlier faulty patch to Nat.pm.
...
- Similar Rules.pm patch was okay.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-01 19:39:52 -07:00
Tom Eastep
e188bde6c4
Fix additional masq/snat issues.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-01 18:42:16 -07:00
Tom Eastep
6e08717089
Formatting changes to snat files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-01 17:11:43 -07:00
Tom Eastep
d37967f32f
Replace --to-ports <ports> with --to-source :<ports>
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-01 16:52:08 -07:00
Tom Eastep
10c1ad245a
Handle omitted port[-range] in SNAT correctly.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-01 12:59:44 -07:00
Tom Eastep
032a16eb43
Detect incorrect port-range separator in SNAT(...)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-11-01 11:28:19 -07:00
Tom Eastep
a89d8b3af4
Fix Shorewall installer re: snat file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-31 16:13:48 -07:00
Tom Eastep
3f68814a38
Disallow more than one address[-range] in SNAT rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-31 15:15:35 -07:00
Tom Eastep
3a70185284
A couple of documentation updates
...
- Anatomy
- Bridge (Perl)
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-31 11:09:06 -07:00
Tom Eastep
95a1e65016
Clear target modifiers in interface loop
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-30 16:25:17 -07:00
Tom Eastep
282253022e
Correct handling of address variables out of the Providers module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-29 14:59:34 -07:00
Tom Eastep
174f46f3e6
More snat documentation changes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-28 14:56:44 -07:00
Tom Eastep
4d77d673e8
Be sure NAT is enabled before processing an snat file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-28 09:30:17 -07:00
Tom Eastep
e4e424bbdc
Disallow '+' in inline SNAT action bodies
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-28 08:58:47 -07:00
Tom Eastep
71fb1a8cbd
Correct error message ( s/\*/+/ )
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-27 14:32:43 -07:00
Tom Eastep
46c8147521
Deprecate INLINE_MATCHES=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-27 13:55:11 -07:00
Tom Eastep
de3b05ea41
Correctly translate +INLINE(...)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-27 12:21:07 -07:00
Tom Eastep
ae9b57d854
Correct NONAT translation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-26 16:06:28 -07:00
Tom Eastep
1a06765d14
Add Bill Shirley's logging suggestions to the logging article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-26 16:06:15 -07:00
Tom Eastep
579910fdb8
Fix MASQUERADE+ Handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-26 14:40:16 -07:00
Tom Eastep
21877d5fcb
Force a reload when enabling an interface whose IP address has changed
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-26 13:39:50 -07:00
Tom Eastep
0b9387f09c
Force address Detection on optional interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-25 14:42:03 -07:00
Tom Eastep
ee8ffc3ceb
Add SNAT action example to the Actions article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-25 10:57:32 -07:00
Tom Eastep
fdfd8b919b
Merge branch '5.0.13'
2016-10-24 12:52:01 -07:00
Tom Eastep
3d3ae81bce
Restore old wording for Version 4 ipset creation message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-24 12:51:43 -07:00
Tom Eastep
3b6b89336e
Eliminate superfluous test
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-24 11:57:56 -07:00
Tom Eastep
fc0ad7cd2e
Be sure that the 'restriction' member exists for the FORWARD chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-24 11:37:40 -07:00
Tom Eastep
c9b1b7684c
Correct handling of dest IPSET.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-24 09:06:05 -07:00
Tom Eastep
b8ec460a1a
Correct grammar in the ipset creation message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-24 08:49:51 -07:00
Tom Eastep
46b8e2e957
Avoid exception when validating 'occurs' in TC
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-24 08:14:12 -07:00
Tom Eastep
0ed813972b
Auto-create ipsets used in tcfilters
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-23 16:44:07 -07:00
Tom Eastep
f9cfde91e5
Correctly handle ipset in tcfilter DEST
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-23 16:43:49 -07:00
Tom Eastep
3df488e710
Correct handling of ipsets in tcfilters
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-23 16:28:36 -07:00
Tom Eastep
0efc7a4899
Correct restriction and chain number handling in the mangle files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-23 15:36:04 -07:00
Tom Eastep
d241421630
Merge branch '5.0.13'
2016-10-23 08:34:47 -07:00
Tom Eastep
e0203bca87
Correct nill address check in handling of 'origdest=detect'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-23 08:34:24 -07:00
Tom Eastep
6e30c286c3
Reword Address Variable Warning
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-22 19:06:56 -07:00
Tom Eastep
3874bb9fa6
Delete duplicate line of code
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-22 15:41:26 -07:00
Tom Eastep
9c749731c5
Add caution regarding Address Varibles
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-22 14:39:40 -07:00
Tom Eastep
34f2aeacea
Correct 'sed' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-22 09:59:30 -07:00
Tom Eastep
5b26f1939b
Correct 'sed' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-22 09:56:59 -07:00
Tom Eastep
13a321726c
Fix typo
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-21 09:22:30 -07:00
Tom Eastep
b160845713
Avoid compiler crash when LOAD_HELPERS_ONLY=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-20 15:22:43 -07:00
Tom Eastep
71566f0ab0
Avoid compiler crash when LOAD_HELPERS_ONLY=Yes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-20 14:54:01 -07:00
Tom Eastep
e4169ede4a
Merge branch '5.0.13'
2016-10-20 13:29:05 -07:00
Tom Eastep
b44628ddc8
Only specify 'counters' to ipset of IPSET_MATCH_COUNTERS is present
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-20 09:07:36 -07:00
Tom Eastep
0e7d5f3972
Support '+' in SNAT action invocation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 16:00:36 -07:00
Tom Eastep
5b5f91f75f
SNAT option documentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 15:32:22 -07:00
Tom Eastep
ab496987e0
Prevent 'nat' and 'mangle' being specified together
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 15:32:05 -07:00
Tom Eastep
c92ebc3908
Make merge_inline_source_dest() a little safer
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 14:32:56 -07:00
Tom Eastep
bc3573fcbc
Correct handling of interface lists in masq->snat conversion
...
- Also restore logic for ADD_SNAT_ALIASES
- Correct some interface-list errors in snat processing
- Restore whitespace after '--to-source'
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 14:19:09 -07:00
Tom Eastep
6b7beaadaf
Merge branch '5.0.13'
2016-10-18 10:16:58 -07:00
Tom Eastep
31b6e9e299
Fix another DEST bug in mangle inline action handling :-(
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 10:15:43 -07:00
Tom Eastep
d52a4b1c9d
Implement SNAT actions and inlines
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-18 10:09:07 -07:00
Tom Eastep
9796af5d80
Merge branch '5.0.13'
2016-10-17 10:16:30 -07:00
Tom Eastep
9fc56bb896
Correct typo in process_mangle_inline()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-17 09:29:32 -07:00
Tom Eastep
f3dd77a3f1
Merge branch '5.0.13'
2016-10-16 16:36:08 -07:00
Tom Eastep
2c191bf595
Correct .conf manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 15:07:34 -07:00
Tom Eastep
4bb942f1f9
Restrict hypen as range separator to use with integers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 13:29:00 -07:00
Tom Eastep
05dbfbb988
Restrict hypen as range separator to use with integers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 13:26:44 -07:00
Tom Eastep
69a7c78179
Merge branch '5.0.13'
2016-10-16 12:28:01 -07:00
Tom Eastep
04051454bf
Reverse bad ECN handling patch
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 12:27:45 -07:00
Tom Eastep
2ca86d9abd
Merge branch '5.0.13'
2016-10-16 10:22:12 -07:00
Tom Eastep
e6f3d429a1
Renew timeout on matched dbl entries
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 09:42:45 -07:00
Tom Eastep
1ca91d7ddc
Correct handling of ECN file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 08:41:19 -07:00
Tom Eastep
fad9dce3e6
Correct handling of ECN file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-16 08:33:01 -07:00
Tom Eastep
342f4ee0f2
Add the --exits option to ADD with timeout
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 16:43:44 -07:00
Tom Eastep
047b5ca6d5
Add the --exits option to ADD with timeout
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 16:43:04 -07:00
Tom Eastep
ef0253905a
More document updates for the snat file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 16:16:30 -07:00
Tom Eastep
86c4333f8f
Correct the shorewall-snat(5) examples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 14:58:49 -07:00
Tom Eastep
026c30cfff
Update the documentation for /etc/shorewall/snat
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 13:52:28 -07:00
Tom Eastep
e1de1f0527
Convert Sample masq files to equivalent snat files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 12:43:42 -07:00
Tom Eastep
43fdddb438
Add 'snat' config file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-15 11:38:52 -07:00
Tom Eastep
28849e60cf
Correct example in the shorewall6-masq manpage
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-14 15:55:36 -07:00
Tom Eastep
44477d97ac
Move Masq file processing to the Rules module
...
- This will enable supporting actions in the new snat file
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-14 12:42:58 -07:00
Tom Eastep
b5906812a2
Accept '-' as the separator in a port range.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-14 10:10:03 -07:00
Tom Eastep
289825a76f
Update to logging article
...
- correct a typo
- recommend using NFLOG rather than ULOG
2016-10-12 10:02:59 -07:00
Tom Eastep
b80d4c2320
Don't allow shell meta characters in interface names
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-11 17:01:45 -07:00
Tom Eastep
d5aaa66e0b
Detect bad characters in interface names
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-11 10:56:41 -07:00
Tom Eastep
49fae96b09
Update the manpages for 'blacklist' verbosity
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-10 19:45:42 -07:00
Tom Eastep
b3e59322b6
Clean up the output of 'blacklist'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-10 13:26:01 -07:00
Tom Eastep
8c522a5c4d
Correct typo in lib.private
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-09 10:58:29 -07:00
Tom Eastep
abf57a4d1f
Correct indentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-09 09:29:04 -07:00
Tom Eastep
3058f2fb84
Delete code supporting old kernel/iproute2 IPv6 restrictions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-07 11:02:36 -07:00
Tom Eastep
0bf5ca7e0c
Rename lsm->foolsm in MultiISP article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-07 08:01:11 -07:00
Tom Eastep
b5e7e41708
Correct NFQUEUE! manpage description
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-07 05:50:24 -07:00
Tom Eastep
eb6ae5e186
Correct handling of DYNAMIC_BLACKLIST options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-05 16:56:29 -07:00
Tom Eastep
941604ad01
Correct issue with updating DBL timeout
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-05 15:41:40 -07:00
Tom Eastep
14e8568d9e
Add the FIREWALL .conf option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-05 15:03:54 -07:00
Tom Eastep
ca7ca4bdfe
Add a 'timeout' option to DYNAMIC_BLACKLIST
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-05 12:56:47 -07:00
Tom Eastep
c19e732e42
Correct typo
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-04 10:00:00 -07:00
Tom Eastep
8d731c81e4
Add 'disconnect' option to ipset-based dynamic blacklisting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-04 09:09:45 -07:00
Tom Eastep
6ad7d47eb6
Correct DYNAMIC_BLACKLISTING documentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-03 08:19:19 -07:00
Tom Eastep
ed48eed0c6
Change order of options in .conf files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-02 15:14:31 -07:00
Tom Eastep
97186e5402
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-10-02 14:04:02 -07:00
Roberto C. Sánchez
64ab43f14f
Fix typos
2016-10-02 17:01:46 -04:00
Tom Eastep
36cd8d28a7
Merge branch '5.0.12'
2016-10-02 08:04:54 -07:00
Tom Eastep
1b032f7524
Correct permissions of files created by the 'save' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-01 13:49:35 -07:00
Tom Eastep
641a7146ca
Merge branch '5.0.12'
...
Conflicts:
Shorewall/Perl/lib.runtime
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-10-01 09:59:15 -07:00
Tom Eastep
72dbb4c3c3
Handle persistent provider enable/disable correctly
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-30 16:01:04 -07:00
Tom Eastep
bc591ccee4
Don't assume that statistically balanced providers are optional
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-30 14:01:16 -07:00
Tom Eastep
c7e403bad0
Don't assume that statistical provider interfaces are optional
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-30 13:37:58 -07:00
Tom Eastep
f989c2f5f6
Document 'persistent'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-30 11:34:57 -07:00
Tom Eastep
156313edd2
Correctly handle down persistent interface during 'disable'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-27 11:47:37 -07:00
Tom Eastep
35bd1db7fb
Handle Down or missing interfaces in 'delete_gateway()'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-27 11:43:26 -07:00
Tom Eastep
792b3b696c
Add ZERO_MARKS option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-26 16:04:26 -07:00
Tom Eastep
3f8ddb11ab
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2016-09-25 08:00:43 -07:00
Tom Eastep
fa9ee6d69e
Clear packet marks in PREROUTING and OUTPUT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-24 15:46:04 -07:00
Tom Eastep
0f287dfe60
Add 'reload' to config basic document as appropriate
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-24 08:05:47 -07:00
Tom Eastep
ef4b1c2030
Add a TIME Columns section to the config file basics doc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-22 15:45:18 -07:00
Tom Eastep
8065e62f12
Support for the 'contiguous' option in TIME columns
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-22 14:22:11 -07:00
Tom Eastep
e81a4788c6
Implement DEFAULT_PAGER in shorewallrc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-21 10:20:48 -07:00
Tom Eastep
d854185c56
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2016-09-20 08:47:07 -07:00
Tom Eastep
afc212495f
Make POSTROUTING the default chain for CHECKSUM
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-18 08:57:49 -07:00
Tom Eastep
059b1c6c8c
Remove superfluous logic
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-13 11:13:19 -07:00
Tom Eastep
2f75901068
Restore 'use Shorewall::Config(shorewall)' in embedded Perl handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-13 09:29:51 -07:00
Tom Eastep
8bb7c2363b
Support '+' after a zone list in the policy files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-10 10:06:38 -07:00
Tom Eastep
7e32a10176
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2016-09-10 08:48:48 -07:00
Tom Eastep
2c90a8bfb5
Allow zone lists in the SOURCE and DEST columns of the policy files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-10 08:47:48 -07:00
Tom Eastep
5ea91f21f4
Correct the mangle manpage
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-05 19:20:25 -07:00
Tom Eastep
3954636fb5
Document 'comment' in the alternate input format
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-09-01 14:46:54 -07:00
Tom Eastep
bb8af36d3f
Minor cleanup in the Rules module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-31 13:01:49 -07:00
Tom Eastep
4ec2c2087d
Delete obsolete comments
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-29 12:40:28 -07:00
Tom Eastep
a05b957498
Corrections in the shorewall[6].conf manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-15 10:24:23 -07:00
Tom Eastep
31d35e0cbd
Minor cleanup of the Chains module
...
- Correct typos
- Correct 'P' trace entries
- Add parens and comments to calls
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-15 09:22:11 -07:00
Tom Eastep
bcacce7ed0
Rename a variable to avoid confusion
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-14 15:45:24 -07:00
Tom Eastep
646c20491a
Fix indentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-14 15:45:00 -07:00
Tom Eastep
fa1173baaa
Correct typo in a comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-14 10:24:29 -07:00
Tom Eastep
72e21be89d
Add a handle back to the flow classifier
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-04 11:03:36 -07:00
Tom Eastep
1b1e2c58f9
Allow optional provider interfaces to match a wildcard
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-02 15:44:19 -07:00
Tom Eastep
d3591c071d
Correct dump instructions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-08-02 09:23:49 -07:00
Tom Eastep
decf9d3b3e
Correct comment formatting in 'trace' output
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-30 09:03:19 -07:00
Tom Eastep
a05623f49e
Don't delete duplicate COUNT rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-30 08:24:53 -07:00
Tom Eastep
0b9cd93769
Default DSCP rules to the POSTROUTING chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-27 13:59:15 -07:00
Tom Eastep
d9e992b164
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
...
Conflicts:
Shorewall/Perl/Shorewall/Config.pm
2016-07-25 07:33:04 -07:00
Tom Eastep
372359839b
Add 'comment' to alternative input
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-24 15:08:55 -07:00
Tom Eastep
40dea5f597
Add 'comment' to alternative input
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-19 15:43:40 -07:00
Tom Eastep
4a6338d857
Correct/complete Scott Sumate's LOGFILE enhancement
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-15 14:25:02 -07:00
Scott Shumate
55ee0113ea
Added support for systemd logging by configuring LOGFILE=systemd
2016-07-15 13:40:23 -05:00
Tom Eastep
65d5249bd8
Link to Digimer's article on Shorewall/REL7
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-07-07 12:44:28 -07:00
Roberto C. Sánchez
0364c15be1
Fix typos, thanks to Marco Di Cerbo for reporting them
2016-07-06 08:46:32 -04:00
Roberto C. Sánchez
76b2b0de78
Debian init script: fix name of force-reload target ( Closes : #830110 )
2016-07-06 08:43:21 -04:00
Roberto C. Sánchez
7c9876241c
Debian init scripts: add run-level 1 to Default-Stop specification
2016-07-04 17:37:00 -04:00
Roberto C. Sánchez
8b36c2c1cf
Debian init scripts: more accurately describe what action is being taken
2016-07-04 13:34:33 -04:00
Tom Eastep
a02c745a83
Avoid silly duplicate rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-30 17:49:43 -07:00
Tom Eastep
094fd8129c
Update copyright and version info in the config basics doc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-25 12:11:34 -07:00
Tom Eastep
544be8c937
Change SuSE shorewallrc to use systemd
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-21 13:50:10 -07:00
Tom Eastep
47557aa4f7
Correct additional issues with 'update'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-18 10:24:52 -07:00
Tom Eastep
93ee4432de
Allow <user>: in USER columns
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-18 09:44:35 -07:00
Tom Eastep
8c543ca6f8
Transfer permissions during file updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-16 16:04:32 -07:00
Tom Eastep
e71fb3249a
Add 'dbl' interface option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-15 16:35:41 -07:00
Tom Eastep
56b6db1a3d
Make the allow command work with both ipset and chain dynamic blacklisting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-14 13:42:20 -07:00
Tom Eastep
ea56d4ed19
Make ipset-based dynamic blacklisting work in the FORWARD chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-13 15:02:12 -07:00
Tom Eastep
c65721a139
Correct a warning message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-13 12:21:16 -07:00
Tom Eastep
f979ccb16d
Merge branch '5.0.9'
2016-06-09 14:47:44 -07:00
Tom Eastep
24b396bc67
Avoid run-time Perl diagnostic when validating a null log level
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-09 09:12:13 -07:00
Tom Eastep
cd0837beb5
Avoid run-time Perl diagnostic when validating a null log level
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-09 09:00:12 -07:00
Tom Eastep
4869f61a25
'allow' now works with ipset-based dynamic blacklisting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-09 08:44:25 -07:00
Tom Eastep
6eb8416c2b
Don't link SysV init script if $SERVICEDIR is given on Debian.
...
- Fixes issue with package build environment.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-08 15:56:56 -07:00
Matt Darfeuille
0925636995
(Fwd) [Shorewall-users] Shorewall-lite on OpenWRT
...
On 7 Jun 2016 at 8:21, Tom Eastep wrote:
> On 06/07/2016 06:40 AM, Matt Darfeuille wrote:
> > On 5 Jun 2016 at 12:53, Tom Eastep wrote:
> >
> >> On 06/05/2016 12:33 PM, Matt Darfeuille wrote:
> >>> On 5 Jun 2016 at 7:57, Tom Eastep wrote:
> >>>
> >>>> On 05/29/2016 02:00 AM, Matt Darfeuille wrote:
> >>>>
> >>>> Hi Matt,
> >>>>
> >>>>>
> >>>>> -------------- Enclosure number 1 ----------------
> >>>>> >From 6ff651108df33ab8be4562caef03a8582e9eac5e Mon Sep 17 00:00:00 2001
> >>>>> From: Matt Darfeuille <matdarf@gmail.com >
> >>>>> Date: Tue, 24 May 2016 13:10:28 +0200
> >>>>> Subject: [PATCH 1/8] Emulate 'ps -p' using grep to work on openwrt
> >>>>>
> >>>>> Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
> >>>>> ---
> >>>>> Shorewall-core/lib.common | 2 +-
> >>>>> 1 file changed, 1 insertion(+), 1 deletion(-)
> >>>>>
> >>>>> diff --git a/Shorewall-core/lib.common b/Shorewall-core/lib.common
> >>>>> index 03ecb2a..fcb02ee 100644
> >>>>> --- a/Shorewall-core/lib.common
> >>>>> +++ b/Shorewall-core/lib.common
> >>>>> @@ -776,7 +776,7 @@ mutex_on()
> >>>>> error_message "WARNING: Stale lockfile ${lockf} removed"
> >>>>> elif [ $lockpid -eq $$ ]; then
> >>>>> return 0
> >>>>> - elif ! qt ps p ${lockpid}; then
> >>>>> + elif ! qt ps | grep -v grep | grep ${lockpid}; then
> >>>>
> >>>> I don't see how this can work -- 'qt ps' will produce no output yet the
> >>>> code pipes into tandem greps.
> >>>>
> >>>> Do you really want this instead?
> >>>>
> >>>> elif ! ps | grep -v grep | qt grep ${lockpid}; then
> >>>>
> >>>
> >>> Oops sorry Tom, that's what I meant(do you want the corrected
> >>> patch?)!
> >>
> >> Yes, please.
> >>
> >
> > Tom, along with correcting this faulty commit I realize, after some
> > more testing, that I've also sent unnecessary commits.
> >
> > Should I revert these 3 commits(git revert ...):
> > Set proper permissions for the LOCKFILE on openwrt
> > 2ded346cb557212389212fd5adcd4c6800edbb62
> > Create lockfile before using openwrt's lock utility
> > 08e8796ff1abc3b24b8bbd40bf5e0a2b36464d61
> > Emulate 'ps -p' using grep to work on openwrt
> > 6ff651108df33ab8be4562caef03a8582e9eac5e
> >
> > or should I simply create new commits that will correct these faulty
> > commits?
> >
> > In other words what's the best way to correct submited commits.
> >
>
> Matt,
>
> Either way is fine.
>
Hopefully these 3 commits will do it(code-fixes.patch):
Patch 1 will correct the error you have point out!
On OpenWRT the lock utility doesn't allow to append the pid of the
currently running script to the LOCKFILE that's why I've simply
deleted that line(patch 2).
I've also reordered the permissions line to be added after the line
that will lock the file specified by the LOCKFILE variable(patch 3).
and two other patches:
While installing shorewall-init using the DESTDIR variable on debian,
'mkdir' would complain if the directory ${DESTDIR}/${etc}/default
already exist; corrected using 'mkdir -p ...'(patch 4).
The last patch will correct a typo in the blacklisting_support
article.
-Matt
-------------- Enclosure number 1 ----------------
>From 1a2ff15c8dc994030e819d2882570d188b99c501 Mon Sep 17 00:00:00 2001
From: Matt Darfeuille <matdarf@gmail.com >
Date: Wed, 8 Jun 2016 09:09:46 +0200
Subject: [PATCH 1/5] Correct pid detection mutex_on()
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-08 15:40:48 -07:00
Matt Darfeuille
cd4e9654d8
(Fwd) [Shorewall-users] Shorewall-lite on OpenWRT
...
------- Forwarded message follows -------
From: istvan@istvan.org
To: shorewall-users@lists.sourceforge.net
Date sent: Thu, 19 May 2016 09:10:21 +0200
Subject: [Shorewall-users] Shorewall-lite on OpenWRT
Send reply to: Shorewall Users <shorewall-users@lists.sourceforge.net >
<mailto:shorewall-users-request@lists.sourceforge.net ?subject=unsubscribe>
<mailto:shorewall-users-request@lists.sourceforge.net ?subject=subscribe>
Hi there,
I use Shorewall on an OpenWRT distribution and I experience 2
problems.
I have solved them myself and report them here to help others with
it.
Shorewall version: shorewall[6]-lite 5.0.4
OpenWRT version: Chaos Calmer 15.05, r46767
Problem 1:
Shorewall uses the lock utility from openwrt. I believe it is used in
the wrong way. File lib.common line 775
First it passes arguments which the utility doesn't use/know. The
util
accepts them dumbly and continues to create a lockfile. It has no
time-out functionality. I do not know the meaning of the r1 argument.
Second the mutex_off simply deletes the lockfile by using the utility
rm. This way a stale lock process keeps running. After a while the
router is running a high number of stale processes which has impact
on
the load of the router. The correct way is to use "lock -u
/lib/shorewall-lite/lock". This way the lockfile will be removed and
the
process will be terminated accordingly. To make it work for me, I no
more let shorewall use the lock utility by using an ugly hack.
Problem 2:
An fgrep on the output of the type utility is wrongly coded. The
output
of the type command probably has been changed. File lib.cli line 4343
It is coded: "if type $1 2> /dev/null | fgrep -q 'is a function';
then"
To make it work for me, it should be coded: "if type $1 2> /dev/null
|
fgrep -q 'is a shell function'; then"
With regards,
Stefan
------- End of forwarded message -------
Tom, attached as code.patch, are the patches that I believe will
correct those issues
In addition to those patches I've also added 3 patches:
- Patch 1 will emulate the -p flag of the ps utility which is not
available on openwrt.
- The last two patches will add "file" to the progress message of
SYSCONFFILE to make it more consistent among the installers.
In shorewall-init/install.sh the else clause between the line 586
and 597 will only work for a sysvinit script.
Should I make it also work for a systemd service script or can't we
simply remove that else clause?
In the compiled firewall script the comments before and after the
functions imported from lib.common have two slashes in the path:
$ grep -H lib.common firewall
firewall:# Functions imported from /usr/share/shorewall//lib.common
firewall:# End of imports from /usr/share/shorewall//lib.common
-Matt
-------------- Enclosure number 1 ----------------
>From 6ff651108df33ab8be4562caef03a8582e9eac5e Mon Sep 17 00:00:00 2001
From: Matt Darfeuille <matdarf@gmail.com >
Date: Tue, 24 May 2016 13:10:28 +0200
Subject: [PATCH 1/8] Emulate 'ps -p' using grep to work on openwrt
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-08 15:40:36 -07:00
Tom Eastep
cd01df4200
Allow more than 9 interfaces with Simple TC
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-06-07 14:43:37 -07:00
Tom Eastep
7798c52a19
Fix DOCKER=Yes when docker0 is defined and Docker isn't started.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-22 17:50:51 -07:00
Tom Eastep
2809d6896c
Clarify dynamic sub-zones
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-18 08:20:23 -07:00
Tom Eastep
1d066bdfa4
Minor updates to the Shorewall 5 article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-18 08:19:47 -07:00
Tom Eastep
9b7088158b
Correct ipv6-route header number
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-10 07:12:01 -07:00
Tom Eastep
625d763372
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
...
Conflicts:
Shorewall/Perl/Shorewall/Config.pm
2016-05-07 13:50:01 -07:00
Tom Eastep
82169a0bfd
Use 'date' format for compiletime rather than localtime format
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-07 13:48:16 -07:00
Tom Eastep
0d16b2820a
Use 'date' format for compiletime rather than localtime format
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-06 13:28:22 -07:00
Tom Eastep
d4df67966d
Turn on AUTOMAKE in the sample configurations
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-06 08:46:11 -07:00
Tom Eastep
f16bb887f3
Report versions as Shorewall's rather than Shorewall6's
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-05 15:41:46 -07:00
Tom Eastep
64fb662bb1
Verify Shorewall6 version when compiling for IPv6
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-05 15:22:47 -07:00
Tom Eastep
ce20e5592b
Cross-check core and standard versions during compilation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-05 13:53:26 -07:00
Tom Eastep
590243a787
Add NFLOG as a supported mangle action
...
- Also document nflog-parameters
- Correct range of nflog groups
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-03 11:27:34 -07:00
Tom Eastep
9dd0346987
Apply Paul Gear's patch for Ubuntu 16.04
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-05-02 07:25:37 -07:00
Tom Eastep
ccfa181a6d
Tweak compile_info_command()
...
- Fix comment
- use $globals{VERSION} for the version number
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-30 14:12:34 -07:00
Tom Eastep
d959fd4445
Fix link
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-30 08:37:20 -07:00
Tom Eastep
b7de785396
Correct typo in manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-30 08:34:43 -07:00
Tom Eastep
24d40f4cc2
Add VERBOSE_MESSAGES option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-30 08:00:56 -07:00
Tom Eastep
244f2cefe5
Update comment describing info_command()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-29 15:42:48 -07:00
Tom Eastep
ec23ca67f8
Remove the parentheses from around the start/stop time
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-29 15:32:17 -07:00
Tom Eastep
a2345325dd
Move show_status() to before its first reference
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-29 15:31:55 -07:00
Tom Eastep
1308560aba
Display compilation date/time in 'status -a' output
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-29 14:12:53 -07:00
Tom Eastep
41923cb80e
Improve compile time/date implementation
...
- Rename the command from 'date' to 'info'
- Return the complete date/time/version string in the command
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-29 12:31:17 -07:00
Tom Eastep
2a40012fc4
Include compile time and date in the output of 'shorewall status'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-27 16:25:21 -07:00
Matt Darfeuille
05a15c6f8b
patches and request
...
Tom,
Some patches for the trunk repo(fixes.patch):
Patch1: Fix a typo in the path being printed for the standard actions
file.
Patch2: Will only install the shorewall's manpages if the variable
MANDIR is none-empty(I did it only for the sake of completeness)!
Patch3: Will only install the shorewall-lite's manpages if the
variable MANDIR is none-empty.
Patch4: Correct multiple product name's typos in
shorewall-init/install.sh.
Patch5: Remove ~/.shorewallrc when shorewall-core is uninstalled.
And two other patches for the release repo(changelog-1.patch):
Patch1: Changed restart to reload for the line: 'Update DHCP
article(refresh -> restart).
Patch2: Rephrased the line for the newly added ?WARNING and ?INFO
directives.
Request:
Could the date of the compiled firewall script also be displayed when
'shorewall status' is executed?
-Matt
-------------- Enclosure number 2 ----------------
>From a5ae24bbe9b25aefdbcc4d7c8e5d013a36b03078 Mon Sep 17 00:00:00 2001
From: Matt Darfeuille <matdarf@gmail.com >
Date: Sat, 23 Apr 2016 14:44:19 +0200
Subject: [PATCH 1/5] Fix typo in printed path for standard actions file
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-27 15:07:44 -07:00
Tom Eastep
a92d10f19c
Merge branch '5.0.8'
2016-04-27 10:23:51 -07:00
Tom Eastep
47edfaf093
Create standard error messages in the CLI
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-27 10:13:24 -07:00
Tom Eastep
67c2587890
Correct typos in the Events article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-25 16:09:10 -07:00
Tom Eastep
f6b7eb4ea0
Correct handling of persistent provider with no IP address
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-25 12:27:00 -07:00
Tom Eastep
200ad3f874
Correct typos in the Events article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-25 09:00:45 -07:00
Tom Eastep
800c06e8c9
Rename lib.core to lib.runtime
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-21 08:12:41 -07:00
Tom Eastep
f16e3f1fbe
Issue warning when enable/disable won't work correctly
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-19 10:42:50 -07:00
Tom Eastep
71bd7a4647
Update the STARTUP_LOG description in shorewall[6].conf
...
- Update list of commands
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-19 07:49:37 -07:00
Tom Eastep
ab95607f5f
Document ?WARNING and ?INFO
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-18 14:47:08 -07:00
Tom Eastep
f9bbca8b05
Expand the list of commands that write to STARTUP_LOG
...
- add the safe-* commands
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-18 14:16:13 -07:00
Tom Eastep
0faf3b6db1
Send INFO messages to STDERR rather than STDOUT
2016-04-18 13:59:29 -07:00
Tom Eastep
3253c882e9
Merge branch '5.0.8'
2016-04-18 12:36:28 -07:00
Tom Eastep
5212dba7cb
Add an ESTABLISHED,RELATED rule for docker0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-18 10:13:05 -07:00
Tom Eastep
35a22eedac
Reword error message when tcclass MARK is too large
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-18 10:06:04 -07:00
Tom Eastep
2b7ef0fe32
Update the tcclasses manpage to discuss fw mark filter priority
...
- Also correct default priorities for tos= and tcp-ack
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-18 09:18:48 -07:00
Tom Eastep
b53de922d1
Catch 0 in the MARK column of the tcclasses file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-18 08:50:10 -07:00
Matt Darfeuille
365ffaf645
questions
...
On 17 Apr 2016 at 7:45, Tom Eastep wrote:
> On 04/17/2016 06:23 AM, Matt Darfeuille wrote:
>
> >> Tom, I neglected the git part of that request!(sorry):
> >>
> >> Could changes be also made in the git code repo that take for account
> >> case insensitive system?:
> >>
> >> What I suggest doing is using the deprecated extension when the case
> >> of a file is changed in the code so git wouldn't show 'Modified: ...'
> >> and simply modifying shorewall/install.sh to strip the file from the
> >> deprecated extension and then copying it to the deprecated directory.
> >>
> >> In other words: when changing the case of a file tracked by git could
> >> case-insensitivity platform be taken in to account?
> >>
> >> -Matt
> >>
> >> P.S. I'll test SW_LOGGERTAG tomorrow!!!:)
> >
> > Or do you have a better solution, if no, I could do the changes to
> > shorewall/install.sh!?
>
> Sure -- go ahead. We'll do it in the master branch, though, since I've
> now created a 5.0.8 branch for the upcoming release.
>
> >
> > You might want to apply the attached patch to changelog.txt in the
> > release repo!
> >
>
> Applied -- thanks!
>
> -Tom
> --
> Tom Eastep \ When I die, I want to go like my Grandfather who
> Shoreline, \ died peacefully in his sleep. Not screaming like
> Washington, USA \ all of the passengers in his car
> http://shorewall.net \________________________________________________
>
>
Attached as case.patch are 3 patches:
1 and 2 simply rename the deprecated files(adding .deprecated)
Patch 3 will modify Shorewall/install.sh to reflect the new naming
scheme!
I didn't have the time to test SW_LOGGERTAG but will do so in the
coming days!!!:)
-Matt
-------------- Enclosure number 1 ----------------
From 2ecd761b414af61c5854d6427fb9ec8ab1365c7b Mon Sep 17 00:00:00 2001
From: Matt Darfeuille <matdarf@gmail.com >
Date: Sun, 17 Apr 2016 18:34:40 +0200
Subject: [PATCH 1/3] Rename macro.SNMPTrap to macro.SNMPTrap.deprecated
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-17 13:50:17 -07:00
Tom Eastep
ae852b513d
Correct indentation issue
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-17 10:23:18 -07:00
Tom Eastep
9611b588e3
Use a uniform format for log timestamps
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-16 09:52:35 -07:00
Tom Eastep
eb95532248
Enable compiler logging on reload and restart
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-16 09:52:17 -07:00
Tom Eastep
fb8dbcf44b
Use a uniform format for log timestamps
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-16 09:49:38 -07:00
Tom Eastep
62a14aab28
Enable compiler logging on reload and restart
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-16 09:37:42 -07:00
Tom Eastep
335f2968f8
Implement ?INFO and ?WARNING
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-16 09:20:09 -07:00
Tom Eastep
32f888a7d4
Add an ENVIRONMENT section to the CLI manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-15 15:41:55 -07:00
Tom Eastep
c725372639
Correct logging of 'reloaded' message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-15 14:46:21 -07:00
Tom Eastep
524838ae47
Implement $SW_LOGGERTAG
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-15 14:29:51 -07:00
Tom Eastep
549af8b402
Update config files where address and gateway variables can be used
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-15 10:51:39 -07:00
Tom Eastep
6aa0ecae4f
Re-factor the code for saving/loading ipsets
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-14 15:15:47 -07:00
Tom Eastep
434e042494
Add the deprecated/ directories to the CONFIG_PATH
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-14 14:17:06 -07:00
Tom Eastep
9fa0df2fd1
Move the code that generates zap_ipsets() to after save_ipsets() generation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-14 09:56:48 -07:00
Tom Eastep
074655d1bd
Fix AUTOMAKE and the start command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-14 09:43:21 -07:00
Tom Eastep
216bc715e8
Clean up V4/V5 ipset enforcement
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-14 09:00:38 -07:00
Tom Eastep
541ecb67b4
Update dhcp article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-13 17:36:56 -07:00
Tom Eastep
dbd42e1d5d
More ipset fixes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-12 16:29:13 -07:00
Tom Eastep
04ec8273ef
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-04-12 07:13:29 -07:00
Tuomo Soini
772f88b1fd
action.A_Reject: improve comment text
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-12 13:17:56 +03:00
Tuomo Soini
3e0b8c60a2
Reverse the order of ICMP and Broadcast checking in the default actions
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-12 10:12:29 +03:00
Tom Eastep
fc2b555cdb
Correct date formatting in startup_error()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 15:24:35 -07:00
Tom Eastep
16afd880b2
Reverse the order of ICMP and Broadcast checking in the default actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 11:16:46 -07:00
Tom Eastep
76a5841fcd
Reverse the order of Broadcast and ICMP checking in the default actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 10:47:11 -07:00
Tom Eastep
9758e8cdc5
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-04-11 10:41:44 -07:00
Tom Eastep
2cf3706864
Correct handling of a zone with two interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 10:32:26 -07:00
Tom Eastep
3028dafbac
Correct DBL 'src-dst' handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 09:13:17 -07:00
Tom Eastep
16a31c3d29
Make MINIUPNPD work with DOCKER
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 09:02:44 -07:00
Tom Eastep
d3f377e915
Don't double-save the dynamic blacklisting ipset
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-11 08:37:39 -07:00
Tuomo Soini
54a5748395
macros: RedisCluster and RedisSentinel
...
http://redis.io/topics/sentinel
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-11 14:39:21 +03:00
Tom Eastep
6c00f72f44
Create ipsets with the 'counters' option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-10 18:09:41 -07:00
Tom Eastep
8dc88898c8
Tidy up the output of 'shorewall[6][-lite] show bl'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-10 17:22:22 -07:00
Tom Eastep
deaaecdf1c
Add 'nodbl' interface option.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-10 16:09:39 -07:00
Tom Eastep
05e4049174
Ipset-based blacklisting
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-10 16:07:56 -07:00
Tom Eastep
ef10515a42
Correct FASTACCEPT description
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-10 07:20:45 -07:00
Tom Eastep
5db6cb1b7d
Correct load_ipsets()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-09 16:07:10 -07:00
Tom Eastep
76c8917aa7
Add a sixth parameter to Drop and Reject
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-08 09:10:45 -07:00
Tom Eastep
be58d530c4
Document 'logjump'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-08 09:09:59 -07:00
Tom Eastep
321476fd51
Tweak terminating() implementation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-08 08:24:57 -07:00
Tom Eastep
bd6b32eb25
Add a progress message for REJECT_ACTION processing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-07 10:30:54 -07:00
Tom Eastep
4fdf54eca1
Tweak process_reject_action()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-07 10:02:48 -07:00
Tom Eastep
70bbd21b35
Ensure that the REJECT_ACTION is terminating
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-07 09:34:38 -07:00
Tom Eastep
87a9b95f73
Catch case where a transformed rule jumps to its own chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-07 08:58:50 -07:00
Tom Eastep
ecd7261365
Use -g when target is a terminating chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-07 08:48:36 -07:00
Tom Eastep
293cd1d66a
Always go to the reject chain rather than jump to it
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-06 09:14:06 -07:00
Tom Eastep
436b5d89ce
Correct comment
...
- The chain will only exist if logging wasn't specified for the same
disposition.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-06 08:50:29 -07:00
Tom Eastep
26795cf082
Correct setup of $usedactions{A_REJECT}
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-06 08:18:36 -07:00
Tom Eastep
95e4071f34
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-04-06 07:42:46 -07:00
Tuomo Soini
6366fb40cf
ProxyARP.xml: fix proxyndp sample column matching
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-06 12:00:41 +03:00
Tuomo Soini
20179a5c9d
remove completely false README.txt
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-06 10:23:58 +03:00
Tom Eastep
b7e6893f7d
Restore DropUPnP behavior in Reject
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-05 20:00:15 -07:00
Tom Eastep
3ac3ae279f
Add A_REJECT action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-05 16:38:39 -07:00
Tom Eastep
54843c617d
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-04-05 11:46:42 -07:00
Tom Eastep
e9467326f3
Allow allow REJECT to take a parameter
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-05 11:20:44 -07:00
Tuomo Soini
80bf77e8a8
modules.xtables: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:31:36 +03:00
Tuomo Soini
1e5ebee799
modules.tc: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:31:36 +03:00
Tuomo Soini
74fe7b302e
modules.ipset: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:31:36 +03:00
Tuomo Soini
d70e18535b
modules.extensions: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:31:36 +03:00
Tuomo Soini
64a6b36918
modules.essential: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:31:36 +03:00
Tuomo Soini
35bc0bd8ef
lib.base: format to new headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:27:47 +03:00
Tuomo Soini
4034ebc270
modules.xtables: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:25:36 +03:00
Tuomo Soini
bd33bb7105
modules.tc: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:25:36 +03:00
Tuomo Soini
dbb23d8807
modules.ipset: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:25:36 +03:00
Tuomo Soini
5c4ee58f44
modules.extensions: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:25:36 +03:00
Tuomo Soini
bf8b519da6
modules.essential: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:25:36 +03:00
Tuomo Soini
724d430ba4
action.template: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:20:55 +03:00
Tuomo Soini
11479b14f9
action.mangletemplate: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:20:55 +03:00
Tuomo Soini
54eea167e5
action.Broadcast: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:20:55 +03:00
Tuomo Soini
8d92d07352
action.AllowICMPs: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:20:55 +03:00
Tuomo Soini
6122a1db19
action.A_AllowICMPs: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:20:55 +03:00
Tuomo Soini
2962809243
action.Untracked: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
23a91d7c26
action.template: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
30b2b2dcb4
action.TCPFlags: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
46a86cfa58
action.SetEvent: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
ad2dfd9eaf
action.RST: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
001aabf72c
action.ResetEvent: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
7052819a9c
action.Related: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
2b1244c110
action.Reject: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
94803b63b1
action.NotSyn: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
5f33cb5d0a
action.New: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
deda26c790
action.mangletemplate: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
f9f349a148
action.Invalid: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
2842e897c9
action.IfEvent: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
de44a16094
action.GlusterFS: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
6560e74c2c
action.Established: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
f7ddf3008d
action.DropSmurfs: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
cb608172d3
action.dropInvalid: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
f806010521
action.Drop: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
205254e043
action.DNSAmp: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
a7efa12fff
action.Broadcast: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
95c4f2d7f6
action.AutoBLL: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
89189f7836
action.AutoBL: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
c2e3156e5c
action.A_Reject: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
ffe9f88c07
action.allowInvalid: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tuomo Soini
e4c9c83e2b
action.A_Drop: reformat to new header style
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-04-05 20:13:55 +03:00
Tom Eastep
9a7f6512a1
Delete IPv6 actions that duplicate IPv4 actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-04 15:58:39 -07:00
Tom Eastep
77a93d10a4
Don't pass an argument to DropUPnP out of Drop and Reject
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-04 15:55:48 -07:00
Tom Eastep
a96ee0ab9a
Make IPv6 Auth default consistent with IPv4
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-04 12:59:09 -07:00
Tom Eastep
646572098c
Update IPv6 Article
...
- Remove 'No NAT' bullet
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-04 12:55:37 -07:00
Tom Eastep
75df718865
Reword comment in push_action_params()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-04 09:41:28 -07:00
Tom Eastep
ae8e2f70ea
Efficiency change to known_interface()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-03 17:34:02 -07:00
Tom Eastep
39f5b77e5f
Fix known_interface()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-03 16:31:45 -07:00
Tom Eastep
cb5a2519f3
Keep hyphens in @chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-03 16:30:31 -07:00
Tom Eastep
4151f7c504
Revert change to log_[i]rule_limit
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-03 16:29:52 -07:00
Tom Eastep
054837aeea
Use the real chain name in log messages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-03 13:04:25 -07:00
Tom Eastep
ebf55a84f0
Correct trace instructions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-03 12:47:28 -07:00
Tom Eastep
b637d303b9
Correct use of a physical interface name in the hosts file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-02 17:27:20 -07:00
Tom Eastep
0dbf42424d
Make physical name a synonym for the correcponding logical name.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-02 10:04:05 -07:00
Tom Eastep
f22e8d6d55
Allow physical interface to work in the ecn file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-01 15:10:49 -07:00
Tom Eastep
d98305c6f4
Correct default for MINIUPNOD
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-01 12:20:42 -07:00
Tom Eastep
3cbfdadb32
Merge branch '5.0.7'
2016-04-01 09:46:53 -07:00
Tom Eastep
81d76e3817
Document + in the MODULESDIR setting.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-01 09:43:06 -07:00
Tom Eastep
df1b1f6768
Add MINIUPNPD option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-04-01 08:57:08 -07:00
Tom Eastep
3881b38e02
Fix similar INTERFACE column issue in the nat and netmap files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-31 14:16:43 -07:00
Tom Eastep
8a8f3b6f59
Merge branch '5.0.7'
2016-03-31 12:55:16 -07:00
Tom Eastep
b9bed00123
Correct handling of a physical name in a masq rule
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-31 12:52:30 -07:00
Tom Eastep
38aa7797c4
Allow protocol and user lists in actions and macros
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-30 08:34:42 -07:00
Tom Eastep
404540ffe1
Merge branch '5.0.7'
2016-03-30 08:17:19 -07:00
Tom Eastep
dd3c0daa08
Handle inline matches correctly in the mangle file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-29 13:33:47 -07:00
Tom Eastep
4fddfcfba0
More complete fix for inline matches
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-29 13:15:01 -07:00
Tom Eastep
421d5f6043
Move Raw matches to last.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-29 09:31:27 -07:00
Tom Eastep
382ab380a2
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-03-29 07:36:49 -07:00
Tuomo Soini
2342c7cd9c
Perl/Shorewall/Chains.pm: Fix warning with older perl
2016-03-29 09:58:33 +03:00
Tom Eastep
66ae4975b2
Allow :R with DIVERT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-28 15:52:49 -07:00
Tom Eastep
5b7a9db170
Correct clearing of inline matches
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-28 15:48:59 -07:00
Roberto C. Sánchez
899a317c95
Fix typos
2016-03-26 22:25:30 -04:00
Tom Eastep
89adc3ea68
Use an address variable rather than find_first_interface_address()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-26 13:13:15 -07:00
Tom Eastep
ad87d94e33
Small efficiency change
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-26 13:12:33 -07:00
Tom Eastep
8a6941707a
Updates to the config basics article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-26 09:01:02 -07:00
Tom Eastep
0b049a55e0
Correct Three-interface doc.
...
- find_interface_address -> find_first_interface_address
2016-03-25 09:34:49 -07:00
Tom Eastep
f86abf9552
Eliminate @columnstack -- simple save the columns array on the call stack.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-22 10:49:40 -07:00
Tom Eastep
9fe1a34412
Tighten up editing of configuration options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-21 12:03:45 -07:00
Tom Eastep
abe533b6e3
Correct the action on ingress filters
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-19 13:45:33 -07:00
Tom Eastep
1c3140789c
Add stab to ingress qdiscs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-19 13:25:39 -07:00
Tom Eastep
0399a346d0
Replace a silly line of code.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-19 12:05:45 -07:00
Tom Eastep
6ed3861d76
Correct Mangle Action Handling for second visit to the same action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 15:25:52 -07:00
Tom Eastep
7a18847c14
Correct handling of log level in a _DEFAULT setting.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 15:25:14 -07:00
Tom Eastep
273c89a753
Implement MARK and CONNMARK in the rules file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 11:42:58 -07:00
Tom Eastep
2bebf1c95a
Make '&' and '|' work with CONNMARK
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 11:30:52 -07:00
Tom Eastep
18573037f9
More 'check -r' fixes around Docker
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 11:09:39 -07:00
Tom Eastep
818628138b
Add MARK and CONNMARK to the %targets table
...
- Also, sort the table entries
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 10:21:35 -07:00
Tom Eastep
2adec0eb65
Implement a filename cache for find_file()
...
- Don't need to search the CONFIG_PATH for re-open of same file.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 09:45:41 -07:00
Tom Eastep
6ae94767b7
Correct a comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-18 08:31:52 -07:00
Tom Eastep
9f26c010ac
Remove embedded Perl from allowInvalid and dropInvalid
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-17 08:59:29 -07:00
Tom Eastep
9ab2310dc8
Correct an incorrect comment in process_rules()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-17 08:47:33 -07:00
Tom Eastep
0b5d59870b
Remove embedded Perl from Shorewall6 Drop and Reject actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-16 15:07:59 -07:00
Tom Eastep
c9c5f0174c
Remove trailing blank lines from action.TCPFlags
2016-03-16 14:54:05 -07:00
Tom Eastep
5fc391cb58
Document passed() in the config basics document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-15 15:19:21 -07:00
Tom Eastep
da0653cb2f
Declare passed() in Shorewall::User rather than importing it from Config
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-15 14:16:15 -07:00
Tom Eastep
65ce6ed226
Update modules to use passed() for parameter testing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-15 12:06:32 -07:00
Tom Eastep
eb9dd3e485
Implement passed() in Config.pm
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-15 12:00:56 -07:00
Tom Eastep
796f191d48
Don't re-stat action files in process_action()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-15 09:03:36 -07:00
Tom Eastep
71c26beab4
Remove dead code (caused by bad test)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 17:56:34 -07:00
Tom Eastep
6f04902963
Make use of 'state=' in actions a fatal error
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 17:55:54 -07:00
Tom Eastep
bd2295c4c3
Avoid embedded Perl in the Broadcast action when ADDRTYPE is available
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 15:57:32 -07:00
Tom Eastep
901c6d34f6
Correct typo in Rules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 15:56:57 -07:00
Tom Eastep
741da14789
Ignore 'state' in the actions file with a warning
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 15:46:29 -07:00
Tom Eastep
34c3828b7c
Fix action.Related
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 15:44:16 -07:00
Tom Eastep
eed7692952
Document the state action option.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 15:15:32 -07:00
Tom Eastep
3c544b20e6
Convert the state actions to use the 'state' action option
...
- Also avoid the CLI having to know about builtin actions
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 14:54:09 -07:00
Tom Eastep
dd547c90a8
Implement the 'state' action option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 14:30:36 -07:00
Tom Eastep
35fac8c2ea
Avoid repeated %actions lookup in process_action()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 12:37:45 -07:00
Tom Eastep
513b828788
Pass '$prerule' to process_inline()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 10:56:07 -07:00
Tom Eastep
28e0cb5335
Use filename stored in the actions table
...
- Avoid a find_file call on each action invocation
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 10:55:39 -07:00
Tom Eastep
c631173310
Eliminate the %inlines table
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-14 10:47:18 -07:00
Tom Eastep
95da427ea8
Update manpages for 'audit' actions.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 15:53:31 -07:00
Tom Eastep
2c14b7c9e3
Rename %actparms to %actparams
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 15:36:38 -07:00
Tom Eastep
8e7af2e95e
Additional editing of audit action parameters.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 15:28:49 -07:00
Tom Eastep
6be4fd377f
Make RST and NotSyn 'audit' actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 14:40:12 -07:00
Tom Eastep
44c0bffcd3
Add 'audit' option to actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 14:39:46 -07:00
Tom Eastep
2c3644a510
Make Action/Inline binary options into a bitmap
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 14:15:43 -07:00
Tom Eastep
407bc8f8db
More prerule fixes in expand_rule()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 12:57:23 -07:00
Tom Eastep
2743a411ae
Add a jump to DOCKER from OUTPUT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 12:51:36 -07:00
Tom Eastep
1a23e840d7
Restore NotSyn rule in action.Reject
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 12:21:24 -07:00
Tom Eastep
bed747c20b
Restore NotSyn and RST logic using perl_action_tcp_helper()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 10:49:23 -07:00
Tom Eastep
c2fd48c4c6
Include pre-rule matches when the target is a chain
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 10:08:17 -07:00
Tom Eastep
054637880b
Cleanup of Standard Actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-13 10:06:02 -07:00
Tom Eastep
5f01bc75bd
Better fix for $current_param in the INLINE block of process_rule()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 18:28:27 -08:00
Tom Eastep
0e59b82503
Handle '+' in inline matches the mangle and masq files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 17:14:15 -08:00
Tom Eastep
33343aaf17
Modify TCP-specific actions to use + in inline_matches
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 17:01:52 -08:00
Tom Eastep
90ace544eb
Implement '+' to specify inline matches as "early"
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 16:39:46 -08:00
Tom Eastep
c36cee28fb
Save/Restore $current_param in process_inline()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 16:39:08 -08:00
Tom Eastep
df5f34951c
Correct actions
...
- Restore the TCP-related actions
- Correct typo in action.Drop
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 15:09:31 -08:00
Tom Eastep
ec2ebee0e6
Clear inline matches between calls to process_rule()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 15:08:47 -08:00
Tom Eastep
a50c52675b
Correct a comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 15:08:04 -08:00
Tom Eastep
bb7b3123df
Eliminate ?begin perl ... ?end Perl in many actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 12:15:07 -08:00
Tom Eastep
3960fa6e0e
Performance tweak to read_a_line()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-12 09:05:30 -08:00
Tom Eastep
a7fda02d88
Print lines copied into the generated script when tracing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-11 15:59:49 -08:00
Tom Eastep
68a324c62c
Small tweaks to read_a_line()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-11 13:56:03 -08:00
Tom Eastep
d179615fca
'trace' and 'check -r' uses $PAGER
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-11 13:26:23 -08:00
Tom Eastep
6779c8307f
Optimize chain resolution in process_mangle_rule1()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-10 15:26:52 -08:00
Tom Eastep
147c7e284f
Fix a couple of Mangle Action blunders
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-10 13:59:29 -08:00
Tom Eastep
8d657775af
Fix 'check -r'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-10 13:41:59 -08:00
Tom Eastep
b14bf0e779
Remove unused globals from the Rules module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-10 11:14:51 -08:00
Tom Eastep
dc286c472c
More tidying up of Mangle Actions
...
- Delete an inadvertently-added blank line
- Move $convert declaration back to the Tc module
- Add comments in the Tc module about key moved declarations
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-09 15:51:54 -08:00
Tom Eastep
87f63b7160
Allow USE_DEFAULT_RT with NetworkManager
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-09 14:17:40 -08:00
Tom Eastep
617218f8ea
Merge branch '5.0.6'
2016-03-09 11:36:46 -08:00
Tom Eastep
09c3be0adb
Correct typo that cases restart failure.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-09 11:18:05 -08:00
Tom Eastep
ec9148637f
Inline mangle actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-09 10:28:02 -08:00
Tom Eastep
991d8d2d3f
Move convert_tos() back to the Tc module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-08 11:17:14 -08:00
Tom Eastep
301bce5d34
Clean up mangle actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-08 09:27:43 -08:00
Tom Eastep
1add0487f6
Document Mangle Actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-07 14:56:20 -08:00
Tom Eastep
a4aa020a84
Add R chain designator
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-07 13:51:49 -08:00
Tom Eastep
81c16d2d67
More Mangle Action Changes
...
- Move open_mangle_for_output() back to the Tc module
- Eliminate global variables in process_mangle_rule1()
- Allow creation of mangle action chains
- Minor (but needed) logic changes
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-07 13:51:28 -08:00
Tom Eastep
bbbf54f7c3
Merge branch '5.0.6'
2016-03-07 08:59:17 -08:00
Tom Eastep
c37e41ee9c
Avoid duplicate route rules from 'disable'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-06 15:48:33 -08:00
Tom Eastep
ba6dc9c5c0
First cut at mangle actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-06 12:42:22 -08:00
Tom Eastep
89b2c2fb55
Move mangle processing into the Rules module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-06 08:59:37 -08:00
Tom Eastep
43a81e85f7
Add FAQ 1105 (Wifidog)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-05 16:34:01 -08:00
Tom Eastep
c5bb04dcb2
Add FAQ 1105 (Wifidog)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-05 14:41:30 -08:00
Tom Eastep
d4e2508a90
Clarify USE_DEFAULT_RT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-04 14:26:42 -08:00
Tom Eastep
2bb143b28c
Save/restore nat OUTPUT jump to DOCKER
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-04 12:21:45 -08:00
Tom Eastep
99f83da3ab
Avoid duplicate rules after reload
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-04 11:09:53 -08:00
Tom Eastep
89e3e959dc
Revert bad change
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-04 10:20:55 -08:00
Tom Eastep
9e41264671
Go back to generating docker0 rules when it is defined to Shorewall
...
- Avoids issues after 'stop'
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-04 09:27:47 -08:00
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
62880bdf1b
Don't populate PAGER in the sample config files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-02 13:04:47 -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
90bc894200
More PAGER fixes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-03-02 08:58:26 -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
4e9f4742cb
Merge branch 'master' into 5.0.6
2016-03-01 15:13:20 -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
8a02624f05
Update copyrights in the install and uninstall scripts
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-29 11:03:09 -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
64de3d0e83
Add Docker article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-26 15:30:39 -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
fb03fd0a5c
Correct another silly typo -- this time in allowBcast()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-26 08:00:27 -08:00
Tom Eastep
d50ba365fb
Correct silly typo in setup_ecn()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-26 08:00:17 -08:00
Tom Eastep
f265596613
Add sample ulogd.conf file to the logging article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-25 14:01:37 -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
6a8e280483
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-02-21 12:59:10 -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
Tuomo Soini
b39639e1f2
macro.SNMPtrap: fix file name to use common naming
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-20 18:45:55 +02: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
2ee1d11f94
Cleanup of ORIGINAL DEST column references
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 12:40:36 -08:00
Tom Eastep
016acfb9de
Final cleanup of PORT(S) column headings
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 12:31:53 -08:00
Tom Eastep
665381f194
Remove 'LAST LINE' anachronisms
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 12:04:32 -08:00
Tom Eastep
b6af7a0ebb
Update the packet marking article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 11:16:24 -08:00
Tom Eastep
839f7f3329
Correct policy file column heading names
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 11:04:20 -08:00
Tom Eastep
0a73d365dd
Update three-interface guide for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 11:02:48 -08:00
Tom Eastep
749fdfa5af
Update Xen articles for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:46:36 -08:00
Tom Eastep
e36bf75f9f
Update the whitelisting article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:29:41 -08:00
Tom Eastep
bc50c45e63
Update the Vserver article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:26:10 -08:00
Tom Eastep
9203c8a4a9
Update the VPN Basics document for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:23:24 -08:00
Tom Eastep
02ab9cd4ac
Update the UPnP doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:19:27 -08:00
Tom Eastep
1dff1444dd
Update the Universal guide for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:17:34 -08:00
Tom Eastep
3562a5b1bd
Update the two-interface guide for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:17:20 -08:00
Tom Eastep
b73fb58745
Update the Traffic Shaping article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 10:17:05 -08:00
Tom Eastep
26f760b761
Update start/stop article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:57:15 -08:00
Tom Eastep
b95a15631c
Update standalone article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:51:16 -08:00
Tom Eastep
60f319a718
Update Simple Bridge article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:46:23 -08:00
Tom Eastep
ce47ea7ec7
Update simple TC article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:33:19 -08:00
Tom Eastep
e60c230140
Update the Squid document for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:30:28 -08:00
Tom Eastep
491d55b04a
Correct NAT file column heading
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:22:15 -08:00
Tom Eastep
ccb5f6b052
Modify the Setup Guide for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:20:47 -08:00
Tom Eastep
c3d005526c
Update Logging article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:07:06 -08:00
Tom Eastep
909822230b
Fix tunnels file column headings
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:03:09 -08:00
Tom Eastep
6cba78e89a
Update Aliased Interface article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-19 09:02:44 -08:00
Tom Eastep
abc29f0f91
Update the Samba article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 16:25:30 -08:00
Tom Eastep
a1ad796469
Update QOS example for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 16:20:08 -08:00
Tom Eastep
c4e1cf2c2e
Update the Proxy ARP article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:59:58 -08:00
Tom Eastep
8fd7de3900
Update the ports article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:57:40 -08:00
Tom Eastep
4050aa5180
Update the Port Knocking article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:54:32 -08:00
Tom Eastep
0e2a3f7265
Update the ping article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:52:29 -08:00
Tom Eastep
ed29505f67
Update the OpenVZ article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:50:48 -08:00
Tom Eastep
44813f75fd
Update the OpenVPN article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:45:02 -08:00
Tom Eastep
9cae0243a5
Update NAT article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:21:34 -08:00
Tom Eastep
6a8a229342
Update My Network article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:19:06 -08:00
Tom Eastep
d88a00d0cb
Update multi-zone article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 15:12:47 -08:00
Tom Eastep
477a5eb36a
Update Multi-ISP doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 10:01:33 -08:00
Tom Eastep
4640e4c51e
Update MAC doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 09:46:35 -08:00
Tom Eastep
b4c4fd2efb
Update the laptop article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 09:38:50 -08:00
Tom Eastep
3277bd991b
Update ipset doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 09:10:41 -08:00
Tom Eastep
745e04823d
Update the IPSEC doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 09:06:09 -08:00
Tom Eastep
0a8905f25b
Update configuration basics doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-18 08:56:11 -08:00
Tom Eastep
353d4d1b70
Update Helpers doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 16:32:29 -08:00
Tom Eastep
94f2f5aaab
Update the FTP article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 16:27:46 -08:00
Tom Eastep
a959c4a3bb
Update the Events document for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 16:18:33 -08:00
Tom Eastep
340ae1cca1
Update Dynamic Zone document for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 16:01:21 -08:00
Tom Eastep
0b1588207d
Update the DHCP document for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:58:37 -08:00
Tom Eastep
9e6109bc36
Update the Bridge document for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:55:21 -08:00
Tom Eastep
a47cfb4f63
Update the blacklisting article for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:48:10 -08:00
Tom Eastep
6599425ce9
Update the anatomy doc for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:32:47 -08:00
Tom Eastep
0a2dc77be0
Update the Actions document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:32:24 -08:00
Tom Eastep
1f79bfa8dd
Use new column names in action.template
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:26:25 -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
5fc242f760
Use new column names in action.template
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-17 15:13:42 -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
21d9d56af0
Remove cruft from the Accounting article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-16 15:44:23 -08:00
Tom Eastep
c52efbffcb
Make current documentation for 5.0 only
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-16 15:24:10 -08:00
Tom Eastep
0d1d2c881f
Documentation updates on top of those by Tuomo Soini
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-16 14:14:40 -08:00
Tom Eastep
4c5eb2fc1c
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-02-15 11:34:30 -08:00
Tuomo Soini
32cd6eaa8a
macro.Web: remove duplicate "This macro"
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 21:12:57 +02:00
Tuomo Soini
4e4f54a6cd
macro.MDNS: fix header to show only one line in "shorewall show macros"
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 21:09:25 +02:00
Tuomo Soini
ea71679631
macro.JAP: fix comment text to work properly for "shorewall show macros"
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 21:06:40 +02:00
Tom Eastep
ddd4eb16b5
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-02-15 10:51:31 -08:00
Tom Eastep
bf8c131545
Add a local variable
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-15 10:36:53 -08:00
Tuomo Soini
5c7cba676b
macro.Mail: use new MSA macro
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 20:17:24 +02:00
Tuomo Soini
c78e7635c1
macro.Trcrt: Remove extra "."
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 20:16:14 +02:00
Tuomo Soini
453244fe95
macro.Trcrt: update header
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 20:13:41 +02:00
Tuomo Soini
23baddab16
macro.Ping: update header
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 20:13:41 +02:00
Tuomo Soini
62fab6e20d
macro.mDNS: update header
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 20:13:41 +02:00
Tuomo Soini
74cb2bea83
macro.template: update header for better screen fit
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:36:24 +02:00
Tuomo Soini
2c966d90f1
macro.Tinc: update header
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:31:41 +02:00
Tuomo Soini
6e41bc7e88
Submission: use common format for header
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:28:12 +02:00
Tuomo Soini
a86f895ae6
macro.Zabbix: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
4bfa419d4d
macro.Xymon: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
c2e8659ba5
macro.Whois: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
b2fa421933
macro.Webmin: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
4ef0ebabbb
macro.Webcache: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
d1d0dac9ce
macro.Web: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
6535633fbb
macro.VRRP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
d2422a1dea
macro.VNCL: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
6dcb1e28b4
macro.VNC: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
f00f03eee3
macro.Trcrt: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
a351431c62
macro.Time: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
a9e354cec8
macro.TFTP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
aee6f9faa2
macro.Teredo: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
c285330f25
macro.template: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
bc57fedac4
macro.Telnets: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
ae7d78d75f
macro.Telnet: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:40 +02:00
Tuomo Soini
cdae111c8d
macro.Syslog: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
f36e204d4a
macro.SVN: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
078dfc38ee
macro.Submission: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
4f4ddd4809
macro.SSH: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
864659b96e
macro.Squid: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
687cd578eb
macro.SPAMD: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
d092044bdd
macro.SNMPTrap: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
d72f0a1f41
macro.SNMP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
11cf80ce98
macro.SMTPS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
48efde89cd
macro.SMTP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
26710e72a9
macro.SMBswat: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
f8d99a0f22
macro.SMBBI: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
316f07bce9
macro.SMB: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
73aa2c68eb
macro.SixXS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
c2b1a0ce04
macro.SIP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
3cec3ce6bc
macro.Sieve: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
a1a6352617
macro.SANE: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
a32c0c9901
macro.Rsync: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
38953df7fb
macro.RNDC: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
b960256fdb
macro.RIPbi: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
cfe2b89e2d
macro.Rfc1918: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
9d4eb3eccf
macro.Reject: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
8d13653fc2
macro.Redis: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
974e88c038
macro.RDP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
ff449953c6
macro.Rdate: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
e5818fb9d8
macro.Razor: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
29b30f29a0
macro.QUIC: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
feaadcd8f8
macro.Puppet: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
71681d1ccd
macro.Printer: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
c9161a3eb2
macro.PPtP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
2c2c4194ce
macro.PostgreSQL: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
5cda192731
macro.POP3S: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
9b6f8d2f0c
macro.POP3: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
c25ddcea40
macro.Ping: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
5667919b91
macro.PCA: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
4f340e7033
macro.OSPF: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
724f21202c
macro.OpenVPN: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
efa019a782
macro.NTPbrd: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
2612e012d6
macro.NTPbi: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
2420f24a62
macro.NTP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
688ba42a57
macro.NNTPS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
9bf7bb73f9
macro.NNTP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
897337acef
macro.MySQL: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
f447e5f3ce
macro.Munin: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
2208dc85c6
macro.MSSQL: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
bb558baf23
macro.MSNP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
f16a7d6224
macro.MongoDB: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
a4c88ee966
macro.mDNSbi: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
996b629029
macro.mDNS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
d732a8a040
macro.Mail: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
ce6532ebfb
macro.LDAPS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
a82e517d05
macro.LDAP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
ccd1f3b9d3
macro.L2TP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
9b45c81dc6
macro.Kerberos: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
d9907e93e8
macro.Jetdirect: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
6222ec1e1a
macro.JAP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
9b2bc4f53d
macro.JabberSecure: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
e99b23c154
macro.JabberPlain: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
3a9979fb3d
macro.Jabberd: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
4ed88eb4ad
macro.Jabber: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
d890a840d4
macro.IRC: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
8c9c96c8d7
macro.IPsecnat: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
0718bebf6f
macro.IPsecah: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
f7a9d7dc4d
macro.IPsec: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
9ce2df55d1
macro.IPPserver: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
42438c817a
macro.IPPbrd: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
e08079cc1b
macro.IPP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
e49494bbe4
macro.IPMI: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
5496eacfa7
macro.IPIP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
ce2cf9e9f6
macro.IMAPS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
4f36f96163
macro.IMAP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
db62969526
macro.ILO: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
89bf8332be
macro.ICQ: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
f516a07f08
macro.ICPV2: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
e4982e6919
macro.HTTPS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:39 +02:00
Tuomo Soini
4289d0a2c0
macro.HTTP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
696996c8de
macro.HKP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
336518e24b
macro.GRE: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
6a73b5bc87
macro.Goto-Meeting: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
536b5c4cfc
macro.Gnutella: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
3b039c0cf0
macro.GNUnet: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
77a1d03435
macro.Git: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
5985ab2f88
macro.FTP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
26d1896d81
macro.Finger: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
2622489f36
macro.Edonkey: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
a12225047c
macro.DropUPnP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
c0d1cbd4ca
macro.DropDNSrep: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
71df5b5042
macro.Drop: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
8bb0fd93df
macro.DNS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
934fa78228
macro.Distcc: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
a881d663be
macro.DHCPfwd: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
848cb5954d
macro.DCC: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
f09d93a5a6
macro.DAAP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
ff5c3eba5a
macro.CVS: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
3ac875a66c
macro.Citrix: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
af1d90368e
macro.BLACKLIST: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
5075e298dc
macro.BitTorrent32: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
231b12b520
macro.BitTorrent: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
016978eab5
macro.BGP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
2cea162713
macro.Auth: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
84caee9a3e
macro.AMQP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
6888195ce6
macro.Amanda: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
538600d389
macro.AllowICMPs: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
bc34b49905
macro.A_DropUPnP: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
e4a4fb25f1
macro.A_DropDNSrep: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
a883a0720c
macro.ActiveDir: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
4a3e168476
macro.A_AllowICMPs: update macro header and description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:20:38 +02:00
Tuomo Soini
7b4c4fb30d
macro.MSA: Add as alias for Submission
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 18:19:11 +02:00
Tuomo Soini
97b3dd244a
Macros: update headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 14:31:00 +02:00
Tuomo Soini
4014fdb204
LXC: update header
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 13:55:52 +02:00
Tuomo Soini
cc2ae454a0
IPP2P: update mangle headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 09:54:16 +02:00
Tuomo Soini
4a44cc787e
IPv6Support: Add missing DEST to samples and update header format
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 09:45:50 +02:00
Tuomo Soini
457147b7f5
ISO-3661: update rules header to new format
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 09:27:42 +02:00
Tuomo Soini
bb7d41234b
ECN: 2006-01-17 is not recent
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-15 09:21:58 +02:00
Tuomo Soini
fcf435bc16
Audit: use new headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-14 22:13:55 +02:00
Tuomo Soini
b4ca4b52fe
upgrade_issues: fix one typoed "section" and use new header for one sample
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-14 21:53:13 +02:00
Tuomo Soini
5230eb3b65
FAQ: convert to new header format and update blacklist entry to use blrules
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-14 18:31:44 +02:00
Tuomo Soini
704947a1c4
Accounting: update to new config headers and update to ?SECTION
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-13 19:04:07 +02:00
Tuomo Soini
f08ec7f44c
6to4.xml: add "?FORMAT 2" so that sample actually works
2016-02-12 22:49:01 +02:00
Tuomo Soini
daa016d2a3
Shorewall[6]/Makefile: remove extra restore, shorewall does that automatically
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-12 18:17:46 +02:00
Tuomo Soini
660ae09f4f
shorewall6/Makefile: rewrite the Makefile to match shorewall one
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-12 12:20:28 +02:00
Tuomo Soini
b57c02e0ed
shorewall/Makefile: fix logics so you get error from reload
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-02-12 12:19:25 +02:00
Tom Eastep
865a397207
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-02-10 14:50:39 -08:00
Tom Eastep
1553e6b831
Sort the output of 'show actions'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-10 08:37:47 -08:00
Tuomo Soini
a27a39af0b
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-02-10 16:03:40 +02:00
Tuomo Soini
7afdec9f55
6to4: fix documentation to use new config header format
2016-02-10 16:03:14 +02:00
Tom Eastep
a219778aa3
Correct macro indentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-09 18:20:12 -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
1c4815358b
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2016-02-03 10:56:44 -08:00
Tom Eastep
1fa2ecf6b9
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2016-02-03 10:56:19 -08:00
Tom Eastep
10e84b8505
Update FAQ and upgrade article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-02-03 10:55:50 -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
2a56f50d99
Update documentation index for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-28 13:52:25 -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
Matt Darfeuille
c85ced09af
Corrected sysconfig files
...
Removed unnecessary lines in sysconfig files
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-19 09:25:37 -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
9aa915a5e0
Avoid errors from 'status -i' when there are no optional interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-15 16:39:47 -08:00
Tom Eastep
f95c67ec6b
Restore unmodified .pm files after installation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-15 13:55:46 -08:00
matt darfeuille
f1ed963077
Shorewall 5.0.4 Beta 2
...
Hi Tom,
Some unnecessary lines need to be removed from the sysconfig files.
I made some more changes to the init.openwrt.sh scripts(lite and
lite6)
Attached as sysconfig-lite.patch!
In order to be able to use the build50 script I had to make a few
changes(attached as build50.patch):
- Adding a variable BASEDIR (to build shorewall in a subdirectory)
BASEDIR=$PWD
and doing:
$BASEDIR/annotate.pl
and so on ...
- Adding a variable
CYGWINSTYLESHEET
and modifying the script to use this new variable(added cygwin clause
in case statement)
- Adding a variable GITRELEASEDIR and modifying the lines around
624(to specify an other name for the release repo)
from
../release/
to
../$GITRELEASEDIR/
- Added line to remove unnecessary *.bak files
- Added an if statement if a subdirectory is used when patches are
created
question/request:
Would it be possible to use the build50 script without the '-t'
option?
That way only the packages would be built but the tarballs wouldn't
be created.
-Matt
On 12 Jan 2016 at 7:57, Tom Eastep wrote:
> Shorewall 5.0.4 Beta 2 is now available for download.
>
> New Feature since Beta 1:
>
> 1) The mangle file now supports an DIVERTHA action that provides
> support for HAProxy.
>
> To setup the HAProxy transparent configuration described at
>
> http://www.loadbalancer.org/blog/setting-up-haproxy-with-transparent-mode-on-centos-6-x ,
> place this entry in shorewall-providers(5):
>
>
> #NAME NUMBER MARK DUPLICATE INTERFACE GATEWAY OPTIONS
> TProxy 1 - - lo - tproxy
>
> and use this DIVERTHA entry:
>
> #ACTION SOURCE DEST PROTO ...
> DIVERTHA - - tcp
>
> Thank you for testing,
> -Tom
> --
> Tom Eastep \ When I die, I want to go like my Grandfather who
> Shoreline, \ died peacefully in his sleep. Not screaming like
> Washington, USA \ all of the passengers in his car
> http://shorewall.net \________________________________________________
>
>
-------------- Enclosure number 1 ----------------
>From ca4c854433e1c4c5870ea3e71225e5df8da4e255 Mon Sep 17 00:00:00 2001
From: Matt Darfeuille <matdarf@gmail.com >
Date: Wed, 13 Jan 2016 21:28:47 +0100
Subject: [PATCH 1/2] Modified lite and lite6.init.openwrt.sh
Signed-off-by: Matt Darfeuille <matdarf@gmail.com >
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-14 16:36:21 -08:00
Tom Eastep
3bce4627f8
Correct typo in the dhcp article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-14 08:56:19 -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
e29e2d117d
Documentation updates
...
- update LSM section of the Multi-ISP article
- Correct formatting of HAPROXY examples
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-08 08:33:42 -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
2778e8c6b5
Restore debian service file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-05 10:56:00 -08:00
Tom Eastep
ee6a1dadbb
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2016-01-05 10:48:48 -08:00
Tuomo Soini
da93669245
Revert "shorewall6*.service: make sure shorewall and shorewall6 won't start at same time"
...
This reverts commit ff821e57c2
.
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-01-05 20:18:25 +02: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
Tuomo Soini
ff821e57c2
shorewall6*.service: make sure shorewall and shorewall6 won't start at same time
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2016-01-05 12:04:46 +02:00
Tuomo Soini
c447ddd03e
systemd service: rename pre214 systemd versions to pre214 and remove separeate 214 variants
2016-01-05 12:01:21 +02:00
Tom Eastep
0c66e5f1b2
More Openwrt support in Shorewall-init from Matt Darfeuille
...
- Also, various cleanup in install/uninstall scripts
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2016-01-04 15:45:21 -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
89d91d37a1
Add Shorewall-init installer support for OpenWRT
...
- Supply sysconfig files for all products
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-27 16:47:31 -08:00
Tom Eastep
c9f57ad9c9
Update manpages for ADD timeout
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-24 09:20:42 -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
fc426923b1
Accept host=debian.* in the configure scripts (Matt Darfeuille)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-12 08:10:34 -08:00
Tom Eastep
af6fc399e5
Update the configuration basics document
...
- Reflect the change in column headings in 5.0.3
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-11 14:47:18 -08:00
Tom Eastep
5bc471ff03
Another fix to configure.pl from Matt Darfeuille
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-11 14:37:52 -08:00
Tom Eastep
532d5c7e50
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-12-08 08:06:39 -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
0bc250ba11
More configure/install/uninstall fixes from Matt Darfeuille
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-06 12:04:34 -08:00
Tom Eastep
1d79cbc54e
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
...
# Conflicts:
# Shorewall-init/install.sh
2015-12-06 11:55:03 -08:00
Tom Eastep
4b893b2fd6
Install/uninstall fixes from Matt Darfeuille
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall-init/install.sh
2015-12-05 11:56:16 -08:00
Tom Eastep
09af9130df
Correct syntax error in lib.cli
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-05 08:42:34 -08:00
Tom Eastep
4139c932a4
More configure/install/uninstall fixes from Matt Darfeuille
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-05 08:31:22 -08:00
Tom Eastep
8e7f001f7e
Update manpages for column renaming
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-04 14:53:26 -08:00
Tom Eastep
98b4ab5ceb
Add missing columns in the masq file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-03 19:51:21 -08:00
Tom Eastep
592de3e6fc
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-12-03 15:35:35 -08:00
Tom Eastep
46434e45b6
Change to IP_FORWARDING=keep in shorewall6.conf files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-12-02 11:28:04 -08:00
Tom Eastep
f4fef3a931
Configure script corrections for Debian
...
- Matt Darfeuille and Tom Eastep
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-29 09:06:39 -08:00
Tom Eastep
2c1786422e
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-28 09:04:46 -08:00
Tom Eastep
b087cee7f0
Redefine MODULESDIR
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-28 08:36:12 -08:00
Tuomo Soini
948175124b
accounting: there must be more room for ACTION, SOURCE, and DEST
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-27 22:33:03 +02:00
Tom Eastep
7b479d3569
Merge branch '5.0.2'
2015-11-21 13:05:43 -08:00
Tom Eastep
178a7f83bc
Install/uninstall fixes from Matt Darfeuille
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-21 12:53:24 -08:00
Tom Eastep
42db58c4d6
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-16 15:04:07 -08:00
Tom Eastep
211a00da86
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-11-16 15:03:18 -08:00
Tom Eastep
dab780368f
Use netstat if ss isn't installed
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-16 15:02:47 -08:00
Tuomo Soini
b25a8e4b2d
shorewall: use real field names in config file headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-16 18:16:17 +02:00
Tom Eastep
7b54e5e1a6
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-10 07:50:33 -08:00
Tom Eastep
355d3e2dec
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-09 19:00:24 -08:00
Tuomo Soini
d0d34568d1
Shorewall6: reduce number of lines on config headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-09 23:09:37 +02:00
Tuomo Soini
9460458fd5
Shorewall: reduce number of lines on config headers
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-09 23:04:00 +02:00
Tom Eastep
2994808e83
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-11-09 07:37:08 -08:00
Tom Eastep
7fb00e0dfe
Remove the routestopped files and their manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-09 07:28:46 -08:00
Tom Eastep
27c1cd3d6e
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-09 07:24:52 -08:00
Tuomo Soini
e989fa1d49
configfiles/routestopped: add install path
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-09 10:27:07 +02:00
Tuomo Soini
f095e6f31d
configfiles: unified configuration file formatting
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-09 10:24:20 +02:00
Tuomo Soini
8aefb3a998
Shorewall6: upgrade conntrack to ?VERSION 3
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-11-09 09:44:31 +02:00
Tom Eastep
65a0c62b0d
Update the 'Build' and 'Install' files for 5.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-08 13:33:25 -08:00
Tom Eastep
8ae6e3ff57
A couple more OpenWRT fixes
...
- Detect OpenWRT in the configure script
- Fix the Shorewall6-lite uninstaller
2015-11-07 07:20:44 -08:00
Tom Eastep
ec1c9bd991
Delete shorewallrc from Shorewall-core
...
- Inadvertently added during OpenWRT testing
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-06 14:12:28 -08:00
Tom Eastep
6f560bda38
More OpenWRT tweaks from Matt Darfeuille
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-06 14:01:02 -08:00
Tom Eastep
d2d3748af9
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-11-05 18:09:29 -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
7cce2e4ed5
Fix mkdir command in mutex_on()
...
- Also support 'lock' utility on openWRT
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-05 12:38:54 -08:00
Tom Eastep
3d4cde76aa
OpenWRT support in the installers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-04 13:29:59 -08:00
Tom Eastep
ca0ac0473c
Another tweak to syslog_circular_buffer()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-03 18:59:10 -08:00
Tom Eastep
3890a5c1fd
Correct syslog_circular_buffer()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-02 14:29:06 -08:00
Tuomo Soini
e74ff0ecd9
more cleanup to config files.
2015-11-02 00:03:38 +02:00
Tuomo Soini
85df53841b
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-02 00:02:56 +02:00
Tom Eastep
1c29240eb9
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-11-01 11:31:53 -08:00
Tom Eastep
2b733b610c
Return proper exit status from the remote-* commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-01 07:53:31 -08:00
Tom Eastep
332f636d29
Adjust LOGFILE if circular log buffer
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-11-01 07:25:34 -08:00
Tom Eastep
d1bad364e9
Correct syntax error in installers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 17:54:20 -07:00
Tom Eastep
1358ec2d87
Remove ${SYSCONFDIR}/$PRODUCT in the -lite uninstallers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 13:37:08 -07:00
Tom Eastep
5807d44733
Allow HOST=default in the configure scripts
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 13:29:02 -07:00
Tom Eastep
209d5d0766
Make the -lite uninstallers work on OpenWRT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 13:23:19 -07:00
Tom Eastep
aa680d8472
Avoid double slashes in pathnames within the installers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 12:57:33 -07:00
Tom Eastep
3d06a75768
Remove more %_b instances
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 12:43:22 -07:00
Tom Eastep
073b2992cc
Require the 'install' utility in the installers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 12:43:01 -07:00
Tom Eastep
27d94c8921
Improve check for circular log buffer
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 08:31:46 -07: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
f90567abf1
Add support for OpenWRT BB and later
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-31 08:08:17 -07:00
Tuomo Soini
0c481b4c30
shorewall: use consitent headers on config files
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-31 08:18:50 +02:00
Tom Eastep
74a839b12e
Mention lib.cli-user in the extension script article.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-30 09:09:53 -07:00
Tom Eastep
c83536767e
Move get_config() into the overloadable part of the file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-30 08:54:07 -07:00
Tom Eastep
6209616766
Add lib.cli-user support to the full products
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-30 08:47:16 -07:00
Tom Eastep
1848c3fa45
Add lib.cli-user support to the -lite products
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-30 08:47:01 -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
Tuomo Soini
31cdd6dbcb
Shorewall6/configfiles/stoppedrules: use standard description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-28 10:48:48 +02:00
Tuomo Soini
e987a11614
Shorewall/configfiles/stoppedrules: use standard description
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-28 10:48:27 +02: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
Tuomo Soini
8133de1695
Shorewall6/configfiles/conntrack: fix config file header to common format
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-27 22:08:38 +02:00
Tuomo Soini
74180f83b9
Shorewall6/configfiles: remove empty lines and fix blrules header to common format
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-27 22:04:49 +02:00
Tuomo Soini
d614081d55
Shorewall/configfiles: remove empty lines and fix blrules header to common format
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-27 22:03:28 +02:00
Tom Eastep
35b90c2709
Update documentation for 'remote-' vs. 'remote_'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-27 08:16:06 -07:00
Tom Eastep
79a145bf83
Correct "remote-" commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-27 07:18:54 -07:00
Tom Eastep
6535bb94c5
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-10-27 07:18:06 -07:00
Tom Eastep
38049fd0df
Correct "remote-" commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-26 20:06:10 -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
Tom Eastep
f822afef99
Issue warning if a persistent provider isn't optional
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-26 13:07:28 -07:00
Tom Eastep
514fe76fa5
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-10-26 07:55:30 -07:00
Tom Eastep
6e7fc9bee4
Correct L2TP documentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-26 07:43:28 -07:00
Tom Eastep
56bf8b1572
Don't configure persistence if the interface has no address
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-26 07:42:47 -07:00
Tuomo Soini
2a064c7b7c
macro.MSSQL: allow udp/1434
...
Reference: https://technet.microsoft.com/en-us/library/ms181087%28v=sql.105%29.aspx
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-26 10:22:37 +02:00
Tuomo Soini
30682e63d8
Shorewall/Macros: remove version number
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-26 10:20:11 +02:00
Tom Eastep
69dd7ce0b9
Add 'persistent' provider option - Phase II
...
- Also allow the creation of 'persistent' routing rules and routes
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-25 16:45:11 -07:00
Tom Eastep
39f6c4e74c
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-10-22 06:59:11 -07:00
Tom Eastep
46c3db4f32
Add 'persistent' provider option - Phase I
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-22 06:58:32 -07:00
Tom Eastep
6e59fd5395
Correct permissions on certain files in $CONFDIR/$PRODUCT
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-22 06:58:05 -07:00
Tom Eastep
1e2cfcd9a3
Deal with missing 'hostname' utility
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-21 17:41:01 -07:00
Tom Eastep
87d94ae004
Correct typo in Dynamic article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-21 17:32:57 -07:00
Tom Eastep
8dc16268a7
Delete main default routes when there are 'load=' or 'fallback=' interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-13 09:34:58 -07:00
Tuomo Soini
8771041a63
shorewall6: remove version from restored
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-10-13 12:51:00 +03:00
Tuomo Soini
dc7082b7a1
shorewall[6]: remove version from shorewall6 and macros
2015-10-13 12:17:18 +03:00
Tom Eastep
a8e4671668
Remove version from config files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-12 15:02:50 -07:00
Tom Eastep
7388ff5154
Fix RESTART
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-12 14:08:24 -07:00
Tom Eastep
0dbe756e93
Manpage and Shorewall-5 changes for RESTART
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-12 13:49:24 -07:00
Tom Eastep
72d4637c22
Replace LEGACY_RESTART with RESTART
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-12 11:45:58 -07:00
Tom Eastep
bb538a7c10
Merge branch 'master' into 5.0.0
...
Conflicts:
Shorewall-core/lib.common
Shorewall-core/shorewallrc.debian.systemd
Shorewall-lite/shorewall-lite.service.debian
Shorewall/Perl/Shorewall/Chains.pm
Shorewall/Perl/Shorewall/Compiler.pm
Shorewall/Perl/Shorewall/Config.pm
Shorewall/Perl/Shorewall/Misc.pm
Shorewall/Perl/Shorewall/Raw.pm
Shorewall/Perl/Shorewall/Tc.pm
Shorewall/Perl/compiler.pl
Shorewall/Perl/prog.footer
Shorewall/lib.cli-std
Shorewall/manpages/shorewall-mangle.xml
Shorewall/manpages/shorewall.conf.xml
Shorewall/manpages/shorewall.xml
Shorewall/shorewall.service.debian
Shorewall6-lite/shorewall6-lite.service.debian
Shorewall6/manpages/shorewall6-mangle.xml
Shorewall6/manpages/shorewall6.conf.xml
Shorewall6/manpages/shorewall6.xml
Shorewall6/shorewall6.service.debian
docs/MultiISP.xml
docs/Shorewall_Squid_Usage.xml
2015-10-12 10:55:36 -07:00
Tom Eastep
1db3bfb53e
Manpage updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-10 13:19:41 -07:00
Tom Eastep
97e821d12d
Use %e rather than %_d for busybox compatibility
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-08 13:16:32 -07:00
Tom Eastep
ec2f4362f3
More cleanup of the configuration file basics article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-06 09:36:02 -07:00
Tom Eastep
dc79a74de5
Mention 'reload' in the Introduction Article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-05 14:56:01 -07:00
Tom Eastep
af18896851
Remove options from 'update' warning messages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-05 08:19:09 -07:00
Tom Eastep
35f33b325f
Update blacklisting article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-05 08:18:52 -07:00
Tom Eastep
89122c0d55
Updates for routestopped -> stoppedrules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-05 07:51:43 -07:00
Tom Eastep
0385b2cd37
Update URLs to tcrules
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-04 08:20:33 -07:00
Tom Eastep
fed6e7c352
Update Manpages for Shorewall5
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-10-03 08:50:49 -07:00
Tom Eastep
141440147c
Merge branch '5.0.0' of ssh://git.code.sf.net/p/shorewall/code into 5.0.0
2015-09-24 14:19:15 -07:00
Tuomo Soini
f1d4ef495e
shorewall-init.service*: fix [Install] section
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-09-24 18:17:30 +03:00
Tom Eastep
7dd9beeeae
Remove FORMAT specifications from macros and actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-22 12:39:22 -07:00
Tom Eastep
dfeeb2d5c3
Add GlusterFS action
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-19 12:31:54 -07:00
Tom Eastep
85e44c70eb
Add the Meta-connection to Tinc
...
- Both the macro and the tunnel type are updated
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-17 09:17:35 -07:00
Tom Eastep
888444f210
Add the Meta-connection to Tinc
...
- Both the macro and the tunnel type are updated
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-17 09:16:33 -07:00
Tom Eastep
1b2a43e5ea
Merge branch '5.0.0' of ssh://git.code.sf.net/p/shorewall/code into 5.0.0
2015-09-12 12:31:45 -07:00
Tom Eastep
03d99de8d5
Correct handling of reset
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-11 15:02:32 -07:00
Tom Eastep
1b571f3d86
Correct the reset command
...
- Also allow chain names to be specified a la the refresh command
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-11 14:16:16 -07:00
Tuomo Soini
53dfe442c1
systemd: add reload to unit files
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-09-10 14:15:16 +03:00
Tom Eastep
5ce10a633b
Update Articles
...
-Fix typo in Shorewall-5
-Add tag info in the logging article
2015-09-09 15:31:47 -07:00
Tom Eastep
7be4190e4c
Man page updates for the PROBABILITY column in the masq files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-08 18:00:53 -07:00
Tom Eastep
ddb325a662
Code changes for a PROBABILITY column in the masq file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-08 17:20:46 -07:00
Tom Eastep
0db233bf7c
Correct shorewall6 mangle man page
...
- Replace 'TTL' by 'HL'
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-08 12:26:29 -07:00
Tom Eastep
426636458c
Correct shorewall6 mangle man page
...
- Replace 'TTL' by 'HL'
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-08 12:25:59 -07:00
Tom Eastep
e8ebfb5a11
Correct PSH,FIN check
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-07 15:46:14 -07:00
Tom Eastep
242080c59c
Rename SMALL_MASK to SMALL_MAX
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-07 13:10:44 -07:00
Tom Eastep
0aa5cb5086
Allow non-experts to use the user bits in the fw mark
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-07 11:35:47 -07:00
Tom Eastep
4b14924b99
Allow non-experts to use the user bits in the fw mark
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-07 11:29:24 -07:00
Tom Eastep
17d1caf8c5
Allow tags in global LOG_LEVELs
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 16:08:59 -07:00
Tom Eastep
fcd5b30ca8
Add FIN,RST and PSH,FIN to the tcpflags set
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 11:49:29 -07:00
Tom Eastep
e6ec52c711
Move a line of code
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 10:33:36 -07:00
Tom Eastep
eddd58d459
Move a line of code
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 10:33:09 -07:00
Tom Eastep
1bf13e5fda
Provide default for SHOREWALL_SHELL
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 10:29:36 -07:00
Tom Eastep
dbf2c89083
Provide default for SHOREWALL_SHELL
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 10:28:44 -07:00
Tom Eastep
bde9558962
Version changes in Shorewall Init
...
- Also remove an obsolete comment in init.suse.sh
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-06 10:02:41 -07:00
Tom Eastep
6554f7fe28
Disable bare SECTION in the rules file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-04 11:16:07 -07:00
Tom Eastep
07976556ed
More inline match documentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-03 09:45:39 -07:00
Tom Eastep
682a449e7b
Correct more Mangle examples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 13:08:05 -07:00
Tom Eastep
8f86e2df19
Correct typo
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 13:07:33 -07:00
Tom Eastep
ba3dba78ff
Correct more Mangle examples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 13:07:20 -07:00
Tom Eastep
59aeafba3a
Delimit inline matches by ';;'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 10:24:31 -07:00
Tom Eastep
9e98d30c92
Correct handling of log levels with default actions
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 08:55:18 -07:00
Tom Eastep
582755edf4
Unconditionally get inline matches
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 08:03:22 -07:00
Tom Eastep
c6ec9990e7
Unconditionally get inline matches
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-02 08:02:02 -07:00
Tom Eastep
dea1f853ea
Correct progress messages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-01 12:42:01 -07:00
Tom Eastep
a30708519d
Correct progress messages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-01 11:57:28 -07:00
Tom Eastep
447b7cda4e
Describe the discontinued update options in the Shorewall 5 article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-09-01 11:18:38 -07:00
Tom Eastep
f5d9e87c59
Remove anacronistic logic from the Rules module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 16:02:22 -07:00
Tom Eastep
ed90360b4c
Remove all of the update-specific options from the update command
...
Leave -i and -A
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 14:21:41 -07:00
Tom Eastep
6a374b80e0
Correct INLINE handling
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 12:36:05 -07:00
Tom Eastep
9638033e24
Cosmetic changes to first_entry() calls
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/Perl/Shorewall/Tc.pm
2015-08-31 11:33:32 -07:00
Tom Eastep
87ef6f730f
Correct a typo
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 11:21:37 -07:00
Tom Eastep
53223e1440
Uniform mechanism for inserting conversion comments
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/Perl/Shorewall/Tc.pm
2015-08-31 11:21:18 -07:00
Tom Eastep
9b886a99af
Fix $convert/$tcrules mess
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/Perl/Shorewall/Tc.pm
2015-08-31 11:19:42 -07:00
Tom Eastep
c77d18965a
Place a header in a created mangle file during update -t
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/Perl/Shorewall/Tc.pm
2015-08-31 11:16:45 -07:00
Tom Eastep
5a6586e06c
Don't enforce FASTACCEPT/BLACKLISTNEWONLY on convert
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 11:14:49 -07:00
Tom Eastep
60e08322c5
Update man pages for 'minute' and 'second' in LOGLIMIT specifications
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 11:14:37 -07:00
Tom Eastep
df73f4b925
Assume EXPORTMODULES=No if it doesn't exist in old file during update
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 11:14:26 -07:00
Tom Eastep
be81ace811
Read capabilities file before the .conf file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 11:11:25 -07:00
Tom Eastep
377e2037ca
Update the Shorewall 5 article for 4.6.13.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 11:04:00 -07:00
Tom Eastep
e15a6f452e
Cosmetic changes to first_entry() calls
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 10:54:30 -07:00
Tom Eastep
656eaabce9
Correct a typo
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-31 09:39:40 -07:00
Tom Eastep
f42dc6def1
Uniform mechanism for inserting conversion comments
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-30 15:35:05 -07:00
Tom Eastep
6e303aef69
Fix $convert/$tcrules mess
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-29 18:52:11 -07:00
Tom Eastep
ab260dc5b1
Place a header in a created mangle file during update -t
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-29 12:52:21 -07:00
Tom Eastep
55ab498291
Don't enforce FASTACCEPT/BLACKLISTNEWONLY on convert
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-29 12:51:52 -07:00
Tom Eastep
10cda4cee7
Update man pages for 'minute' and 'second' in LOGLIMIT specifications
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-27 15:49:59 -07:00
Tom Eastep
de74273dbb
Assume EXPORTMODULES=No if it doesn't exist in old file during update
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-27 15:15:03 -07:00
Tom Eastep
af1e2f6c8b
Read capabilities file before the .conf file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-27 11:26:26 -07:00
Tom Eastep
dc2406d25b
update -t also converts the 'tos' file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 13:51:02 -07:00
Tom Eastep
e0734a45ee
Allow 'seconds' and 'minutes' in LOGLIMIT specifications
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 12:53:36 -07:00
Tom Eastep
28df894add
Improve 'update'
...
- convert BLACKLISTNEWONLY
- convert LOGRATE and LOGBURST
- default USE_DEFAULT_RT to No
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 12:50:56 -07:00
Tom Eastep
b0bf726c7e
Let 'update' default USE_DEFAULT_RT to 'No'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 12:40:16 -07:00
Tom Eastep
b2b3300ebf
Correct the shorewall6-hosts man page
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 12:30:08 -07:00
Tom Eastep
1d8873d3d5
Correct the shorewall6-hosts man page
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 12:28:57 -07:00
Tom Eastep
ad06ec3eef
Correct IPV6 range parsing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 11:52:51 -07:00
Tom Eastep
71611233fb
Correct IPV6 range parsing
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-26 11:51:29 -07:00
Tom Eastep
7a98c7b9e5
More 'update' fixes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-25 15:55:49 -07:00
Tom Eastep
dc73832570
Delete unneeded 'my'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-25 14:36:53 -07:00
Tom Eastep
f5d1ec0243
Delete EXPORTPARAMS from %config
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-25 14:36:14 -07:00
Tom Eastep
f9ae28aeea
The -t option also converts the 'tos' file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-24 14:56:24 -07:00
Tom Eastep
463206a3eb
Add Shorewall-5 Article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-22 13:53:25 -07:00
Tom Eastep
eae492cef5
Some rules manpage updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-22 09:24:47 -07:00
Tom Eastep
2451c14d8c
Some rules manpage updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-22 08:27:52 -07:00
Tom Eastep
a30fdb356d
Update man pages for required '?' in COMMENT, SECTION and FORMAT lines
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-22 08:00:38 -07:00
Tom Eastep
05f9f926c4
Move fatal_error() to lib.base
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall-core/lib.common
2015-08-21 14:32:09 -07:00
Tom Eastep
5ead22aa48
Move fatal_error() to lib.base
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-21 14:19:20 -07:00
Tom Eastep
a709395949
Allow 'none' in the log level argument to AutoBL
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-21 13:40:12 -07:00
Tom Eastep
98e5d54b92
Allow 'none' in the log level argument to AutoBL
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-21 13:39:25 -07:00
Tom Eastep
f4776bf388
Eliminate WIDE_TC_MARKS, HIGH_ROUTE_MARKS and BLACKLISTNEWONLY
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-21 12:42:19 -07:00
Tom Eastep
80acdd2836
Disallow bare COMMENT, SECTION and FORMAT lines
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-21 11:18:40 -07:00
Tom Eastep
40d1d86d2c
Drop support for the 'tos' file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 15:35:03 -07:00
Tom Eastep
26fca41e27
Eliminate discontinued files and manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 15:17:48 -07:00
Tom Eastep
5af5c67c75
Update a message to refer to the 'mangle' file rather than 'tcrules'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 14:54:54 -07:00
Tom Eastep
7956c5f6e0
Update a message to refer to the 'mangle' file rather than 'tcrules'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 14:48:29 -07:00
Tom Eastep
5a08f8bf4e
Correct shorewall-mangle(5) examples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 11:09:42 -07:00
Tom Eastep
c59cb1351c
Update manpages for new update options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 11:08:10 -07:00
Tom Eastep
82330395e9
Correct grammer in an error message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 09:25:32 -07:00
Tom Eastep
9a6f16903b
Use NYTProf for profiling.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 09:21:47 -07:00
Tom Eastep
37c9db2bd6
Tweak tcrules references
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 09:21:42 -07:00
Tom Eastep
9f2958fd27
Correct wording of an error message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 09:21:20 -07:00
Tom Eastep
4a484ced9e
Delete 'conflicts=' from Shorewall-init .service files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-20 09:19:58 -07:00
Tom Eastep
4b003163d6
Use NYTProf for profiling.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 14:05:15 -07:00
Tom Eastep
67aef659b5
Tweak tcrules references
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 12:57:36 -07:00
Tom Eastep
39982c20c4
Restore the text of tcrules warning message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 12:34:35 -07:00
Tom Eastep
2b1f33c391
Don't unlink the tcrules file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 11:48:23 -07:00
Tom Eastep
1c33717cf5
Reverse the change to delete host routes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 11:06:28 -07:00
Tom Eastep
cd8fe38c85
Delete host routes added to the main routing table for providers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 10:44:37 -07:00
Tom Eastep
d525419c65
Correct wording of an error message
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-19 10:44:00 -07:00
Tom Eastep
12ebb491da
Rewrite the trace/debug section of the start/stop article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-18 16:34:06 -07:00
Tom Eastep
0e67357d63
Rewrite the trace/debugging section of the start/stop article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-18 16:00:37 -07:00
Tom Eastep
537f53f611
Restore [Install] section in the Debian .service files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-17 07:41:15 -07:00
Tom Eastep
3b1ad1e284
Delete 'conflicts=' from Shorewall-init .service files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-17 06:40:36 -07:00
Tom Eastep
9d3f35a22d
Enable new update options in compiler.pl
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-16 11:57:36 -07:00
Tom Eastep
6bdf90631c
Fix a couple of bugs in 5.0.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-16 10:05:21 -07:00
Tom Eastep
c604823053
Default to FORMAT-2 macros and actions.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-14 16:11:41 -07:00
Tom Eastep
12f8cbae29
Correct the test for the existence of the routestopped file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-14 15:29:52 -07:00
Tom Eastep
8ad63b53ba
Merge branch '5.0.0' of ssh://server.shorewall.net/home/teastep/shorewall/code into 5.0.0
2015-08-14 10:03:51 -07:00
Tom Eastep
4de6638385
Correct handling of termination after .conf file not updated
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-14 09:32:27 -07:00
Tom Eastep
0cef7fad35
Add conversion version and date to the converted files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-14 09:32:17 -07:00
Tom Eastep
ea2a35415e
Correct convert_blacklist()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-14 09:32:01 -07:00
Tom Eastep
4cc7a1b87d
Correct tcrules update
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
Conflicts:
Shorewall/Perl/Shorewall/Tc.pm
2015-08-14 09:31:36 -07:00
Tom Eastep
7c2a969de0
Correct handling of notrack file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-14 09:26:45 -07:00
Tom Eastep
8bdea65325
Update manpages for new update options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-13 16:12:28 -07:00
Tom Eastep
fd46c0ffed
Correct handling of termination after .conf file not updated
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-13 15:42:38 -07:00
Tom Eastep
60acddbb37
Add conversion version and date to the converted files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-13 14:37:13 -07:00
Tom Eastep
306dc34b31
Correct convert_blacklist()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-13 13:22:14 -07:00
Tom Eastep
f5c6a6fe82
Correct tcrules update
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-13 13:21:51 -07:00
Tom Eastep
af2b7910bd
Port update changes from 5.0.0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-12 12:33:09 -07:00
Tom Eastep
3b59e46799
Restore Debian-specific service files
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-12 10:19:07 -07:00
Tom Eastep
0fb5b56126
Merge branch '5.0.0' of ssh://server.shorewall.net/home/teastep/shorewall/code into 5.0.0
2015-08-11 15:30:46 -07:00
Tom Eastep
955a2e38b7
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-08-10 17:49:40 -07:00
Tom Eastep
56aa95ea4f
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code into 5.0.0
...
Conflicts:
Shorewall-core/shorewallrc.debian.systemd
Shorewall-init/shorewall-init.service.debian
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-10 17:49:00 -07:00
Tom Eastep
0f283ddc44
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-08-10 17:15:29 -07:00
Tom Eastep
2ab8bd3040
More update fixes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-09 14:31:47 -07:00
Tom Eastep
0d635632e3
Add conversion of notrack to conntrack
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-08 16:46:58 -07:00
Tom Eastep
8657682dfd
Merge branch '5.0.0' of ssh://server.shorewall.net/home/teastep/shorewall/code into 5.0.0
2015-08-08 12:43:02 -07:00
Tom Eastep
fb2d261cdb
More Fixes for update
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-08 12:42:32 -07:00
Tom Eastep
88f9a3e255
Allow zero-valued options on multi-zoned interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-07 14:30:21 -07:00
Tom Eastep
4c4c5a436a
Allow zero-valued options on multi-zoned interfaces
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-07 14:09:08 -07:00
Tom Eastep
73c8b563a1
Add -s option to update to convert the routestopped file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-07 13:46:16 -07:00
Tom Eastep
d949824f94
Correct shorewall-mangle(5) examples
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-06 10:15:57 -07:00
Tom Eastep
2162d79b5f
Manual Page Uptates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 15:09:16 -07:00
Tom Eastep
0f61bd34e6
Drop support for the 'blacklist' zone option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 14:45:52 -07:00
Tom Eastep
d8d1e96e0d
Delete manpages for files no longer supported
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 14:37:15 -07:00
Tom Eastep
f4620606b3
Drop support for the 'blacklist' file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 14:35:51 -07:00
Tom Eastep
65baa7e3b8
Drop support for the tcrules file
...
- The upgrade -t option is still available
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 12:34:22 -07:00
Tom Eastep
e5c7ded951
Drop support for the 'notrack' file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 11:36:54 -07:00
Tom Eastep
8bed5c9d65
Drop support for the IPSECFILE option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-03 10:11:52 -07:00
Tom Eastep
4bf714aca0
Correct debian systemd shorewallrc file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-01 14:53:05 -07:00
Tom Eastep
2eb1cb5e6e
More debian changes from 4.6.12
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-01 14:35:03 -07:00
Tom Eastep
037e92a60e
Eliminate some config options
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-01 14:28:12 -07:00
Tom Eastep
2165f746e6
Update .conf documents for 'reload'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-01 12:58:08 -07:00
Tom Eastep
ef9e75753a
Restore .214 files
...
- Also merge Debian changes from 4.6.12
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-08-01 11:23:35 -07:00
Tom Eastep
85648bded1
Deimplement several .conf options
...
- LOGRATE/LOGBURST
- EXPORTPARAMS
- LEGACY_FASTSTART
2015-08-01 11:11:35 -07:00
Tom Eastep
a62adef0b0
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-07-31 15:21:48 -07:00
Tom Eastep
97881bb683
Create separate shorewallrc files for Debian systemd and sysvinit
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-31 14:57:59 -07:00
Tom Eastep
8bcee0ee01
Add Debian .service files
...
- Install both .service files and SysV init scripts on Debian.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-30 14:17:36 -07:00
Tom Eastep
954f8b5790
Install both SysV init script and .service file on Debian
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-29 09:44:20 -07:00
Tom Eastep
8cddba1e15
Correct shorewall-init.service to avoid dependency loops on Debian
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-28 17:24:33 -07:00
Tom Eastep
67589cab69
More version changes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-28 10:59:11 -07:00
Tom Eastep
f40373d60c
Update config file version and copyrights
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-28 10:50:19 -07:00
Tom Eastep
f233031b08
Update shorewallrc files' versions
...
- Correct the SERVICEDIR setting for debian
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-28 10:33:22 -07:00
Tom Eastep
fa7248c58c
Add the LEGACY_RESTART option.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-27 09:19:52 -07:00
Tom Eastep
b1d75e53a1
Correct syntax error in lib.cli
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-27 07:23:39 -07:00
Tom Eastep
2356b814e9
Merge branch 'master' into 5.0.0
2015-07-27 07:05:00 -07:00
Tom Eastep
0a7c65ae0d
Allow connlimit by destination
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-26 14:26:58 -07:00
Tom Eastep
6e0fb1ab88
Correct syntax error
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-26 14:16:12 -07:00
Tom Eastep
13650d156e
Manual Updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-26 12:51:51 -07:00
Tom Eastep
34f58bd6ac
Correct formatting in the rules file man pages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-26 11:36:14 -07:00
Tom Eastep
cecc81ce82
Update .service files
...
- make the .214 versions the default and remove the ones name *.214
- Add 'ExecReload' to all but Shorewall-init
- Create Debian-specific versions with /etc/default rather than /etc/sysconfig
2015-07-26 10:58:03 -07:00
Tom Eastep
a00bf196a3
Remove all workarounds
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-26 10:27:30 -07:00
Tom Eastep
f9ec0c6930
New 'reload' and 'restart' semantics
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-26 09:59:49 -07:00
Tom Eastep
8e31255c9b
Correct Shorewall6-lite manpage
...
- Caution moved from the restart description to the restore restriction
where it belonged
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-24 13:41:09 -07:00
Tom Eastep
5d597cb43c
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-07-19 13:52:29 -07:00
Tom Eastep
0aa7f831c4
Update my config document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-19 13:50:26 -07:00
Tom Eastep
df817b6d2c
Correct formatting in the interfaces man pages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-13 13:06:53 -07:00
Tom Eastep
d0fc7f6547
Add some comments to the Zones module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-13 12:57:00 -07:00
Tom Eastep
30a5488a8a
Merge branch '4.6.11'
2015-07-12 15:12:07 -07:00
Tom Eastep
5704438a44
Second Wave of changes to make script output reproducable
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-12 15:00:41 -07:00
Tom Eastep
014ec1af1d
First phase of producing consistent scripts with Perl >= 5.18.0
...
Beginning with Perl 5.18.0, the order of elements returned by the 'keys'
and 'each' iterators is no longer deterministic. This is the first wave
of Shorewall changes to compensate for this irrational behavior.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-12 10:54:48 -07:00
Tom Eastep
7fa39a63ed
Don't apply 'postcompile' during an update
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-10 11:06:02 -07:00
Tom Eastep
3959feebe0
Remove extraneous line that causes a "not found" shell diagnostic
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-10 09:35:43 -07:00
Tom Eastep
bc8156b503
Include Compiler version in the compiler progress commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-08 12:53:42 -07:00
Tom Eastep
3d325431ff
Change Default IPv6 .conf to specify INLINE_MATCHES=No
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-06 14:49:20 -07:00
Tom Eastep
f4741686e6
Correct NFLOG group description
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-06 13:42:10 -07:00
Tom Eastep
4995456563
Clean up compiler PATH fix
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-03 14:33:20 -07:00
Tom Eastep
c6f48a77e0
Only add dhcp rule if one rpfilter interface has the 'dhcp' option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-03 12:21:04 -07:00
Tom Eastep
e7792fc868
Exempt IPv4 DHCP broadcasts from rpfilter
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-03 10:03:03 -07:00
Tom Eastep
c47abe416a
Add default PATH to current PATH in the compiler
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-07-03 09:38:06 -07:00
Tom Eastep
37248c9698
Correct capitalization of 'IPsec' in the IPsec-2.6 document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-29 15:35:23 -07:00
Tom Eastep
0414166d6d
'show connections' enhancement
...
- Allow tayloring of the entries displayed by specifying conntrack
-L options.
2015-06-29 14:55:47 -07:00
Tom Eastep
6bd1141a8c
Update Build article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-29 12:43:04 -07:00
Tom Eastep
7153146759
Don't ask for script version when WORKAROUNDS=No
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-28 09:18:47 -07:00
Tom Eastep
a911ec318e
Add a comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-27 09:19:14 -07:00
Tom Eastep
5ca68477d5
Corrections to last commit
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-26 15:18:07 -07:00
Tom Eastep
9f08726794
Eliminate running the script twice is some cases
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-26 14:32:43 -07:00
Tom Eastep
846d629c47
Eliminate the usage() function in lib.cli-std
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-26 12:55:34 -07:00
Tom Eastep
273a42b068
Correct the check for ordinary user attempting to access the default config
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-26 11:35:11 -07:00
Tom Eastep
aa7aec8552
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-06-22 17:30:16 -07:00
Tom Eastep
9bf65ab9ab
Don't run the postcompile script when compilation is bypassed
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-22 16:41:21 -07:00
Tom Eastep
fad92be473
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-06-22 12:23:53 -07:00
Tom Eastep
b35c214c70
Defer 'Compiling...' message until after AUTOMAKE is checked
...
- Avoid an export statement in compiler()
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-22 10:56:17 -07:00
Tom Eastep
b5ee52e8de
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-06-19 10:04:08 -07:00
Tom Eastep
267d6c87be
Merge branch '4.6.10'
2015-06-19 10:03:16 -07:00
Tom Eastep
d9e4273e6b
Clarify the Universal configuration
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-19 10:00:05 -07:00
Tom Eastep
fd69209776
:Merge branch '4.6.10' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-06-09 13:09:14 -07:00
Tuomo Soini
f175ab853b
rename not_configured() to not_configured_error()
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-09 11:02:00 -07:00
Tuomo Soini
e10c078a06
Set exit code to 6 when startup is disabled
...
Handles cases missed by 4b27c72c79
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-09 11:01:50 -07:00
Tuomo Soini
274f054d87
Add to lib.common a new function not_configured()
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-09 11:01:36 -07:00
Tuomo Soini
f3a4e25d27
Complete Shorewall-init improvements
...
completes 548c0558c1
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-09 11:01:28 -07:00
Tuomo Soini
e1da59e037
shorewall-init: use consitent indent
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-09 11:01:18 -07:00
Tom Eastep
5003e826b9
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-06-09 10:58:58 -07:00
Tuomo Soini
f8d95d1ee9
rename not_configured() to not_configured_error()
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-09 20:29:45 +03:00
Tom Eastep
7f50557250
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-06-08 13:50:47 -07:00
Tuomo Soini
15276b1f89
Set exit code to 6 when startup is disabled
...
Handles cases missed by 4b27c72c79
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-08 22:23:38 +03:00
Tuomo Soini
5221c92d7f
Add to lib.common a new function not_configured()
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-08 22:18:01 +03:00
Tuomo Soini
8bc62d1474
Complete Shorewall-init improvements
...
completes 548c0558c1
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-08 22:15:45 +03:00
Tuomo Soini
e96fcde678
shorewall-init: use consitent indent
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-06-08 22:10:21 +03:00
Tom Eastep
116e85e040
Cosmetic cleanup of the Compiler module
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-08 11:27:37 -07:00
Tom Eastep
f6b77c17ac
Correct a couple of blunders in the Introductory article.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-08 10:28:18 -07:00
Tom Eastep
6be802aa7c
Update the Shorewall 4 article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-08 09:46:51 -07:00
Tom Eastep
92905f0d31
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-06-07 18:18:23 -07:00
Tuomo Soini
86ffbc7e01
Fix typo in commit 1bfae13f75
2015-06-07 22:36:44 +03:00
Tom Eastep
2956698298
Corrections to WORKAROUNDS implementation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-06 12:15:03 -07:00
Tom Eastep
7c9155a6e8
Update man pages and .conf files for WORKAROUNDS
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-06 07:56:14 -07:00
Tom Eastep
eb6be0e84d
Remove old comment that now makes no sense
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-01 15:55:06 -07:00
Tom Eastep
019e49b481
Implement WORKAROUNDS option
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-01 12:59:25 -07:00
Tom Eastep
1bfae13f75
Add note about the IPv6 address convention that uses square brackets
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-01 11:20:16 -07:00
Tom Eastep
70d41adee8
Delete extraneous '3' from the config basics article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-06-01 10:55:01 -07:00
Tom Eastep
9a3c43b6d3
Make NFQUEUE parsing more robust
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-30 07:01:30 -07:00
Tom Eastep
0a45c7a646
Another Tweak to the NFQUEUE parser
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-30 06:38:21 -07:00
Tom Eastep
f227250959
Fix NFQUEUE parsing and documentation
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-29 18:19:35 -07:00
Tom Eastep
29a0c92918
Fix ancient bug in old parameter syntax
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-29 14:39:48 -07:00
Tom Eastep
cfc6b7405f
Add sample 'findgw' scripts to the Multi-ISP doc
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-29 13:44:26 -07:00
Tuomo Soini
4edd6026f0
prog.footer: disabling already disabled inteface is not an error.
...
Neither is enabling already enabled interface
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-05-29 22:15:55 +03:00
Tom Eastep
f629d574e6
Add ipv6 'findgw' file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-28 07:20:26 -07:00
Tom Eastep
18348ef6f1
Clean up distribute_load()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-27 06:58:10 -07:00
Tom Eastep
93c7e2c2f7
Change the way in which a warning message is suppressed
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-26 15:54:41 -07:00
Tom Eastep
602315938c
Correct the load distribution algorithm
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-26 14:59:20 -07:00
Tom Eastep
f3d32e0023
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-05-26 11:31:12 -07:00
Tuomo Soini
19ab4472c9
shorewall-init.service*: fix description to be more generic
...
shorewall-init is not IPv4 only
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-05-26 19:47:28 +03:00
Tom Eastep
425094de18
Mention load= warning (sum not 1.000000)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-25 10:31:08 -07:00
Tom Eastep
ca35f565e0
Return success exit status when no ipsets are saved by the script
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-25 07:36:00 -07:00
Tom Eastep
bbdbdf7c47
Clean up 'call' description in the manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-25 07:06:17 -07:00
Tom Eastep
631ebdecb8
load= enhancements
...
- Normalize loads to 0.nnnnnnnn
- Issue warning if the loads don't sum to 1.000000
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-23 08:05:58 -07:00
Tom Eastep
c851e03313
Don't try to use a probibility >= 1.00000000
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-23 07:06:31 -07:00
Tom Eastep
df4d6f1f92
Document load= in the providers manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-22 16:31:21 -07:00
Tom Eastep
c7ca3119ef
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-05-22 07:20:51 -07:00
Tom Eastep
ba7afcaeae
Make 'call' a supported command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-21 10:38:35 -07:00
Tom Eastep
809e56cef6
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-05-21 09:04:35 -07:00
Tom Eastep
e3805b0ada
Implement 'call' in the compiled script
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-21 09:00:11 -07:00
Tom Eastep
f1b6e71e56
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-05-20 10:59:06 -07:00
Tom Eastep
f77d649ac7
Make policy descriptions match what the user entered rather than what was generated by the compiler
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-20 10:58:57 -07:00
Tom Eastep
267637f139
NFQUEUE enhancements
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-20 10:55:21 -07:00
Tom Eastep
acd921cd08
Don't require a helper for ctevents and expevents
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-16 13:40:40 -07:00
Tom Eastep
9329e7c36c
Don't require a helper in the CT action.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-16 09:08:32 -07:00
Tom Eastep
86ef3d3e35
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-05-15 15:39:58 -07:00
Tom Eastep
cccf6b4657
Merge branch '4.6.9'
2015-05-13 14:57:53 -07:00
Tom Eastep
7195ee708e
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-05-08 09:49:42 -07:00
Tom Eastep
50d1a719f9
Delete superfluous test
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-08 09:48:58 -07:00
Tom Eastep
4b27c72c79
Set exit code to 6 when startup is disabled
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-07 14:12:41 -07:00
Tom Eastep
548c0558c1
Shorewall-init improvements
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-07 12:31:46 -07:00
Tom Eastep
7a9270136c
Clarify Shorewall-core's contribution in the Anatomy article.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-06 18:39:32 -07:00
Tom Eastep
a508bcf6d7
Refer to directory relocation from the Anatomy article
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-05 14:35:42 -07:00
Tom Eastep
3bb1f74283
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code into 4.6.9
2015-05-05 11:28:13 -07:00
Tuomo Soini
87eca92b10
lib.core: use consisten indenting
2015-05-05 20:40:17 +03:00
Tom Eastep
b58aadad01
Correct Syntax error in the generated code.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-04 08:23:42 -07:00
Tom Eastep
6dcd8174ee
Don't require interfaces on stop, clear, etc.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-04 08:23:10 -07:00
Tom Eastep
fe37844455
Correct CLI helper capability detection
...
- Previously, the HELPERS setting was ignored
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-05-02 07:54:01 -07:00
Tom Eastep
e248c0a3d7
Update Shorewall/Shorewall6 help text for 'reenable'
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-28 13:29:42 -07:00
Tom Eastep
3f17a8cf24
Update the program header information in lib.core
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-28 13:13:06 -07:00
Tom Eastep
2cea78e6df
Add the 'reenable' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-28 13:02:12 -07:00
Tom Eastep
0abd51c796
Fix module versioning
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-28 11:59:01 -07:00
Tom Eastep
86e053be7a
More optimization of detect_configuration()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-28 11:32:45 -07:00
Tom Eastep
864dba2e62
Clarify the need to manually create and modify ipsets
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-25 21:14:55 -07:00
Tom Eastep
75d18139f7
Optimize detect_configuration() for enable/disable
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-25 15:46:19 -07:00
Tom Eastep
bebb41674a
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-04-25 12:57:04 -07:00
Tom Eastep
42f75f7ba2
Correct SetEvent and ResetEvent
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-25 12:56:36 -07:00
Tuomo Soini
2c9b7fbb07
macro.JabberSecure: use of Jabber SSL is deprecated. Note user.
2015-04-23 10:03:07 +03:00
Tuomo Soini
119299421f
macro.JabberPlain: deprecate the macro in favor of macro.Jabber
2015-04-23 09:39:23 +03:00
Tuomo Soini
aef019e16d
macro.Jabber: use of jabber has changed from Plain+SSL to STARTTLS
2015-04-23 09:38:40 +03:00
Tom Eastep
3ae243b882
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-04-22 20:34:03 -07:00
Tuomo Soini
0fc58f81cc
macro.QUIC: added support for QUIC
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-04-22 16:29:17 +03:00
Tom Eastep
7db99832ca
Add ip6tables.service to the conflicts list for Shorewall-init
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-18 17:22:35 -07:00
Tom Eastep
0e8b427778
Remove false comment
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-18 14:31:07 -07:00
Tom Eastep
ccccd847c8
Update the helpers article to mention how to avoid loading a helper.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-17 15:22:38 -07:00
Tom Eastep
6cb3004a39
Clarify helper module loading
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-17 09:51:25 -07:00
Tom Eastep
f5aa0373cb
Correct interfaces example 4
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-12 08:38:55 -07:00
Tom Eastep
057ad45fd9
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
2015-04-12 07:52:34 -07:00
Tuomo Soini
ade24e6299
shorewall6.service: wants before after to be consistent
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-04-12 11:31:39 +03:00
Tuomo Soini
65394b9f8c
shorewall-init.service: running shorewall-init must not require networking
...
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-04-12 11:26:40 +03:00
Tom Eastep
b128c30813
Merge branch 'master' of ssh://git.code.sf.net/p/shorewall/code
...
Get Tuomo Soini's fix for serviced startup
2015-04-11 07:33:15 -07:00
Tuomo Soini
194252afd3
systemd: fix shorewall startup by adding Wants=network-online.target
...
Before shorewall failed to load if there were interfaces which were required
but there wasn't any other service which wanted network-online.target.
By adding Wants=network-online.target we make sure shorewall[6]* startup
won't fail if there are required interfaces
Signed-off-by: Tuomo Soini <tis@foobar.fi >
2015-04-11 10:50:54 +03:00
Tom Eastep
3cb45f234e
Delete questionable logic in lib.cli
...
- It hasn't worked since there was a typo in it that prevented it from
doing the correct thing.
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-07 12:12:59 -07:00
Tom Eastep
16e3cb1b43
More manpage updates
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-07 10:14:42 -07:00
Tom Eastep
27c1ffc5fb
Include full syntax in lists of CLI commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-07 09:23:58 -07:00
Tom Eastep
23137e5e8a
Correct typo in lib.cli
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-07 09:23:35 -07:00
Tom Eastep
0e54a86e82
Add descriptions of 'list' and 'ls' to the CLI manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-06 09:39:41 -07:00
Tom Eastep
4fd8aa692d
Add comment to setting of TCPMSS_TARGET with old caps file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-04 09:34:23 -07:00
Tom Eastep
8c3dda80a3
Simplify previous change
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-03 16:35:50 -07:00
Tom Eastep
9f96f58a0d
Default TCPMSS_TARGET to 1 in old capabilities files.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-03 14:46:50 -07:00
Tom Eastep
77165326f2
Merge branch '4.6.8'
...
Conflicts:
Shorewall6/uninstall.sh
2015-04-03 14:02:21 -07:00
Tom Eastep
eb3a162560
Apply Matt Darfeuille's fix for fatal_error()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-02 13:26:51 -07:00
Tom Eastep
a8026999a5
Another fix for the Shorewall6 uninstaller
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-02 07:47:53 -07:00
Tom Eastep
44142ed457
Apply Matt Darfeuille's uninstall fixes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-02 07:28:21 -07:00
Tom Eastep
659e9d550c
Apply Matt Darfeuille's uninstall fixes
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-04-02 07:27:57 -07:00
Tom Eastep
7442c2189d
Implement TCPMSS_TARGET capability
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-31 15:53:05 -07:00
Tom Eastep
551be3ed39
Rearrange script samples in the Multi-ISP document
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-30 09:11:20 -07:00
Tom Eastep
468167f9e5
Apply nfw's fix for IP[6]TABLES in the conntrack file
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-24 09:23:15 -07:00
Tom Eastep
6921270c77
Clarify DESTDIR
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-24 09:08:30 -07:00
Tom Eastep
50bbf9499a
Don't install in global directories when configure == 0
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-24 07:51:56 -07:00
Tom Eastep
b00a7af619
Allow a comma-separated list in the rtrules file.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-18 15:16:25 -07:00
Tom Eastep
0c11870e46
Implement the 'savesets' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-17 10:03:12 -07:00
Tom Eastep
fdc36747ad
Allow the 'open' and 'close' commands to handle icmp
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-16 16:25:32 -07:00
Tom Eastep
79d8d73e02
Correct types in config file basics doc
2015-03-16 15:11:14 -07:00
Tom Eastep
ecaae1f644
Improve editing of open numbers
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-15 10:15:39 -07:00
Tom Eastep
52e7efc666
Move open_close_setup() inside open_close_command()
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-14 09:42:43 -07:00
Tom Eastep
c5ef3fd905
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-03-14 08:55:40 -07:00
Tom Eastep
86d6d6900e
Improve 'close' and 'show opens' commands
...
- close accepts a rule number
- list opens displays rule numbers
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-14 08:54:30 -07:00
Tom Eastep
9a5cc5e51c
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-03-07 07:57:26 -08:00
Tom Eastep
d7a1ca41f9
Another attempt to correct the formatting of the manpages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-07 07:56:34 -08:00
Tom Eastep
d3552346b0
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-03-06 15:38:48 -08:00
Tom Eastep
1e6c266b51
Formatting fix (I hope)
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-06 15:37:56 -08:00
Tom Eastep
d6f8cda2d5
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-03-06 14:10:13 -08:00
Tom Eastep
4cc866cd81
Merge branch 'master' of ssh://server.shorewall.net/home/teastep/shorewall/code
2015-03-06 14:09:11 -08:00
Tom Eastep
095e523c9f
Add 'show opens' command
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-06 13:10:23 -08:00
Tom Eastep
2817060edb
Improvements to the 'open' and 'close' commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-06 08:13:44 -08:00
Tom Eastep
30e750608b
Fix broken links
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-05 16:23:49 -08:00
Tom Eastep
a85fdc45ac
Implement 'open' and 'close' commands
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-03-05 16:20:54 -08:00
Roberto C. Sánchez
79b6b7cf08
Fix incorrectly specified directory for VARDIR
2015-03-02 10:27:03 -05:00
Roberto C. Sánchez
5f2a8dd9cb
Fix typo
2015-03-02 10:12:36 -05:00
Roberto C. Sánchez
a28cd7371c
Fix typo
2015-03-02 10:10:52 -05:00
Roberto C. Sánchez
e9bb447537
Fix typo
2015-03-02 09:58:09 -05:00
Tom Eastep
cdc2d52208
Implement ADD and DEL in the mangle file.
...
- Also document the parameter to SAME
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-02-18 12:04:01 -08:00
Tom Eastep
18c8f1f835
Remove blank line
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-02-17 20:10:25 -08:00
Tom Eastep
aff8623a44
Allow TTL to be specified in the SAME action.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-02-17 19:11:28 -08:00
Tom Eastep
361f5af3e0
Fix broken link
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-02-13 14:28:21 -08:00
Tom Eastep
b14e7c54f9
Merge branch '4.6.6'
2015-02-07 08:29:44 -08:00
Tom Eastep
30a5f508be
Change samples to specify MODULE_SUFFIX="ko ko.xz"
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-02-06 12:56:35 -08:00
Orion Poplawski
9ad0b297e2
Supporting xz compressed kernel modules
...
- I've attached a patch that adds xz support to the default MODULE_SUFFIX.
- I'm wondering it wouldn't be better to not have MODULE_SUFFX=ko in various
sample configs so that the default value is used instead:
./Shorewall/configfiles/shorewall.conf:MODULE_SUFFIX=ko
./Shorewall/Samples/Universal/shorewall.conf:MODULE_SUFFIX=ko
./Shorewall/Samples/three-interfaces/shorewall.conf:MODULE_SUFFIX=ko
./Shorewall/Samples/two-interfaces/shorewall.conf:MODULE_SUFFIX=ko
./Shorewall/Samples/one-interface/shorewall.conf:MODULE_SUFFIX=ko
./docs/MultiISP.xml:MODULE_SUFFIX=ko
./docs/MyNetwork.xml:MODULE_SUFFIX=ko
./Shorewall6/configfiles/shorewall6.conf:MODULE_SUFFIX=ko
./Shorewall6/Samples6/Universal/shorewall6.conf:MODULE_SUFFIX=ko
./Shorewall6/Samples6/three-interfaces/shorewall6.conf:MODULE_SUFFIX=ko
./Shorewall6/Samples6/two-interfaces/shorewall6.conf:MODULE_SUFFIX=ko
./Shorewall6/Samples6/one-interface/shorewall6.conf:MODULE_SUFFIX=ko
- Is:
MODULE_SUFFIX=
sufficient to use the default value or does it need to be commented out?
Thanks,
Orion
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion@nwra.com
Boulder, CO 80301 http://www.nwra.com
>From f13edf8fc07c7b62825408b8665b10d6014d368d Mon Sep 17 00:00:00 2001
From: Orion Poplawski <orion@cora.nwra.com >
Date: Mon, 26 Jan 2015 09:48:48 -0700
Subject: [PATCH] Support xz compressed modules
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-02-06 12:51:00 -08:00
Tom Eastep
40104d0c86
Correct handling of +set[n]
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-01-26 07:53:41 -08:00
Tom Eastep
5d110616a5
Merge branch '4.6.6'
2015-01-24 18:16:47 -08:00
Tom Eastep
a2b8069ee3
Clarify Zone exclusion
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-01-24 18:15:10 -08:00
Tom Eastep
c7cd0060f0
Merge branch '4.6.6'
2015-01-23 09:07:28 -08:00
Tom Eastep
7ab055e61e
Correct file name in mangle 'split_line' error messages
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-01-22 08:31:51 -08:00
Tom Eastep
758f3cf955
Change the installation default value of INLINE_MATCHES to 'No'.
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-01-22 08:30:50 -08:00
Tom Eastep
08a184d95b
Protect 'enable' and 'disable' with mutex
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-01-22 08:30:05 -08:00
Tom Eastep
50a0103e89
Merge branch '4.6.6'
2015-01-20 08:11:07 -08:00
Tom Eastep
28ac76bde4
Add tinc tunnel support
...
Signed-off-by: Tom Eastep <teastep@shorewall.net >
2015-01-13 13:28:37 -08:00