[Twisted-Python] Twisted FTP server fails on PASV

Stephen Thorne stephen at thorne.id.au
Thu Sep 17 20:30:03 EDT 2009

On 2009-09-17, Slava Yanson wrote:
> Here is part of ipconfig file:
> -A RH-Firewall-1-INPUT -m tcp -p tcp --dport 65000:65200 -j ACCEPT
> -A RH-Firewall-1-INPUT -m udp -p udp --dport 65000:65200 -j ACCEPT
> And I just tried setting passivePortRange to that range and it still didn't
> work. netstat showed that port listening and it still didn't work even
> though vsftpd on same machine works fine with those ports. Just checked and
> I can login from same machine so it is firewall issue... Anyone has any
> ideas on how to fix that?

Yes, the best thing to do is to add a -j LOG rule to your firewall and
then look at /var/log/kernel in order to see what packets are being

I would combine that approach with tcpdump to see what you can do to
resolve this.

Stephen Thorne
Development Engineer
NetBox Blue - 1300 737 060

More information about the Twisted-Python mailing list