This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: FTPlib hangs on some pasv responses
Type: enhancement Stage: test needed
Components: Library (Lib) Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Byoungwoo Song, giampaolo.rodola
Priority: normal Keywords:

Created on 2016-07-11 18:41 by Byoungwoo Song, last changed 2022-04-11 14:58 by admin.

Messages (1)
msg270198 - (view) Author: Byoungwoo Song (Byoungwoo Song) Date: 2016-07-11 18:41
FTPlib hangs on PASV responses when the connected server is within its local network.
Here's my fix that checks the target address with ipaddress lib:
https://github.com/python/cpython/pull/28/files
History
Date User Action Args
2022-04-11 14:58:33adminsetgithub: 71673
2016-07-11 18:49:00SilentGhostsetnosy: + giampaolo.rodola

stage: test needed
2016-07-11 18:41:33Byoungwoo Songcreate