Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 16:36:12 -0600
From:      Ivan Villalobos <denp@acnet.net>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Telnetd keepalive question...
Message-ID:  <19981117223552.AAA600@mailmtx.acnet.net@denpmfe.acnet.net>

next in thread | raw e-mail | index | archive | help
Hi guys...

I have something that keeps diving me nuts and I still can not find an
answer...

I have a FreeBSD R30.0 inside a network protected by a firewall. Such
firewall is configured to expire TCP sessions after 15 min. of inactivity.
When I login to  the FreeBSD box, I frequently forget the session and
-obviously- the firewall expires (terminate) my session. Neither my Win95
telnet program or the telnetd realize this really soon enough so I have to
manually kill the telnetd session.

I need to know how to tweak this parameters. As I understand it, I have
three options:

1.- Tweak the firewall's TCP timeout.
2.- Tweak FreeBSD's tcp.keepalives.
3.- Tweak telnetd's keepalives.

I do not want to go for options 1 & 2 since it would affect not only my
session but all my traffic. So I figured that the right thing to do is to
tweak telnetd's keepalive.

Now, does anybody know what the "1" means in this line?, taken from
/usr/src/libexec/telnetd/telnetd.c

int keepalive = 1;

I also figured this would be the line to mess with, right?

Could anyone, please please please shed some light here?

Could you please answer (if any) to denp@acnet.net

Best Regards...


Ivan Villalobos
Ashton Communications Corp.
NOC McAllen, TX.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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