[squid-users] ftp-requests in round-robin fashion

From: Bellenberg, Martin <Martin.Bellenberg@dont-contact.us>
Date: Tue, 17 Jul 2001 09:33:56 +0200

Hi,
at our site we must distinguish between intra- and internet proxies. Furthermore we connect to two different isp's. So we run 2.4stable1 in round-robin fashion like this (no icmp query):
cache_peer ip_proxy_server_1 parent 8080 3130 round-robin no-query # Internet_SP_proxy-1
cache_peer ip_proxy_server_2 parent 8080 3130 round-robin no-query # Internet_SP_proxy-2
cache_peer ip_proxy_server_3 parent 80 3130 no-query # Intranet_proxy

and define which proxy to use (intra- vs. internet) by pairs of rules like this:
cache_peer_domain ip_proxy_server_1 !.intranet_domain_1.de !...
cache_peer_domain ip_proxy_server_2 !.intranet_domain_1.de !...

As a result http-requests for .intranet_domain_1.de are 'routed' to ip_proxy_server_3 only, which is perfect.

Trouble comes with internet ftp-requests (example: ftp://ftp.some_internet_server.com), which are answered sometimes by ip_proxy_server_3, which should not.

Also in logfile access.log ftp-access is logged sometimes as "ROUNDROBIN_PARENT/ip_proxy_server_1" sometimes as "ANY_PARENT/ip_proxy_server_1".

In Squid Version 2.3stable3 we had none of these trouble while running same configuration. Any ideas?

Best greetings
Martin Bellenberg
Received on Tue Jul 17 2001 - 01:35:31 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:09 MST