2011-03-23 14:59:44 +01:00
|
|
|
kernel.panic=3
|
|
|
|
net.ipv4.conf.default.arp_ignore=1
|
|
|
|
net.ipv4.conf.all.arp_ignore=1
|
2012-10-23 21:24:22 +02:00
|
|
|
net.ipv4.conf.all.forwarding=0
|
|
|
|
net.ipv4.conf.all.send_redirects=0
|
2011-03-23 14:59:44 +01:00
|
|
|
net.ipv4.tcp_ecn=0
|
|
|
|
net.ipv4.tcp_fin_timeout=30
|
|
|
|
net.ipv4.tcp_keepalive_time=120
|
|
|
|
net.ipv4.tcp_syncookies=1
|
|
|
|
net.ipv4.tcp_timestamps=0
|
|
|
|
net.ipv4.netfilter.ip_conntrack_checksum=0
|
|
|
|
net.ipv4.netfilter.ip_conntrack_max=16384
|
|
|
|
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600
|
|
|
|
net.ipv4.netfilter.ip_conntrack_udp_timeout=60
|
|
|
|
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180
|
2012-10-23 21:24:22 +02:00
|
|
|
net.core.netdev_max_backlog=30
|
|
|
|
net.netfilter.nf_conntrack_checksum=0
|
|
|
|
|
|
|
|
#Controls source route verification
|
|
|
|
net.ipv4.conf.default.rp_filter=1
|
|
|
|
|
|
|
|
#Do not accept source routing
|
|
|
|
net.ipv4.conf.all.accept_source_route=0
|
|
|
|
net.ipv4.conf.all.accept_redirects=0
|
2013-02-03 20:40:17 +01:00
|
|
|
net.ipv4.conf.default.accept_source_route=0
|
|
|
|
net.ipv4.conf.default.accept_redirects=0
|
2012-10-23 21:24:22 +02:00
|
|
|
net.ipv4.icmp_echo_ignore_broadcasts=1
|
|
|
|
net.ipv4.icmp_ignore_bogus_error_responses=1
|
|
|
|
net.ipv4.ip_forward=0
|
2011-03-23 14:59:44 +01:00
|
|
|
# net.ipv6.conf.all.forwarding=1
|
|
|
|
|
|
|
|
# disable bridge firewalling by default
|
|
|
|
net.bridge.bridge-nf-call-arptables=0
|
|
|
|
net.bridge.bridge-nf-call-ip6tables=0
|
2012-10-23 21:24:22 +02:00
|
|
|
net.bridge.bridge-nf-call-iptables=0
|
|
|
|
|
2013-02-03 20:40:17 +01:00
|
|
|
net.ipv6.conf.default.accept_dad=0
|
|
|
|
net.ipv6.conf.default.accept_ra=0
|
|
|
|
net.ipv6.conf.default.accept_redirects=0
|
2012-10-23 21:24:22 +02:00
|
|
|
net.ipv6.conf.all.accept_dad=0
|
2013-03-30 01:21:26 +01:00
|
|
|
net.ipv6.conf.all.accept_ra=1
|
2012-10-23 21:24:22 +02:00
|
|
|
net.ipv6.conf.all.accept_redirects=0
|
2013-02-03 20:40:17 +01:00
|
|
|
|
2012-10-23 21:24:22 +02:00
|
|
|
# Number of Router Solicitations to send until assuming no routers are present.
|
|
|
|
# This is host and not router
|
|
|
|
net.ipv6.conf.default.router_solicitations = 0
|
2013-02-03 20:40:17 +01:00
|
|
|
net.ipv6.conf.all.router_solicitations = 0
|
2012-10-23 21:24:22 +02:00
|
|
|
|
|
|
|
# Accept Router Preference in RA?
|
|
|
|
net.ipv6.conf.default.accept_ra_rtr_pref = 0
|
2013-03-30 01:21:26 +01:00
|
|
|
net.ipv6.conf.all.accept_ra_rtr_pref = 1
|
2012-10-23 21:24:22 +02:00
|
|
|
|
|
|
|
# Learn Prefix Information in Router Advertisement
|
|
|
|
net.ipv6.conf.default.accept_ra_pinfo = 0
|
2013-03-30 01:21:26 +01:00
|
|
|
net.ipv6.conf.all.accept_ra_pinfo = 1
|
2012-10-23 21:24:22 +02:00
|
|
|
|
|
|
|
# Setting controls whether the system will accept Hop Limit settings from a router advertisement
|
|
|
|
net.ipv6.conf.default.accept_ra_defrtr = 0
|
2013-03-30 01:21:26 +01:00
|
|
|
net.ipv6.conf.all.accept_ra_defrtr = 1
|
2012-10-23 21:24:22 +02:00
|
|
|
|
|
|
|
#router advertisements can cause the system to assign a global unicast address to an interface
|
|
|
|
net.ipv6.conf.default.autoconf = 0
|
2013-03-30 01:21:26 +01:00
|
|
|
net.ipv6.conf.all.autoconf = 1
|
2012-10-23 21:24:22 +02:00
|
|
|
|
|
|
|
#how many neighbor solicitations to send out per address?
|
2013-02-03 20:40:17 +01:00
|
|
|
net.ipv6.conf.default.dad_transmits = 3
|
|
|
|
net.ipv6.conf.all.dad_transmits = 3
|
2012-10-23 21:24:22 +02:00
|
|
|
|
|
|
|
# How many global unicast IPv6 addresses can be assigned to each interface?
|
2013-02-03 20:40:17 +01:00
|
|
|
net.ipv6.conf.default.max_addresses = 0
|
2014-11-12 21:22:55 +01:00
|
|
|
net.ipv6.conf.all.max_addresses = 0
|