Messages in this thread | | | Date | Thu, 5 Aug 1999 04:08:34 +0300 | From | Meelis Roos <> | Subject | Re: Linux 2.2.x outgoing TCP connects hang after several hours of use |
| |
DH> I've been noticing a TCP connect problem on a masquerading gateway DH> box for a few months now, first running 2.2.7, and more recently DH> 2.2.10 and 2.2.11pre2. They behavior is basically that outgoing TCP DH> connections originating on the gateway box itself fail, but that DH> incoming TCP connects succeed. Outgoing TCP connects that are DH> masqueraded via this box succeed as well. The interfaces are eth0 DH> for the local private net and ppp0 for everything else.
If you are using some reverse masquerading techinques (like ipautofw) then it may happen that the kernel chooses the local port number for outgoing connections from the range that the masquerade helper uses. It results in just the same symptoms - no outgoing connections, incoming and masquerade still work. When a big-enough number of connections fail then the local port number gets out of the forwarded range and it works again.
-- 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.tux.org/lkml/
| |