2008-12-07 19:17:26 +01:00
|
|
|
#
|
2015-07-28 19:59:11 +02:00
|
|
|
# Shorewall version 5 - Actions.std File
|
2008-12-07 19:17:26 +01:00
|
|
|
#
|
|
|
|
# /usr/share/shorewall/actions.std
|
|
|
|
#
|
|
|
|
# Please see http://shorewall.net/Actions.html for additional
|
|
|
|
# information.
|
|
|
|
#
|
|
|
|
# Builtin Actions are:
|
|
|
|
#
|
2016-03-14 22:54:09 +01:00
|
|
|
?if 0
|
2017-01-19 23:08:15 +01:00
|
|
|
allowBcast # Silently Allow Broadcast/multicast
|
|
|
|
dropBcast # Silently Drop Broadcast/multicast
|
|
|
|
dropNotSyn # Silently Drop Non-syn TCP packets
|
|
|
|
rejNotSyn # Silently Reject Non-syn TCP packets
|
|
|
|
allowinUPnP # Allow UPnP inbound (to firewall) traffic
|
|
|
|
forwardUPnP # Allow traffic that upnpd has redirected from 'upnp' interfaces.
|
|
|
|
Limit # Limit the rate of connections from each individual IP address
|
2016-03-14 22:54:09 +01:00
|
|
|
?endif
|
2008-12-07 19:17:26 +01:00
|
|
|
###############################################################################
|
|
|
|
#ACTION
|
2017-01-19 23:08:15 +01:00
|
|
|
A_Drop # Audited Default Action for DROP policy
|
|
|
|
A_REJECT noinline,logjump # Audits then rejects a connection request
|
|
|
|
A_REJECT! inline # Audits then rejects a connection request
|
|
|
|
A_Reject # Audited Default action for REJECT policy
|
2013-02-07 20:21:13 +01:00
|
|
|
allowInvalid inline # Accepts packets in the INVALID conntrack state
|
2017-01-19 23:08:15 +01:00
|
|
|
AutoBL noinline # Auto-blacklist IPs that exceed thesholds
|
|
|
|
AutoBLL noinline # Helper for AutoBL
|
2017-01-24 00:03:02 +01:00
|
|
|
BLACKLIST logjump,section # Add sender to the dynamic blacklist
|
2017-01-19 23:08:15 +01:00
|
|
|
Broadcast noinline,audit # Handles Broadcast/Multicast/Anycast
|
|
|
|
DNSAmp # Matches one-question recursive DNS queries
|
|
|
|
Drop # Default Action for DROP policy
|
2013-02-07 20:21:13 +01:00
|
|
|
dropInvalid inline # Drops packets in the INVALID conntrack state
|
2017-02-06 20:21:56 +01:00
|
|
|
DropDNSrep inline # Drops DNS replies
|
2017-01-19 23:08:15 +01:00
|
|
|
DropSmurfs noinline # Drop smurf packets
|
2016-03-14 22:54:09 +01:00
|
|
|
Established inline,\ # Handles packets in the ESTABLISHED state
|
2017-01-19 23:08:15 +01:00
|
|
|
state=ESTABLISHED #
|
2015-09-19 21:31:54 +02:00
|
|
|
GlusterFS inline # Handles GlusterFS
|
2017-01-19 23:08:15 +01:00
|
|
|
IfEvent noinline # Perform an action based on an event
|
|
|
|
Invalid inline,audit,\ # Handles packets in the INVALID conntrack state
|
|
|
|
state=INVALID #
|
2016-03-14 22:54:09 +01:00
|
|
|
New inline,state=NEW # Handles packets in the NEW conntrack state
|
2017-01-19 23:08:15 +01:00
|
|
|
NotSyn inline,audit # Handles TCP packets which do not have SYN=1 and ACK=0
|
|
|
|
Reject # Default Action for REJECT policy
|
|
|
|
Related inline,\ # Handles packets in the RELATED conntrack state
|
|
|
|
state=RELATED #
|
2013-07-11 19:39:21 +02:00
|
|
|
ResetEvent inline # Reset an Event
|
2017-01-19 23:08:15 +01:00
|
|
|
RST inline,audit # Handle packets with RST set
|
2013-07-11 19:39:21 +02:00
|
|
|
SetEvent inline # Initialize an event
|
2017-01-19 23:08:15 +01:00
|
|
|
TCPFlags # Handle bad flag combinations.
|
|
|
|
Untracked inline,\ # Handles packets in the UNTRACKED conntrack state
|
|
|
|
state=UNTRACKED #
|