Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-31-2011, 09:05 PM   #1
LQ Newbie
Registered: May 2011
Posts: 9

Rep: Reputation: Disabled
Unhappy ftp download errors with squid proxy (centos)

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:
Old 06-02-2011, 03:01 AM   #2
Registered: Jan 2010
Posts: 54

Rep: Reputation: 0

did you deny port 21 on squid config file? if it is denied please allow it.
Old 06-05-2011, 07:16 PM   #3
LQ Newbie
Registered: Apr 2011
Location: NYC
Distribution: Ubuntu, RHEL, centOS
Posts: 7

Rep: Reputation: 1
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'. ( 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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Squid Proxy in CentOS hans_bug Linux - Newbie 8 05-31-2011 09:03 PM
download error when using squid proxy newuserhd Linux - Newbie 1 05-30-2011 02:36 AM
LXer: Anonymous Proxy Using Squid 3 On CentOS 5.x LXer Syndicated Linux News 0 11-21-2008 07:30 PM
FTP through Squid Proxy sakthi.s Linux - Server 0 03-20-2007 08:52 AM
squid as ftp-Proxy saavik Linux - Networking 1 04-19-2006 03:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration