[Patches] [ python-Patches-1661754 ] ftplib passive ftp problem on multihomed clients

SourceForge.net noreply at sourceforge.net
Fri Feb 16 20:36:59 CET 2007


Patches item #1661754, was opened at 2007-02-16 14:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1661754&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tim Baum (timbaum)
Assigned to: Nobody/Anonymous (nobody)
Summary: ftplib passive ftp problem on multihomed clients

Initial Comment:
When using passive FTP on a multihomed client, data connections should originate from the same address as the control connection.  Otherwise, the connection can be blocked by stateful firewalls or rejected by the ftp server.  The ftplib.py library allows the OS to choose the local address for each passive data connection, so connections fail intermittently if the operating system selects a different local address than used for the initial connection.

The attached patch binds the passive-mode data connection to the same local address as the control connection.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1661754&group_id=5470


More information about the Patches mailing list