FTP timeout problems

From: Andrea Mistrali <andre@dont-contact.us>
Date: Tue, 9 Feb 1999 16:35:03 +0100 (CET)

Hi to all!

This is my first mail to the mailing list, and I hope not to ask something yet
asked, but I read the FAQs over and over and I didn't find something regarding
the problem I have.

Since I have installed Squid 2.x I have problems with ftp servers, and now
that i'm using 2.2PRE2 I have big problems....

I cannot connect to any ftp server (even on my LAN). Making the debug level
for FTP higher shows me that the connection starts (and I can see it in
netstat -t output), but after a while it tells me that the connection timed
out (in cache.log, in the browser it tells me that there are problems
contacting ftp://[no url]).

I'll attach relevant parts of my squid.conf and I'll tell you that the
computer running squid is a P133 with 128 Mb ram and 2Gb disk for the cache.

Linux 2.0.36 is my OS.

Plz, help

-- 
  Andrea Mistrali
  A.I.T. S.r.l.
  Genova
------------8<------------
http_port 8080
icp_port 8081
icp_query_timeout 5000
dead_peer_timeout 40 seconds
hierarchy_stoplist ad.doubleclick.net
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem  96 MB
cache_swap_low  90
cache_swap_high 95
maximum_object_size 16 MB
ipcache_size 1024
ipcache_low  90
ipcache_high 95
cache_dir /cache 2100 16 256
cache_access_log /var/log/proxies/access.log
cache_log /var/log/proxies/cache.log
emulate_httpd_log off
log_mime_hdrs off
useragent_log none
pid_filename /var/run/squid.pid
debug_options ALL,1 9,9
ftp_user Squid@Proxy.aleph.it
cache_dns_program /usr/local/squid/bin/dnsserver
dns_children 3
unlinkd_program /usr/local/squid/bin/unlinkd
pinger_program /usr/local/squid/bin/pinger
redirect_program /usr/local/squid/scripts/url-normalizer
redirect_children 3
redirect_rewrites_host_header on
refresh_pattern -i /cgi-bin/ 0 0% 30
refresh_pattern -i \.gif$ 10080 90% 43200
refresh_pattern -i \.jpg$ 10080 90% 43200
refresh_pattern -i \.mid$ 10080 90% 43200
refresh_pattern -i \.mov$ 10080 90% 43200
refresh_pattern -i \.mpg$ 4320 90% 43200
refresh_pattern -i \.qtm$ 10080 90% 43200
refresh_pattern -i \.viv$ 4320 90% 43200
refresh_pattern -i \.wav$ 10080 90% 43200
refresh_pattern -i ^ftp:// 240 50% 20160
refresh_pattern -i ^gopher:// 240 40% 20160
refresh_pattern -i ^http:// 240 40% 20160
refresh_pattern -i ^http://home\.netscape\.com.* 120 20% 4320
reference_age 1 month
quick_abort_min 100 KB
quick_abort_max 500 KB
quick_abort_pct 80
negative_ttl 2 minutes
positive_dns_ttl 6 hours
negative_dns_ttl 2 minutes
range_offset_limit -1 KB
connect_timeout 120 seconds
siteselect_timeout 12 seconds
request_timeout 90 seconds
client_lifetime 1440 minutes
half_closed_clients off
pconn_timeout 240 seconds
shutdown_lifetime 30 seconds
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl CONNECT method CONNECT
acl SSL_ports port 443 563
acl Safe_ports port 80 81 21 70 443 563 888 7070 10021 1021-5999 6011-65535
acl all src 0.0.0.0/0.0.0.0
acl ait src     xx.xx.xx.0/23
acl localhost src       127.0.0.1/32
http_access deny manager !localhost !ait
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny !localhost !ait 
icp_access deny !localhost !ait 
miss_access deny !localhost !ait
cache_mgr Squidmaster@Proxy.aleph.it
cache_effective_user whoever
cache_effective_group whichever
visible_hostname Proxy.aleph.it
announce_period 1 day
announce_host tracker.ircache.net
announce_port 3131
dns_testnames netscape.com internic.net nlanr.net microsoft.com
logfile_rotate 10
tcp_recv_bufsize 10 bytes
log_icp_queries off
minimum_direct_hops 4
cachemgr_passwd none all
store_avg_object_size 10 KB
client_db on
query_icmp on
acl local-srv dstdomain xx.i
always_direct allow local-srv
Received on Tue Feb 09 1999 - 08:58:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:44:30 MST