ip_conntrack_ftp doesn't work with ftp proxy

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

 



Try loading the ip_conntrack_ftp module with the option ports instead.

ip_conntrack_ftp ports=3D8082 should do the trick for you!

//kim

> -----Original Message-----
> From: Thomas Boernert [mailto:tb@tbits.net]=20
> Sent: Wednesday, November 13, 2002 10:55 PM
> To: netfilter@lists.netfilter.org
> Subject: ip_conntrack_ftp doesn't work with ftp proxy
>=20
>=20
> Hello,
>=20
> i hope anyone can help me.
>=20
> network-chart
>=20
> linuxbox ----- firewall ---- internet
>=20
> on the firewall runs a ftp proxy (suse proxy-suite on port=20
> 8082) i've the following rules
>=20
> iptables -A INPUT -p tcp -s $local_net --sport 1024:65535 -d=20
> $firewall_internal_ip --dport 8082 -m state --state=20
> NEW,ESTABLISHED -j ACCEPT
>=20
> ipatbles -A OUTPUT -p tcp -s $firewall_internal_ip --sport=20
> 8082 -d $local_net --dport 1024:65535 -m state --state=20
> ESTABLISHED -j ACCEPT
>=20
> iptables -A INPUT -p tcp -s $local_net --sport 1024:65535 -d=20
> $firewall_internal_ip --dport 1024:65535 -m state ESTABLISHED,RELATED
>=20
> .....
>=20
> from the client i do the following
>=20
> ftp ip_firewall 8082
> login to a ftp server like redhat or so
> do "ls"
> then the kernel rejects the third rule written upper.
>=20
> if i change the rule from RELATED to NEW, the it's working,=20
> but this is not a solution.
>=20
> Thanks for help!
>=20
> - Thomas
>=20
>=20
>=20
>=20



[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