Ticket #8954: sysctl.diff

File sysctl.diff, 1.4 KB (added by swalker, 6 years ago)

The old keys can go away when all of the CONFIG_NF_CONNTRACK_PROC_COMPAT using kernels (2.6.3[0-2]) are removed

  • package/base-files/files/etc/sysctl.conf

     
    1212net.core.netdev_max_backlog=30 
    1313net.netfilter.nf_conntrack_checksum=0 
    1414net.ipv4.netfilter.ip_conntrack_checksum=0 
     15net.netfilter.nf_conntrack_max=16384 
    1516net.ipv4.netfilter.ip_conntrack_max=16384 
     17net.netfilter.nf_conntrack_tcp_timeout_established=3600 
    1618net.ipv4.netfilter.ip_conntrack_tcp_timeout_established=3600 
     19net.netfilter.nf_conntrack_udp_timeout=60 
    1720net.ipv4.netfilter.ip_conntrack_udp_timeout=60 
     21net.netfilter.nf_conntrack_udp_timeout_stream=180 
    1822net.ipv4.netfilter.ip_conntrack_udp_timeout_stream=180 
    1923net.ipv6.conf.all.forwarding=1 
    2024 
  • package/base-files/Makefile

     
    11# 
    2 # Copyright (C) 2007-2010 OpenWrt.org 
     2# Copyright (C) 2007-2011 OpenWrt.org 
    33# Copyright (C) 2010 Vertical Communications 
    44# 
    55# This is free software, licensed under the GNU General Public License v2. 
     
    1010include $(INCLUDE_DIR)/kernel.mk 
    1111 
    1212PKG_NAME:=base-files 
    13 PKG_RELEASE:=66 
     13PKG_RELEASE:=67 
    1414 
    1515PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ 
    1616PKG_BUILD_DEPENDS:=opkg/host