Ron Lai wrote:
The packet dump from the 2.6.22.6 box in the middle is attached. In the
trace 172.16.119.91 is the original IP address of the FTP client and
172.16.255.123 is the NATted address. The FTP server's address is
172.16.118.1.
The problem happens between packet 31 and packet 34. Packet 31 indicates
that the client expects ACK number 0x64b4dda9 for the PORT command it
sends. However, the ACK number it actually gets is 0x64b4dda8.
Thats really odd. It properly adjusts the sequence number in the
original direction by +1, but incorrectly adjusts the acknowledgement
in the reply direction by -2. I don't see how this could happen with
the vanilla 2.6.22 kernel, are you using any additional patches?
Otherwise please edit net/ipv4/netfilter/nf_nat_helper.c and add
a #define DEBUG at the first line, recompile and post the output
of the failed session (ideally two failed sessions). Thanks.
-
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html