lkml.org 
[lkml]   [1999]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Problem w/IP_MASQ & ssh/telnet?
> I'm having problems with what I believe is IP_MASQ and ssh/telnet...  If I
> open a telnet or ssh session to my server behind my ip_masq box, it
> disconnects me after and some idle time. I haven't timed it so I'm not sure
> if it is the same all the time. If I do tail -f /some/file and leave it it
> won't connect me as long as data comes through, or if I'm in ncftp
> downloading something or wget. I'm using 2.2.3 on my masq server.

See this myself. SCMIIW (Someone Correct Me If I'm Wrong <g>), but the
kernel has a 15 minute timeout. What happens is the masq box just drops
the masq entry and causes the connection to be dropped as well.

run ipchains -M -L
that will show you what connections are masq'd and will also tell you when
they will expire (if no more data is sent over the connection).

IMHO, this is better than the way some m$ proxy server does it... I used
rtelnet to connect from work to home, after about 10 minutes, if I didn't
send anything out, it would drop the connection (Doesn't matter if tail or
whatnot is running)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.045 / U:6.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site