aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2006-07-17 09:29:25 +0000
committerImre Kaloz <kaloz@openwrt.org>2006-07-17 09:29:25 +0000
commitc6d4ef494e01425e9e6057c0b96869f9ba4a26a1 (patch)
treec2c85e1281dee7174ada6f0cc15443187e28ec16 /package
parentd04bc262c05c16f75717de09658e62e22e8b81af (diff)
downloadupstream-c6d4ef494e01425e9e6057c0b96869f9ba4a26a1.tar.gz
upstream-c6d4ef494e01425e9e6057c0b96869f9ba4a26a1.tar.bz2
upstream-c6d4ef494e01425e9e6057c0b96869f9ba4a26a1.zip
sync the sysctls with whiterussian, and tune the conntrack timeouts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4133 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/base-files/default/etc/sysctl.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/base-files/default/etc/sysctl.conf b/package/base-files/default/etc/sysctl.conf
index b09b8cfd9e..e60038cf35 100644
--- a/package/base-files/default/etc/sysctl.conf
+++ b/package/base-files/default/etc/sysctl.conf
@@ -1,8 +1,12 @@
kernel.panic=3
+net.ipv4.conf.default.arp_ignore=1
+net.ipv4.conf.all.arp_ignore=1
net.ipv4.ip_forward=1
net.ipv4.icmp_echo_ignore_broadcasts=1
net.ipv4.icmp_ignore_bogus_error_responses=1
net.ipv4.tcp_fin_timeout=30
net.ipv4.tcp_keepalive_time=120
+net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=0
-net.ipv4.tcp_vegas_cong_avoid=1
+net.ipv4.ip_conntrack_tcp_timeouts="300 43200 120 60 120 120 10 60 30 120"
+net.ipv4.ip_conntrack_udp_timeouts="60 180"