2008-12-09 17:50:17 +01:00
|
|
|
#
|
2015-07-28 19:59:11 +02:00
|
|
|
# Shorewall6 version 5 - Actions.std File
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2008-12-09 21:15:57 +01:00
|
|
|
# /usr/share/shorewall6/actions.std
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2020-03-26 22:58:35 +01:00
|
|
|
# Please see https://shorewall.org/Actions.html for additional
|
2008-12-09 17:50:17 +01:00
|
|
|
# information.
|
|
|
|
#
|
|
|
|
###############################################################################
|
|
|
|
#ACTION
|
2017-12-02 19:45:06 +01:00
|
|
|
AllowICMPs proto=58 # Accept needed ICMP6 types
|
2017-03-05 21:09:33 +01:00
|
|
|
allowBcast inline # Silently Allow Broadcast
|
2013-02-07 20:21:13 +01:00
|
|
|
allowInvalid inline # Accepts packets in the INVALID conntrack state
|
2017-03-05 21:09:33 +01:00
|
|
|
allowMcast inline # Silently Allow Multicast
|
2017-12-02 19:45:06 +01:00
|
|
|
AutoBL noinline # Auto-blacklist IPs that exceed thesholds
|
|
|
|
AutoBLL noinline # Helper for AutoBL
|
2017-05-26 16:39:09 +02:00
|
|
|
BLACKLIST logjump,section # Add sender to the dynamic blacklist
|
2017-12-02 19:45:06 +01:00
|
|
|
Broadcast noinline # Handles Broadcast/Anycast
|
2017-03-05 21:09:33 +01:00
|
|
|
dropBcast inline # Silently Drop Broadcast
|
2017-06-26 03:36:54 +02:00
|
|
|
dropBcasts inline # Silently Drop Broadcast
|
2013-02-07 20:21:13 +01:00
|
|
|
dropInvalid inline # Drops packets in the INVALID conntrack state
|
2017-03-05 21:09:33 +01:00
|
|
|
dropMcast inline # Silently Drop Multicast
|
2017-12-02 19:45:06 +01:00
|
|
|
dropNotSyn noinline,proto=6 # Silently Drop Non-syn TCP packets
|
|
|
|
DropDNSrep inline,proto=17 # Drops DNS replies
|
|
|
|
DropSmurfs noinline # Handles packets with a broadcast source address
|
2016-03-14 22:54:09 +01:00
|
|
|
Established inline,\ # Handles packets in the ESTABLISHED state
|
|
|
|
state=ESTABLISHED
|
2017-12-02 19:45:06 +01:00
|
|
|
FIN inline,audit,\ # Handles ACK,FIN,PSH packets
|
|
|
|
proto=6
|
2017-03-24 17:54:36 +01:00
|
|
|
forwardUPnP noinline # Allow traffic that upnpd has redirected from 'upnp' interfaces.
|
2017-12-02 19:45:06 +01:00
|
|
|
IfEvent noinline # Perform an action based on an event
|
|
|
|
Invalid inline,audit,\ # Handles packets in the INVALID conntrack state
|
|
|
|
state=INVALID
|
|
|
|
Multicast noinline # Handles Multicast
|
2016-03-14 22:54:09 +01:00
|
|
|
New inline,state=NEW # Handles packets in the NEW conntrack state
|
2017-12-02 19:45:06 +01:00
|
|
|
NotSyn inline,proto=6 # Handles TCP packets that do not have SYN=1 and ACK=0
|
|
|
|
rejNotSyn noinline,proto=6 # Silently Reject Non-syn TCP packets
|
|
|
|
Related inline,\ # Handles packets in the RELATED conntrack state
|
|
|
|
state=RELATED
|
2013-07-12 18:45:41 +02:00
|
|
|
ResetEvent inline # Reset an Event
|
2017-12-02 19:45:06 +01:00
|
|
|
RST inline,proto=6 # Handle packets with RST set
|
2013-07-12 18:45:41 +02:00
|
|
|
SetEvent inline # Initialize an event
|
2017-12-02 19:45:06 +01:00
|
|
|
TCPFlags proto=6 # Handles bad flags combinations
|
|
|
|
Untracked inline,\ # Handles packets in the UNTRACKED conntrack state
|
2016-03-14 22:54:09 +01:00
|
|
|
state=UNTRACKED
|