ip_conntrack_ftp doesn't work with ftp proxy

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

 



Hello,

i hope anyone can help me.

network-chart

linuxbox ----- firewall ---- internet

on the firewall runs a ftp proxy (suse proxy-suite on port 8082)
i've the following rules

iptables -A INPUT -p tcp -s $local_net --sport 1024:65535 -d
$firewall_internal_ip --dport 8082 -m state --state NEW,ESTABLISHED -j
ACCEPT

ipatbles -A OUTPUT -p tcp -s $firewall_internal_ip --sport 8082 -d
$local_net --dport 1024:65535 -m state --state ESTABLISHED -j ACCEPT

iptables -A INPUT -p tcp -s $local_net --sport 1024:65535 -d
$firewall_internal_ip --dport 1024:65535 -m state ESTABLISHED,RELATED

.....

from the client i do the following

ftp ip_firewall 8082
login to a ftp server like redhat or so
do "ls"
then the kernel rejects the third rule written upper.

if i change the rule from RELATED to NEW, the it's working, but this
is not a solution.

Thanks for help!

- Thomas





[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