I am running ProFTPD Version 1.3.3c in active ftp mode and have the following firewall rules.
But whenever, I do directory listing, it is too slow. It takes time, but directory and files get listed.
As soon as I flush iptables rule, then it is fast. What I am missing in this rule ?
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
DROP all -- 0.0.0.0/0 0.0.0.0/0
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination