Re: ftp contrack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-01-25 at 14:43, Filip Sneppe wrote:
> On Tue, 25 Jan 2005 10:50:26 +0100, Mario Ohnewald
> <mario.ohnewald@xxxxxx> wrote:
> > 
> > by the way.
> >  modprobe ip_nat_ftp ports=21,2121
> > didnt work.
> > 
> Did you rmmod the ip_nat_ftp module before reloading it ?


Yes, i did.

The weird thing is that it works ONLY with the first ftp connection.
If i try to upload something a 2nd time, the packges wont get forwarded
anymore. I can see the following packages with tcpdump:
(- 123.123.123.123 is the client
 - 222.222.222.222 is the FW)


15:02:45.999772 IP 123.123.123.123.42823 > 222.222.222.222.2121: SWE
1965111453:1965111453(0) win 5840 <mss 1460,sackOK,timestamp 313275888
0,nop,wscale 0>
15:02:48.990185 IP 123.123.123.123.42823 > 222.222.222.222.2121: SWE
1965111453:1965111453(0) win 5840 <mss 1460,sackOK,timestamp 313276188
0,nop,wscale 0>
15:02:54.990145 IP 123.123.123.123.42823 > 222.222.222.222.2121: SWE
1965111453:1965111453(0) win 5840 <mss 1460,sackOK,timestamp 313276788
0,nop,wscale 0>
15:03:06.990205 IP 123.123.123.123.42823 > 222.222.222.222.2121: SWE
1965111453:1965111453(0) win 5840 <mss 1460,sackOK,timestamp 313277988
0,nop,wscale 0>

as you can see, its not even forwarding.
/proc/sys/net/ipv4/ip_forward is turned on.


Cheers, Mario




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux