From: Manuel Munz Date: Wed, 12 Jan 2011 17:42:23 +0000 (+0000) Subject: freifunk-firewall: tcp_westwood and ip_conntrack_max stopped working after 2.6.13... X-Git-Tag: 0.11.0~2397 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=932e4e017bcddd7ceca52c2701d5b798834d9c51;p=oweals%2Fluci.git freifunk-firewall: tcp_westwood and ip_conntrack_max stopped working after 2.6.13 and should be set in /etc/config/firewall as advanced options. --- diff --git a/contrib/package/freifunk-firewall/files/etc/firewall.freifunk b/contrib/package/freifunk-firewall/files/etc/firewall.freifunk index b27957bd4..905299204 100644 --- a/contrib/package/freifunk-firewall/files/etc/firewall.freifunk +++ b/contrib/package/freifunk-firewall/files/etc/firewall.freifunk @@ -13,8 +13,6 @@ apply_advanced() { local accept_source_route config_get_bool tcp_ecn $1 tcp_ecn 1 - config_get ip_conntrack_max $1 ip_conntrack_max - config_get_bool tcp_westwood $1 tcp_westwood 0 config_get_bool tcp_window_scaling $1 tcp_window_scaling 1 config_get_bool accept_redirects $1 accept_redirects 0 config_get_bool accept_source_route $1 accept_source_route 0 @@ -26,8 +24,6 @@ apply_advanced() { sysctl -w net.ipv4.tcp_ecn=$tcp_ecn >/dev/null sysctl -w net.ipv4.tcp_window_scaling=$tcp_window_scaling >/dev/null - sysctl -w net.ipv4.tcp_westwood=$tcp_westwood >/dev/null - sysctl -w net.ipv4.ip_conntrack_max=$ip_conntrack_max >/dev/null for f in /proc/sys/net/ipv4/conf/*/accept_redirects; do echo $accept_redirects > $f