URN Logo
UNIX Resources » Linux » Linux Forum » Linux Squid Proxy Server » Page.2 » Squid Ftp Error
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Squid Ftp Error
Subject: Squid Ftp Error
Author: hsiang    Posted: 2006-01-13 04:26:35    Length: 782 byte(s)
[Original] [Print] [Top]
I am currently running Squid 2.5Stable11 on FreeBSD.
 
it is working fine for http browsing. however error occur when downloading file from website. Error Message as below:
 
While trying to retrieve the URL: ftp://203.126.164.142/driver/DWL-120+%20W...%203.0.34.1.zip

The following error was encountered:

Read Error
The system returned:

    (54) Connection reset by peer
An error condition occurred while reading data from the network. Please retry your request.

I had configure following line in squid.conf but failed.
acl FTP proto FTP
http_access allow FTP

 
[Original] [Print] [Top]
Subject: Squid Ftp Error
Author: hardeep    Posted: 2006-01-16 04:26:35    Length: 84 byte(s)
[Original] [Print] [Top]
Hi,
Hsiang

Can u post your squid.conf file here,

Hardeep
[Original] [Print] [Top]
Subject: Squid Ftp Error
Author: hsiang    Posted: 2006-01-17 03:56:50    Length: 2,020 byte(s)
[Original] [Print] [Top]
http_port 3128

ftp_passive off

acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 10000 # webmin
acl CONNECT method CONNECT
acl FTP proto FTP
#acl Internal_0 src 192.168.0.0/255.255.255.0

#Recommended minimum configuration:
#
# Only allow cachemgr access from localhost
http_access allow manager localhost
http_access deny manager
http_access allow FTP
# Deny requests to unknown ports
http_access allow CONNECT !SSL_ports
# Deny CONNECT to other than SSL ports
# http_access allow Internal_0
#
# We strongly recommend the following be uncommented to protect innocent
# web applications running on the proxy server who think the only
# one who can access services on "localhost" is a local user
#http_access deny to_localhost
#
# INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS

# Example rule allowing access from your local networks. Adapt
# to list your (internal) IP networks from where browsing should
# be allowed
acl our_networks src 192.168.0.0/24
http_access allow our_networks

# And finally deny all other access to this proxy
http_access allow all



These are the portion that i did some changes. the others are all default by  squid.conf.

your assistance is highly appreciated.

 
[Original] [Print] [Top]
« Previous thread
Squid Cache Problems
Linux Squid Proxy Server
Page. 2
Next thread »
Squid Lookup For Dyndns?
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 12:08:03, cost 0.032305002212524 ms.