I've got a strange situation. Hope someone can help. I've got two independent IIS FTP servers.
- a) IIS 7.5 runs as standalone VM
- b) IIS 8.5 runs on Azure VM (windows server 2012 R2)
When I connect to these ftp servers using FileZilla, both work as expected, really well. Passive mode, no problem.
When one of my customer's linux client is connecting, it works great on the IIS 7.5, but it does not work on the IIS 8.5
It stops after the PASV command with a timeout. The linux client is running some app on fedora which has FTP incorporated in it.
For authentication i'm using IIS Manager Users.
Does anyone have an idea of what this could be? Or how to troubleshoot this?? I can test, and see everything working, except when the clients processes are entering the scene!
After hours of trying stuff ... i turned off the windows firewall entirely on the IIS 8.5, and added some allow 'all ports' to the Azure firewall ... but no help. To me it seems like something in Azure or in the new version of IIS FTP 8.5...could that be?
After installing Wireshark on the IIS 8.5 srvr, i got this:
230 User logged in.
USER someuser
PASS somepassword
TYPE A
200 Type set to A.
PASV
227 Entering Passive Mode (xxx,166,145,222,20,18).
ABOR
226 ABOR command successful.
Packets:
297 15.067087 ###.41.121.116 10.0.0.4 FTP 72 Request: PASV
298 15.067223 10.0.0.4 ###.41.121.116 FTP 117 Response: 227 Entering Passive Mode (XXX,166,145,222,20,18).
300 15.083895 ###.41.121.116 10.0.0.4 TCP 66 39240 → 21 [ACK] Seq=46 Ack=143 Win=5888 Len=0 TSval=1985344095 TSecr=659594
370 19.338991 10.0.0.4 ###.41.121.116 TCP 86 [TCP Retransmission] 21 → 58522 [PSH, ACK] Seq=72 Ack=40 Win=131072 Len=20 TSval=660021 TSecr=1985339032
431 23.746259 ###.41.121.116 10.0.0.4 FTP 72 Request: ABOR
432 23.746366 10.0.0.4 ###.41.121.116 FTP 96 Response: 226 ABOR command successful.
433 23.762471 ###.41.121.116 10.0.0.4 TCP 66 45877 → 21 [ACK] Seq=7 Ack=31 Win=46 Len=0 TSval=1985352774 TSecr=660462
packages 299, 301-369, 371-430 belong to other processes (RDP mostly)