Re: Telnet Operation Timed Out

2004-04-16 Thread Nikos Vassiliadis
Yes it was a good question, and my connections timeout
faster than before. I don't think you can do something like
that with ipfw. But I might be wrong, Perhaps, you can find
a telnet client that suits your needs. BTW I think an overall
TCP connection timeout set to 10 seconds is a good idea.
But then again you might have problems with overloaded
sites. That would be very rare, though.

Cheers, NikV

On Wednesday 14 April 2004 20:55, Holtor wrote:
> Nikos,
>
> Thank you so much! The value is not in seconds but in milliseconds
> (wierd?). I set it to 1 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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Telnet Operation Timed Out

2004-04-14 Thread Holtor
Nikos,

Thank you so much! The value is not in seconds but in milliseconds (wierd?). I set it 
to 1 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 <[EMAIL PROTECTED]> 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
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"
> 





__
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Telnet Operation Timed Out

2004-04-14 Thread Remko Lodder
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.
IMHO it's TCP, nothing to do with "telnet" itself,

Perhaps you can use a sysctl command to extend the tcp timeout value. (I 
just looked but i could not find one that should do the job.)
but that might also tell one that tcp values are default, a timeout 
always occurs in x seconds (where x is staticly defined).

HTH,

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.
Subscribe and learn :-)

Thanks,

Holt G.

--

Kind regards,

Remko Lodder
Elvandar.org/DSINet.org
www.mostly-harmless.nl A Dutch community for helping newcomers on the 
hackerscene
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Telnet Operation Timed Out

2004-04-14 Thread Nikos Vassiliadis
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
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"