server ignores detected ip for passive mode
|Reported by:||sebcsaba||Owned by:|
|Keywords:||passive mode ip resolving||Cc:|
|Component version:||Operating system type:||Windows|
|Operating system version:||xp sp3|
I have the following setting:
<Item name="Custom PASV IP type" type="numeric">2</Item> <Item name="Custom PASV IP server" type="string">http://sebcsaba.clusterone.hu/what_is_my_ip.php</Item>
And I'm behind a nat router. When connecting to the server from the internet, I got my local IP:
ftp> passive Passive mode on. ftp> ls 227 Entering Passive Mode (192,168,1,18,86,206)
The same from the server interface:
> PASV > 227 Entering Passive Mode (192,168,1,18,86,206)
And of course, it can't connect.
When setting IP type to 1 and hardcode my current IP, it works. (So my router doesn't change the content of the communication.) I tried more websites, but in all case the result was the same.
As I see, the server simply ignores the IP got from the website.
(Server version: 0.9.40 beta)