diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-03-04 14:53:17 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-03-04 14:53:17 +0000 |
commit | 086cae30ce9310fa7dc785d1a0c4cb8b487bc948 (patch) | |
tree | 1d22f76d12838d4b335a8ecf0bb9cdfd685914fe | |
parent | be4e5a29a973f76b8a3f0c3d3e9593f0cf2bde6b (diff) | |
download | mtk-20170518-086cae30ce9310fa7dc785d1a0c4cb8b487bc948.zip mtk-20170518-086cae30ce9310fa7dc785d1a0c4cb8b487bc948.tar.gz mtk-20170518-086cae30ce9310fa7dc785d1a0c4cb8b487bc948.tar.bz2 |
base-files: enable conntrack accounting in sysctl. It used to be a compile time option which got deprecated
SVN-Revision: 30805
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rw-r--r-- | package/base-files/files/etc/sysctl.conf | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 94182a2..47785a2 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 0ff2014..2d97000 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 |