~ubuntu-branches/ubuntu/trusty/ufw/trusty-proposed

« back to all changes in this revision

Viewing changes to conf/sysctl.conf

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-01-30 09:42:05 UTC
  • mfrom: (30.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20100130094205-8wsowzipc32k48yy
Tags: 0.29.3-0ubuntu1
* New upstream release. Fixes:
  LP: #490366
  LP: #512131
  LP: #488032
  LP: #513387
* debian/ufw.upstart.ubuntu: start before an interface receives traffic
* debian/postinst: don't sed or chmod a file that doesn't exist
  (LP: #503039)
* debian/after*.rules.md5sum: updated for ucf (added additional sums for
  people using the workaround in LP: #488032)

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
# Turn on Source Address Verification in all interfaces to prevent some
12
12
# spoofing attacks
 
13
net/ipv4/conf/default/rp_filter=1
13
14
net/ipv4/conf/all/rp_filter=1
14
 
net/ipv4/conf/default/rp_filter=1
15
15
 
16
16
# Do not accept IP source route packets (we are not a router)
 
17
net/ipv4/conf/default/accept_source_route=0
17
18
net/ipv4/conf/all/accept_source_route=0
18
 
net/ipv4/conf/default/accept_source_route=0
 
19
net/ipv6/conf/default/accept_source_route=0
19
20
net/ipv6/conf/all/accept_source_route=0
20
 
net/ipv6/conf/default/accept_source_route=0
21
21
 
22
22
# Disable ICMP redirects. ICMP redirects are rarely used but can be used in
23
23
# MITM (man-in-the-middle) attacks. Disabling ICMP may disrupt legitimate
24
24
# traffic to those sites.
 
25
net/ipv4/conf/default/accept_redirects=0
25
26
net/ipv4/conf/all/accept_redirects=0
26
 
net/ipv4/conf/default/accept_redirects=0
 
27
net/ipv6/conf/default/accept_redirects=0
27
28
net/ipv6/conf/all/accept_redirects=0
28
 
net/ipv6/conf/default/accept_redirects=0
29
29
 
30
30
# Ignore bogus ICMP errors
31
31
net/ipv4/icmp_echo_ignore_broadcasts=1
33
33
net/ipv4/icmp_echo_ignore_all=0
34
34
 
35
35
# Don't log Martian Packets (impossible packets)
 
36
net/ipv4/conf/default/log_martians=0
36
37
net/ipv4/conf/all/log_martians=0
37
 
net/ipv4/conf/default/log_martians=0
38
38
 
39
39
# Change to '1' to enable TCP/IP SYN cookies This disables TCP Window Scaling
40
40
# (http://lkml.org/lkml/2008/2/5/167)