diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-24 12:05:52 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-24 12:05:52 +0000 |
commit | 2d4bdf6086f4808ee79583b6067450689e28df19 (patch) | |
tree | b88c0e3adba436ca1c52dd37c032600bc6516687 /target | |
parent | 0554700c3e8397e8cc8b3a06d4d9b44240b9be5d (diff) |
use separate sysctl.conf files for 2.4 and 2.6 - fixes some boot message spam
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7043 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic-2.4/base-files/etc/sysctl.conf | 12 | ||||
-rw-r--r-- | target/linux/generic-2.6/base-files/etc/sysctl.conf | 10 |
2 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/generic-2.4/base-files/etc/sysctl.conf b/target/linux/generic-2.4/base-files/etc/sysctl.conf new file mode 100644 index 0000000000..e60038cf35 --- /dev/null +++ b/target/linux/generic-2.4/base-files/etc/sysctl.conf @@ -0,0 +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.ip_conntrack_tcp_timeouts="300 43200 120 60 120 120 10 60 30 120" +net.ipv4.ip_conntrack_udp_timeouts="60 180" diff --git a/target/linux/generic-2.6/base-files/etc/sysctl.conf b/target/linux/generic-2.6/base-files/etc/sysctl.conf new file mode 100644 index 0000000000..a05498cd6c --- /dev/null +++ b/target/linux/generic-2.6/base-files/etc/sysctl.conf @@ -0,0 +1,10 @@ +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 |