Sorry - I wasn't very clear on what I was trying to do. I'm not concerned
with current connections getting logged out (ala idled), but with how long
it takes a connection being established to timeout.
server:~/# date
Fri Oct 27 16:53:12 IST 2000
server:~/# telnet www.met.ie 80
Trying 195.7.35.21...
telnet: Unable to connect to remote host: Connection timed out
server:~/# date
Fri Oct 27 17:06:26 IST 2000
As you can see, that's taken about 13 minutes.
BTW - I did that after changing /proc/sys/net/ipv4/tcp_fin_timeout to 30,
as suggested in another email.
On Fri, 27 Oct 2000, Brady, Padraig wrote:
> > -----Original Message-----
> > From: Raf [mailto:turiel at Redbrick.DCU.ie]
> > Sent: 27 October 2000 13:07
> > To: ilug at linux.ie> >
> > Anyone know how to change the amount of time it takes before a tcpip
> > (i.e. telnet) connection times out? ATM its taking about 13
> > minutes... I'd like to change it to something like 3-5 instead.
>> If a telnet client is directly connected to the telnetd then as long as
> both parties both parties (processes) are running the connection will
> never be disconnected by TCP/IP no matter how long the idle time.
>
<snipped big long response>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!