base-files: update sysctl.conf for modern kernels

SVN-Revision: 26204
lede-17.01
Jo-Philipp Wich 2011-03-17 15:35:41 +00:00
parent 6b0faf40e7
commit 629e73938e
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2007-2010 OpenWrt.org # Copyright (C) 2007-2011 OpenWrt.org
# Copyright (C) 2010 Vertical Communications # Copyright (C) 2010 Vertical Communications
# #
# This is free software, licensed under the GNU General Public License v2. # This is free software, licensed under the GNU General Public License v2.
@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files PKG_NAME:=base-files
PKG_RELEASE:=66 PKG_RELEASE:=67
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host PKG_BUILD_DEPENDS:=opkg/host

View File

@ -10,7 +10,7 @@ net.ipv4.tcp_keepalive_time=120
net.ipv4.tcp_syncookies=1 net.ipv4.tcp_syncookies=1
net.ipv4.tcp_timestamps=0 net.ipv4.tcp_timestamps=0
net.core.netdev_max_backlog=30 net.core.netdev_max_backlog=30
net.netfilter.nf_conntrack_checksum=0
net.ipv4.netfilter.ip_conntrack_checksum=0 net.ipv4.netfilter.ip_conntrack_checksum=0
net.ipv4.netfilter.ip_conntrack_max=16384 net.ipv4.netfilter.ip_conntrack_max=16384
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600 net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600
@ -18,6 +18,12 @@ net.ipv4.netfilter.ip_conntrack_udp_timeout=60
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180 net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180
net.ipv6.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1
net.netfilter.nf_conntrack_checksum=0
net.netfilter.nf_conntrack_max=16384
net.netfilter.nf_conntrack_tcp_timeout_established=3600
net.netfilter.nf_conntrack_udp_timeout=60
net.netfilter.nf_conntrack_udp_timeout_stream=180
# disable bridge firewalling by default # disable bridge firewalling by default
net.bridge.bridge-nf-call-arptables=0 net.bridge.bridge-nf-call-arptables=0
net.bridge.bridge-nf-call-ip6tables=0 net.bridge.bridge-nf-call-ip6tables=0