[squid-users] FTP access problem

From: Paolo Biancolli <PAOLO.BIANCOLLI@dont-contact.us>
Date: Wed, 10 May 2006 11:24:44 +0200

Hi all,

When trying access ftp sites through one of my squid boxes (squid 2.5
stable 5 on redhat 9), the connection times out. If I try to connect
directly, all works fine. I have not made any recent changes to the
squid.conf file and cannot understand why it has stopped working. I can
ftp from the problem server to any destination.

I have copied the squid.conf file a test server and ftp works fine on
that box (the test server is 2.5 stable 13).

I set the debug mode to 9 and have included a section of cache.log. The
process seems to go no further than "ftpStart:"

2006/05/10 10:42:03| parseHttpRequest: URI is
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
Host: ftp.hp.com:21
Host: ftp.hp.com:21
Host: ftp.hp.com:21
2006/05/10 10:42:03| creating entry 0x8c796a0: near 'Host:
ftp.hp.com:21'
2006/05/10 10:42:03| created entry 0x8c796a0: 'Host: ftp.hp.com:21'
2006/05/10 10:42:03| aclMatchRegex: checking
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| aclMatchRegex: checking
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| aclMatchRegex: checking
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| ipcache_gethostbyname: 'ftp.hp.com', flags=1
2006/05/10 10:42:03| aclMatchRegex: checking
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| The request GET
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe is ALLOWED,
because it matched 'non-restricted-users'
2006/05/10 10:42:03| clientRedirectStart:
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| clientRedirectDone:
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe' result=NULL
2006/05/10 10:42:03| clientProcessRequest: GET
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| clientProcessRequest: TCP_MISS for
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| clientProcessMiss: 'GET
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| storeCreateEntry:
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| storeKeyPrivate: GET
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| fwdStart:
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:03| peerSelect:
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| peerSelectFoo: 'GET ftp.hp.com'
2006/05/10 10:42:03| peerSelectIcpPing:
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| peerGetSomeParent: GET ftp.hp.com
2006/05/10 10:42:03| peerSelectCallback:
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| fwdStartComplete:
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| fwdConnectStart:
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| fd_open FD 201
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe
2006/05/10 10:42:03| commConnectStart: FD 201, ftp.hp.com:21
2006/05/10 10:42:03| ipcache_nbgethostbyname: Name 'ftp.hp.com'.
2006/05/10 10:42:03| ipcache_nbgethostbyname: HIT for 'ftp.hp.com'
2006/05/10 10:42:03| ipcacheCycleAddr: ftp.hp.com now at 192.6.234.9
2006/05/10 10:42:04| fwdConnectDone: FD 201:
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:04| fwdDispatch: FD 149: Fetching 'GET
ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:04| ftpStart:
'ftp://ftp.hp.com/pub/printers/software/845-enu-xpinfu.exe'
2006/05/10 10:42:04| ftpStart: host=ftp.hp.com,
path=/pub/printers/software/845-enu-xpinfu.exe, user=anonymous,
passwd=Squid@proxy.wits.ac.za

Regards
Paolo Biancolli
Received on Wed May 10 2006 - 03:25:19 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT