Re: TCP outgoing problems in 2.0.X?

Meelis Roos (mroos@tartu.cyber.ee)
Fri, 24 Jul 1998 17:38:19 +0300


AH> I've got a 16MB 5x86WB-133 box running linux as a ip_masq for a lan, and it
AH> works great, except for one problem; after anywhere from a few minutes to a
AH> few hours of uptime, the box suddenly refuses to make any outgoing TCP
AH> connections. One moment, I'll be able to telnet/ftp/browse out from the
AH> box, and the next, nothing happens. When this problem occurs, it does not

You are probably using ipautofw to redurect a range of tcp ports. This doesn't
actually work since the kernel allocates its localt ports for outgoing
connections from the same range.

Possible solutions: redirect only a small range of ports so the problems
will go away very soon. Or don't use ipautofw to redirect ranges of ports.
Or use (or write) a masq module for the protocol if possible.

You can make sure that this is the problem if you are using ipautofw and when
you flush ipautofw rules it starts working.

-- 
Meelis Roos (mroos@tartu.cyber.ee)

- 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.altern.org/andrebalsa/doc/lkml-faq.html