Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 10:55:22 -0700 (PDT)
From:      Holtor <holtor@yahoo.com>
To:        questions@freebsd.org
Cc:        holtor@yahoo.com
Subject:   Re: Telnet Operation Timed Out
Message-ID:  <20040414175522.8527.qmail@web11605.mail.yahoo.com>
In-Reply-To: <200404141513.58410.nvass@teledome.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Nikos,

Thank you so much! The value is not in seconds but in milliseconds (wierd?). I set it to 10000 ms
which gave me a 10 second timeout however this is system-wide and I dont want to break things.

Does anyone know how to do it for just this specific telnet session? Perhaps there's a keepinit
rule in ipfw. Any ideas? Tia

Holt

--- Nikos Vassiliadis <nvass@teledome.gr> wrote:
> You can change the non-established-connection-timeout
> using sysctl net.inet.tcp.keepinit=value. The default is
> 75000, at least on FreeBSD-4.9, which is probably a lot.
> 
> Cheers, NikV
> 
> On Wednesday 14 April 2004 14:36, Holtor wrote:
> > Hello All,
> >
> > How can I change the default telnet timeout value when connecting to remote
> > hosts?
> >
> > For example:
> >
> > # time telnet -N 1.2.3.4
> > Trying 1.2.3.4...
> > telnet: connect to address 1.2.3.4: Operation timed out
> > telnet: Unable to connect to remote host
> > 0.000u 0.008s 1:15.01 0.0%      0+0k 1+0io 6pf+0w
> >
> > The timeout seems to be 75 sec, how can we make this 15 or 30 seconds? I
> > have been searching google to no avail but did get hints that this might be
> > a TCP default of somekind.
> >
> > If anyone has any idea please do e-mail back but include my in the reply as
> > I'm not yet subscribed to the list.
> >
> > Thanks,
> >
> > Holt G.
> >
> >
> >
> >
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Tax Center - File online by April 15th
> > http://taxes.yahoo.com/filing.html
> > _______________________________________________
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe@freebsd.org"
> 



	
		
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414175522.8527.qmail>