2008-12-09 17:50:17 +01:00
|
|
|
#
|
2008-12-13 19:22:42 +01:00
|
|
|
# Shorewall6 version 4 - Reject Action
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2008-12-13 19:22:42 +01:00
|
|
|
# /usr/share/shorewall6/action.Reject
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
|
|
|
# The default REJECT action common rules
|
|
|
|
#
|
|
|
|
# This action is invoked before a REJECT policy is enforced. The purpose
|
|
|
|
# of the action is:
|
|
|
|
#
|
|
|
|
# a) Avoid logging lots of useless cruft.
|
|
|
|
# b) Ensure that certain ICMP packets that are necessary for successful
|
|
|
|
# internet operation are always ACCEPTed.
|
|
|
|
#
|
|
|
|
# IF YOU ARE HAVING CONNECTION PROBLEMS, CHANGING THIS FILE WON'T HELP!!!!!!!!!
|
|
|
|
###############################################################################
|
|
|
|
#TARGET SOURCE DEST PROTO
|
|
|
|
#
|
|
|
|
# Don't log 'auth' -- REJECT
|
|
|
|
#
|
2010-01-18 01:18:44 +01:00
|
|
|
Auth(REJECT)
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2010-07-13 01:44:34 +02:00
|
|
|
# Drop Multicasts so they don't clutter up the log
|
|
|
|
# (broadcasts must *not* be rejected).
|
|
|
|
#
|
2010-07-13 22:03:55 +02:00
|
|
|
AllowICMPs - - ipv6-icmp
|
2010-07-13 01:44:34 +02:00
|
|
|
#
|
2010-07-13 22:03:55 +02:00
|
|
|
# Drop Broadcasts so they don't clutter up the log
|
|
|
|
# (broadcasts must *not* be rejected).
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
2010-07-13 22:03:55 +02:00
|
|
|
dropBcast
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
|
|
|
# Drop packets that are in the INVALID state -- these are usually ICMP packets
|
|
|
|
# and just confuse people when they appear in the log (these ICMPs cannot be
|
|
|
|
# rejected).
|
|
|
|
#
|
|
|
|
dropInvalid
|
|
|
|
#
|
|
|
|
# Reject Microsoft noise so that it doesn't clutter up the log.
|
|
|
|
#
|
2010-01-18 01:18:44 +01:00
|
|
|
SMB(REJECT)
|
2008-12-09 17:50:17 +01:00
|
|
|
#
|
|
|
|
# Drop 'newnotsyn' traffic so that it doesn't get logged.
|
|
|
|
#
|
|
|
|
dropNotSyn - - tcp
|
|
|
|
#
|
|
|
|
# Drop late-arriving DNS replies. These are just a nuisance and clutter up
|
|
|
|
# the log.
|
|
|
|
#
|
|
|
|
DropDNSrep
|