NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/56129 (ftp(1) should keep control session during large xfer)
> I set TCP keepalive to 20 mins:
>
> $ sudo sysctl -w net.inet.tcp.keepidle=$(( (20*60) * $(sysctl -n net.inet.tcp.slowhz) ))
Oh?
On my host that operation would set it to 40 minutes.
tcp(4) says the default value for TCP_KEEPIDLE is 4 hours, which
corresponds to
net.inet.tcp.keepidle = 14400
which means this value should be specified in seconds.
So if you have a device on the path with a 30min NAT translation
time-out, you'll still lose.
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index