One question remains. The "5 day" thing could easily drive conntrack into the worse scenario.
And this was already addressed by Asus in recent betas.
One question remains. The "5 day" thing could easily drive conntrack into the worse scenario.
If a dump truck can drive at 1MPH when carrying its heaviest load, then is it still 'functioning'? hahaha.However, it will still be functional.
As Merlin said, it's a bug....I'm sure he will fix it for the next release (the ct_max var got dropped from defaults.c where it needs to be declared to be modified by the gui)The GUI should really allow this, however...
ah. I mis-read that part.As Merlin said, it's a bug....I'm sure he will fix it for the next release (the ct_max var got dropped from defaults.c where it needs to be declared to be modified by the gui)
As Merlin said, it's a bug....I'm sure he will fix it for the next release (the ct_max var got dropped from defaults.c where it needs to be declared to be modified by the gui)
rt-ac68u:/jffs/scripts# echo "8192" > /sys/module/nf_conntrack/parameters/hashsize
rt-ac68u:/jffs/scripts# cat /proc/sys/net/ipv4/netfilter/ip_conntrack_buckets
8192
rt-ac68u:/jffs/scripts# service restart_conntrack
Done.
rt-ac68u:/jffs/scripts# cat /proc/sys/net/ipv4/netfilter/ip_conntrack_buckets
4096
Can't try it right now, but try setting hashsize via nvram as well before restarting conntrack...Is it also possible to make the hash size configurable?
rt-ac68u:/jffs/scripts# nvram set ct_hashsize=4000
rt-ac68u:/jffs/scripts# nvram commit
rt-ac68u:/jffs/scripts# service restart_conntrack
Done.
rt-ac68u:/jffs/scripts# cat /sys/module/nf_conntrack/parameters/hashsize
4096
rt-ac68u:/jffs/scripts# nvram show | grep hash
size: 52515 bytes (13021 left)
ct_hashsize=4096
rt-ac68u:/jffs/scripts# nvram set ct_hashsize=8192
rt-ac68u:/jffs/scripts# service restart_conntrack
Done.
rt-ac68u:/jffs/scripts# nvram show | grep hash
size: 52515 bytes (13021 left)
ct_hashsize=8192
rt-ac68u:/jffs/scripts# service restart_conntrack
Done.
rt-ac68u:/jffs/scripts# cat /sys/module/nf_conntrack/parameters/hashsize
8192
rt-ac68u:/jffs/scripts# nvram show | grep ^ct_
ct_max=65536
size: 52516 bytes (13020 left)
ct_timeout=600 30
ct_tcp_timeout=0 7200 60 30 120 120 20 60 30 0
ct_hashsize=16384
ct_udp_timeout=20 300
edit: realised I think I'm looking at the wrong value,
cat /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established is showing correctly.
That's right or the global one here: /proc/sys/net/netfilter/nf_conntrack_tcp_timeout_established
I believe most of those values on Other Settings page are referring to conntrack module of Netfilter rather than TCP/IP protocol itself. I think @Calisro would be able to shed more light on this. We haven't seen him for a long while..
Thread starter | Title | Forum | Replies | Date |
---|---|---|---|---|
D | tcp congestion algorithm | Asuswrt-Merlin | 0 | |
R | Prevent SSH Disconnect / Timeout around ~ 105-116 seconds from last activity on terminal session | Asuswrt-Merlin | 7 |
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!