~ubuntu-branches/ubuntu/precise/shorewall6/precise

« back to all changes in this revision

Viewing changes to action.A_Drop

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2011-06-07 20:42:53 UTC
  • mfrom: (1.3.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20110607204253-shuyx4o2yvc7v9my
Tags: 4.4.20.1-1
* New Upstream Version
* New debconf translation, Brazilian Portugese, thanks to Eder L. Marques
  (Closes: #629115)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Shorewall6 version 4 - Audited Drop Action
 
3
#
 
4
# /usr/share/shorewall6/action.ADrop
 
5
#
 
6
#       The Audited default DROP common rules
 
7
#
 
8
#       This action is invoked before a DROP policy is enforced. The purpose
 
9
#       of the action is:
 
10
#
 
11
#       a) Avoid logging lots of useless cruft.
 
12
#       b) Ensure that 'auth' requests are rejected, even if the policy is
 
13
#          DROP. Otherwise, you may experience problems establishing
 
14
#          connections with servers that use auth.
 
15
#       c) Ensure that certain ICMP packets that are necessary for successful
 
16
#          internet operation are always ACCEPTed.
 
17
#
 
18
# IF YOU ARE HAVING CONNECTION PROBLEMS, CHANGING THIS FILE WON'T HELP!!!!!!!!!
 
19
#
 
20
###############################################################################
 
21
#TARGET                 SOURCE  DEST    PROTO   DPORT   SPORT
 
22
#
 
23
# Reject 'auth'
 
24
#
 
25
Auth(A_REJECT)
 
26
#
 
27
# ACCEPT critical ICMP types
 
28
#
 
29
A_AllowICMPs            -       -       ipv6-icmp
 
30
#
 
31
# Drop Broadcasts so they don't clutter up the log
 
32
# (broadcasts must *not* be rejected).
 
33
#
 
34
dropBcast(audit)
 
35
#
 
36
# Drop packets that are in the INVALID state -- these are usually ICMP packets
 
37
# and just confuse people when they appear in the log.
 
38
#
 
39
dropInvalid(audit)
 
40
#
 
41
# Drop Microsoft noise so that it doesn't clutter up the log.
 
42
#
 
43
SMB(A_DROP)
 
44
#
 
45
# Drop 'newnotsyn' traffic so that it doesn't get logged.
 
46
#
 
47
dropNotSyn(audit)       -       -       tcp
 
48
#
 
49
# Drop late-arriving DNS replies. These are just a nuisance and clutter up
 
50
# the log.
 
51
#
 
52
A_DropDNSrep