Re: Peer_Select by hops

From: Henrik Nordstrom <>
Date: Tue, 26 Oct 1999 00:17:21 +0200

Think so. minimum_direct_hops does something similar. It makes Squid go
direct if the site is less than N hops away.

The netdb area of the code isn't really my area so I won't be of much
help there.

Henrik Nordstrom
Squid hacker
Andriy Kopystyansky wrote:
> Hi Henrik,
> this is the second such message in squid-users, sorry, but I really need
> to know. The subj described below. Please, tell me, is there any
> development on the subj at this time, in near future, or should I do some
> hack by myself?
> Sincerelly, Anri.
> Subject:
> is it possible in some way to select peer Not by icmp-RTT(icmp-query on),
> but by Hops: e.g:  If(Hops > 5)return "UDP_MISS_NOFETCH"   ?
> Here is some explanation of my problem:
> I have machine with 2 network interfaces. The routing is different for
> each interface. So, I have Squid-1 on 1 interface and use _Satellite_ link
> with 256K, and Squid-2 (parent for Squid-1) on the 2 interface _Ground_
> link with 64K. Whereas it is _ground_ link, RTT in most cases is faster,
> then in _Satellite_ link. But using this _ground_ link is suitable ONLY in
> cases when hops <= 5, otherwise  _Satellite_ link is preferred without
> paying attention to RTT.
> Anri Kopystyansky
> Webmaster at PolyNet
Received on Mon Oct 25 1999 - 16:37:56 MDT

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