Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#12236 closed defect (fixed)

Deprecated Lines in Default sysctl.conf

Reported by: alphasparc@… Owned by: developers
Priority: low Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

There are a few deprecated lines in /etc/sysctl.conf that should be removed.

root@OpenWrt:/# sysctl -p
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_ecn = 0
net.ipv4.tcp_fin_timeout = 30
net.ipv4.tcp_keepalive_time = 120
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1
net.ipv4.tcp_dsack = 1
sysctl: error: 'net.ipv4.netfilter.ip_conntrack_checksum' is an unknown key
sysctl: error: 'net.ipv4.netfilter.ip_conntrack_max' is an unknown key
sysctl: error: 'net.ipv4.netfilter.ip_conntrack_tcp_timeout_established' is an unknown key
sysctl: error: 'net.ipv4.netfilter.ip_conntrack_udp_timeout' is an unknown key
sysctl: error: 'net.ipv4.netfilter.ip_conntrack_udp_timeout_stream' is an unknown key
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
net.netfilter.nf_conntrack_udp_timeout = 60
net.netfilter.nf_conntrack_udp_timeout_stream = 180
sysctl: error: 'net.bridge.bridge-nf-call-arptables' is an unknown key
sysctl: error: 'net.bridge.bridge-nf-call-ip6tables' is an unknown key
sysctl: error: 'net.bridge.bridge-nf-call-iptables' is an unknown key

Attachments (0)

Change History (4)

comment:1 Changed 5 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r33532

comment:2 Changed 5 years ago by alphasparc@…

Does the following keys actually exist?

net.bridge.bridge-nf-call-arptables=0
net.bridge.bridge-nf-call-ip6tables=0
net.bridge.bridge-nf-call-iptables=0
root@openwrt:~# sysctl -w net.bridge.bridge-nf-call-arptables=0
sysctl: error: 'net.bridge.bridge-nf-call-arptables' is an unknown key

comment:3 Changed 5 years ago by nbd

they depend on the kernel config. they do exist if bridge netfilter support is enabled (which gets selected by ebtables).

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.