diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2006-07-17 09:29:25 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2006-07-17 09:29:25 +0000 |
commit | 8660a05af1df6276483b5e9100d72d6e19cd20fd (patch) | |
tree | 4045847f2b4dde51001841a38afcf9992406618d /openwrt/package/base-files/default | |
parent | 8567bc01e4792254b1c0a2b24bb8952a1948af78 (diff) | |
download | mtk-20170518-8660a05af1df6276483b5e9100d72d6e19cd20fd.zip mtk-20170518-8660a05af1df6276483b5e9100d72d6e19cd20fd.tar.gz mtk-20170518-8660a05af1df6276483b5e9100d72d6e19cd20fd.tar.bz2 |
sync the sysctls with whiterussian, and tune the conntrack timeouts
SVN-Revision: 4133
Diffstat (limited to 'openwrt/package/base-files/default')
-rw-r--r-- | openwrt/package/base-files/default/etc/sysctl.conf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/openwrt/package/base-files/default/etc/sysctl.conf b/openwrt/package/base-files/default/etc/sysctl.conf index b09b8cf..e60038c 100644 --- a/openwrt/package/base-files/default/etc/sysctl.conf +++ b/openwrt/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" |