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)



The following reply was made to PR bin/56129; it has been noted by GNATS.

From: Havard Eidnes <he%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost, rvp%SDF.ORG@localhost
Cc: lukem%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: bin/56129 (ftp(1) should keep control session during large
 xfer)
Date: Thu, 24 Jun 2021 00:45:15 +0200 (CEST)

 >  I set TCP keepalive to 20 mins:
 >
 >  $ sudo sysctl -w net.inet.tcp.keepidle=3D$(( (20*60) * $(sysctl -n n=
 et.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 =3D 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=E5vard
 


Home | Main Index | Thread Index | Old Index