Hi:
I set up a ftp proxy with squid-3.1.4
but there is a promble I can't figure out why .
when I first connect to a ftp server , it works fine , but if I disconnected and reconnect immediately , it hang up , then timeout....
sorry for my poor english , anyone knows why?
my squid.conf:
acl all src all
acl manager proto cache_object
acl FTP proto FTP
acl localhost src 127.0.0.1/32
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32
acl localnet src 10.0.0.0/8 # RFC1918 possible internal network
acl localnet src 172.16.0.0/12 # RFC1918 possible internal network
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
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 CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access allow FTP
http_access allow localnet
http_access deny all
icp_access allow all
http_port 8337
hierarchy_stoplist cgi-bin ?
access_log /home/huixc/local/squid/var/logs/access.log squid
debug_options ALL, 1
ftp_passive on
ftp_epsv_all on
refresh_pattern ^ftp: 0 0% 0
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
forward_timeout 4 minutes
connect_timeout 1 minute
peer_connect_timeout 30 seconds
read_timeout 5 minutes
request_timeout 1 minute
persistent_request_timeout 1 minute
client_lifetime 1 day
half_closed_clients on
pconn_timeout 10 seconds
ident_timeout 10 seconds
shutdown_lifetime 30 seconds
forwarded_for on
coredump_dir /home/huixc/local/squid/var/cache
useragent_log /home/huixc/local/squid/var/logs/useragent.log
cache_mem 0
no_cache deny FTP
hosts_file /etc/hosts
Received on Wed Jul 07 2010 - 11:02:01 MDT
This archive was generated by hypermail 2.2.0 : Thu Jul 08 2010 - 12:00:03 MDT