[issue1661754] ftplib passive ftp problem on multihomed clients

Giampaolo Rodola' report at bugs.python.org
Thu Mar 3 23:12:35 CET 2011


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

Patch in attachment updates the previous one which no longer applies cleanly in py 3.3.
The control connection address is used for *both* passive (PASV) and active (PORT) connections, which is the same approach I used in pyftpdlib.

Removed test_source_address_passive_connection test because we do not want that the same (host, port) is used for both control and data connections.

I think it makes sense to port this patch in previous python versions as well.

----------
nosy: +exarkun, pitrou
stage: test needed -> patch review
versions: +Python 3.3
Added file: http://bugs.python.org/file20990/ftplib.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1661754>
_______________________________________


More information about the Python-bugs-list mailing list