Problem: FTP client hangs after issueing PWD command. We are behind a firewall and the Zope server is behind a firewall I have access to ours but the people who are hosting the server are not very cooperative :-( Searching the message list I find this is due to a NAT problem For testing purposes I allowed every incoming port from the external server to go trough every port here wich I'm not very happy with. Still the ftp connection hangs. Does the Zope FTP server uses other ports then the initialy set 8021 port to communicate? The ftp client is set to passive mode. Running Zope 2.5.1 on RedHat 7.0 with Apache 1.312 Every tip would be very much appreciated TIA Roel
FTP uses two communication channels. this is a basic part of the FTP protocol. the first channel is for commands and the second for data. there is probably a lot of resources on the web that can explain how a FTP server handles these two connections and how the behavior changes if the client sets passive mode. jens On Friday, April 26, 2002, at 05:48 , Roel Van den Bergh wrote:
Problem: FTP client hangs after issueing PWD command.
We are behind a firewall and the Zope server is behind a firewall I have access to ours but the people who are hosting the server are not very cooperative :-(
Searching the message list I find this is due to a NAT problem
For testing purposes I allowed every incoming port from the external server to go trough every port here wich I'm not very happy with. Still the ftp connection hangs.
Does the Zope FTP server uses other ports then the initialy set 8021 port to communicate?
The ftp client is set to passive mode. Running Zope 2.5.1 on RedHat 7.0 with Apache 1.312
Every tip would be very much appreciated
TIA Roel
On Fri, Apr 26, 2002 at 11:48:48AM +0200, Roel Van den Bergh wrote: | Problem: FTP client hangs after issueing PWD command. | | We are behind a firewall and the Zope server is behind a firewall | I have access to ours but the people who are hosting the server are not very | cooperative :-( | | | Searching the message list I find this is due to a NAT problem | | For testing purposes I allowed every incoming port from the external server | to go trough every port here wich I'm not very happy with. | Still the ftp connection hangs. | | Does the Zope FTP server uses other ports then the initialy set 8021 port to | communicate? Yes. Every FTP connection uses two ports. | The ftp client is set to passive mode. Set it to active mode (this will work because you opened your whole firewall). In passive mode the client must be able to open the second connection to the server. In active ("normal") mode the server opens the connection to the client. This is why at least one of the systems must not be behind a firewall. | Running Zope 2.5.1 on RedHat 7.0 with Apache 1.312 | | Every tip would be very much appreciated Can you use HTTP or WebDAV? They don't require that nasty second port. -D -- How great is the love the Father has lavished on us, that we should be called children of God! 1 John 3:1 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
participants (3)
-
dman -
Jens Vagelpohl -
Roel Van den Bergh