Changes between Initial Version and Version 1 of Ticket #12723
- Timestamp:
- Jun 1, 2022, 12:53:22 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12723 – Description
initial v1 16 16 > Destination IP of data connection does not match peer IP of control connection. Not binding source address of data connection. 17 17 18 Having searched this message in the source code, I landeda function `CTransferSocket` :: `SetupPassiveTransfer`, and found that its `host` argument seems to be assigned in the function `CFtpRawTransferOpData` :: `ParsePasvResponse`.18 Having searched this message in the source code, I arrived at a function `CTransferSocket` :: `SetupPassiveTransfer`, and found that its `host` argument seems to be assigned in the function `CFtpRawTransferOpData` :: `ParsePasvResponse`. 19 19 20 20 Inside `ParsePasvResponse`, the condition to assign the `peerIP` from the control socket to the `host_` of the passive data connection is an ''un-routable data peer address'' as well as a ''routable control peer address''. Unfortunately, with all un-routable, internal addresses for both data and control, my scenario effectively bypasses this mechanism.