What are the default TCP and UDP timeouts in LEDE?

I think they were 600/180, respectively, in OpenWRT, but one or the other by the end of OpenWRT might have been lowered.

Just curious what they are now in LEDE (I don't have it installed currently to check myself).

Thanks

Check the source:

Thanks. What I take from that is that it's 7440/180. If true, I wonder why so high for TCP?

That 7440 seconds translate exactly to 2 hours 4 seconds as recommended by RFC 5382:

https://tools.ietf.org/html/rfc5382#section-5

The NAT router isn't the TCP end point so timeouts and connection termination decisions should be left to clients/hosts.

1 Like