Dax Kelson writes:
>
>Is there any way to avoid the following in my squid.conf file?
>
>local_ip 128.110.0.0/16 128.187.0.0/16 129.123.0.0/16 134.250.0.0/16
>137.190.0.0/16 137.241.0.0/16 144.35.0.0/16 144.38.0.0/16 144.39.0.0/16
>146.86.0.0/16 155.99.0.0/16 155.100.0.0/16 155.101.0.0/16 158.91.0.0/16
>159.212.0.0/16 160.7.0.0/16 161.28.0.0/16 161.119.0.0/16 163.6.0.0/16
>163.248.0.0/16 166.70.0.0/16 168.177.0.0/16 168.178.0.0/16 168.179.0.0/16
Some of these you can combine into ranges:
168.177.0.0/16 168.178.0.0/16 168.179.0.0/16
could be:
168.177.0.0-168.179.0.0/16
Also, you could use the 'minimum_direct_hops' feature. Your
cache would send ICMP pings to origin servers. If the IP hop
count is less than whatever you specifiy (say 5) then Squid will
go direct. There may be some which "slip through", especially
as the ICMP database warms up, but it would be fewer lines in your
config.
See http://squid.nlanr.net/Squid/FAQ/FAQ-7.html#ss7.6
Duane W.
Received on Wed Feb 18 1998 - 12:33:52 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:38:55 MST