Message51894
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.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:56:36 | admin | link | issue1661754 messages |
2007-08-23 15:56:36 | admin | create | |
|