lkml.org 
[lkml]   [1999]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

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