Firewall blocks FTP PASV response
Posted
by
harper
on Super User
See other posts from Super User
or by harper
Published on 2010-12-21T07:05:06Z
Indexed on
2012/10/15
9:41 UTC
Read the original article
Hit count: 200
I have an FTP server that supports passive server mode (using PASV command). This works fine with Windows XP. When I want to access this server from Windows Vista or Windows 7 with firewall enabled I experience an immediate connection shutdown. A reset packet is sent to the server, and the socket is signaled that the server has reset the connection (which is not true).
The problem disappears when the firewall is disabled.
Connections to other FTP servers work correctly. The difference is that the server's response to PASV does not enclose the address field with parentheses. This is legal as documented in RFC-959 and RFC-1132.
How can I configure the firewall to stop this bad behavior?
© Super User or respective owner