aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-03-04 14:53:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-03-04 14:53:17 +0000
commit0298468ecffbf4c84242c1239b69b12b40d8e6b6 (patch)
tree2d3d361e64c9ac557fea1c1ffec1cc00b15b9bd7
parent3dbbbaf6461616edc9c7afbef08e1c4becffa720 (diff)
downloadupstream-0298468ecffbf4c84242c1239b69b12b40d8e6b6.tar.gz
upstream-0298468ecffbf4c84242c1239b69b12b40d8e6b6.tar.bz2
upstream-0298468ecffbf4c84242c1239b69b12b40d8e6b6.zip
[package] base-files: enable conntrack accounting in sysctl. It used to be a compile time option which got deprecated
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30805 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/base-files/Makefile2
-rw-r--r--package/base-files/files/etc/sysctl.conf1
2 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 94182a2394..47785a254f 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
-PKG_RELEASE:=103
+PKG_RELEASE:=104
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
PKG_BUILD_DEPENDS:=opkg/host
diff --git a/package/base-files/files/etc/sysctl.conf b/package/base-files/files/etc/sysctl.conf
index 0ff2014559..2d970008fb 100644
--- a/package/base-files/files/etc/sysctl.conf
+++ b/package/base-files/files/etc/sysctl.conf
@@ -17,6 +17,7 @@ net.ipv4.netfilter.ip_conntrack_udp_timeout=60
net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180
net.ipv6.conf.all.forwarding=1
+net.netfilter.nf_conntrack_acct=1
net.netfilter.nf_conntrack_checksum=0
net.netfilter.nf_conntrack_max=16384
net.netfilter.nf_conntrack_tcp_timeout_established=3600