ftp download errors with squid proxy (centos)
hello...
i have encountered my first issue with using squid proxy, i cannot download files from FTP servers. please help..thanks much! the error looks like this: use PORT of PASV and the other is: * Read Error The system returned: (104) Connection reset by peer An error condition occurred while reading data from the network. Please retry your request. and the other is this: |
hi
did you deny port 21 on squid config file? if it is denied please allow it.
|
FTP is going to use a control and data port.
rainofkayos@animal ~ [3174] % getent services ftp ftp-data ftp 21/tcp ftp-data 20/tcp In FTP's Passive mode the client side initiates the communication to by default port 20. In which case I believe there is a statement you add to enable passive transfers via squid which is something like 'ftp_passive on'. (http://www.squid-cache.org/Doc/config/ftp_passive/). Another thing to note which I have faced in the past is what is actually resetting the connection? Is it squid resetting this connection or could it be a NAT Firewall which this communication traverses? |
All times are GMT -5. The time now is 08:08 AM. |