id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
4256,FTP DTP not binding to correct IP Address,alepra1,,"When serving FTP on a box with multiple IP address, the DTP Protocol may bind to the wrong address when handling a PORT command.

For ex., I have a server with the following addresses:
192.168.1.8 - 
192.168.1.9 - 
192.168.1.10

When a connection to the FTP server is made on address 192.168.1.9, and an active file transfer is started, the DTP connection starts from 192.168.1.8

This may end up resulting in the impossibility to setup the data connection if the server is multi-homed.

I have attached a simple patch that seems to solve the problem for me, but is quite untested.


",defect,new,normal,,ftp,,,pradu@… exarkun,,,
