From owner-freebsd-questions@FreeBSD.ORG Wed Apr 14 10:55:22 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A45F416A4CE for ; Wed, 14 Apr 2004 10:55:22 -0700 (PDT) Received: from web11605.mail.yahoo.com (web11605.mail.yahoo.com [216.136.172.57]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D69543D31 for ; Wed, 14 Apr 2004 10:55:22 -0700 (PDT) (envelope-from holtor@yahoo.com) Message-ID: <20040414175522.8527.qmail@web11605.mail.yahoo.com> Received: from [128.235.203.3] by web11605.mail.yahoo.com via HTTP; Wed, 14 Apr 2004 10:55:22 PDT Date: Wed, 14 Apr 2004 10:55:22 -0700 (PDT) From: Holtor To: questions@freebsd.org In-Reply-To: <200404141513.58410.nvass@teledome.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: holtor@yahoo.com Subject: Re: Telnet Operation Timed Out X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 17:55:22 -0000 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 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