mirror of
https://gitlab.com/shorewall/code.git
synced 2025-02-19 03:01:10 +01:00
More newnotsyn stuff
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1380 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
e874f12bda
commit
2d1f10908e
@ -6,7 +6,13 @@
|
|||||||
#
|
#
|
||||||
# dropBcast #Silently Drop Broadcast/multicast
|
# dropBcast #Silently Drop Broadcast/multicast
|
||||||
# dropNonSyn #Silently Drop Non-syn TCP packets
|
# dropNonSyn #Silently Drop Non-syn TCP packets
|
||||||
# rejectNonSyn #Silently Reject Non-syn TCP packets
|
# rejNonSyn #Silently Reject Non-syn TCP packets
|
||||||
|
# logNonSyn #Log Non-syn TCP packets with disposition LOG
|
||||||
|
# dLogNonSyn #Log Non-syn TCP packets with disposition DROP
|
||||||
|
# rLogNonSyn #Log Non-syn TCP packets with disposition REJECT
|
||||||
|
#
|
||||||
|
# The NonSyn logging builtins log at the level specified by LOGNEWNOTSYN in
|
||||||
|
# shorewall.conf. If that option isn't specified then 'info' is used.
|
||||||
#
|
#
|
||||||
#ACTION
|
#ACTION
|
||||||
|
|
||||||
|
@ -2744,7 +2744,7 @@ createactionchain() # $1 = chain name
|
|||||||
|
|
||||||
process_actions1() {
|
process_actions1() {
|
||||||
|
|
||||||
ACTIONS="dropBcast dropNonSyn dropNotSyn rejectNotSyn logNotSyn rLogNotSyn dLogNotSyn"
|
ACTIONS="dropBcast dropNonSyn dropNotSyn rejNotSyn logNotSyn rLogNotSyn dLogNotSyn"
|
||||||
USEDACTIONS=
|
USEDACTIONS=
|
||||||
|
|
||||||
strip_file actions
|
strip_file actions
|
||||||
@ -2906,7 +2906,7 @@ process_actions2() {
|
|||||||
dropNotSyn)
|
dropNotSyn)
|
||||||
[ "$COMMAND" != check ] && run_iptables -A dropNotSyn -p tcp ! --syn -j DROP
|
[ "$COMMAND" != check ] && run_iptables -A dropNotSyn -p tcp ! --syn -j DROP
|
||||||
;;
|
;;
|
||||||
rejectNotSyn)
|
rejNotSyn)
|
||||||
[ "$COMMAND" != check ] && run_iptables -A rejectNotSyn -p tcp ! --syn -j REJECT --reject-with tcp-reset
|
[ "$COMMAND" != check ] && run_iptables -A rejectNotSyn -p tcp ! --syn -j REJECT --reject-with tcp-reset
|
||||||
;;
|
;;
|
||||||
logNotSyn)
|
logNotSyn)
|
||||||
|
@ -46,7 +46,7 @@ New Features:
|
|||||||
match the name of an entry in /etc/shorewall/interfaces or the name
|
match the name of an entry in /etc/shorewall/interfaces or the name
|
||||||
of a bridge port appearing in /etc/shorewall/hosts).
|
of a bridge port appearing in /etc/shorewall/hosts).
|
||||||
|
|
||||||
3) A new 'rejectNonSyn' built-in standard action has been added. This
|
3) A new 'rejNonSyn' built-in standard action has been added. This
|
||||||
action responds to "New not SYN" packets with an RST.
|
action responds to "New not SYN" packets with an RST.
|
||||||
|
|
||||||
The 'dropNonSyn' action has been superceded by the new 'dropNotSyn'
|
The 'dropNonSyn' action has been superceded by the new 'dropNotSyn'
|
||||||
|
Loading…
Reference in New Issue
Block a user