Hi,
I'd like to make some suggestions to some of you developers
out there ...May be there issome existing code for this ?
Love to have this functionality.
Say a link in a network goes down on a multi homed network
Lets say satellite inbound and cable in/out.
If during a storm or blizard the satellite goes down then squid MUST
reconfgure it's self on the fly and request on a different address.
I work for a bandwidth provider in Australia.
There are three MAJOUR things that I personally think would
enhance SQUID !
1./ Multiple Request IP addresses configurable by URL (Domain) eg .au ,
.sg etc for shovelling bandwidth
1a./ Dynamic routing alternative for gateways ( Both would be excellent )
( This is needed for satellite / cable / multi-homed networks )
This is a suggestion of how it might look in the squid.conf file:
mh stands for multi homed
mh-address 202.13.21.1 tag=usa url=".com,.edu,.net,.org,.gov" pref=2
# note request address for all usa sites by TLD
mh-address 209.127.68.7 tag=sg
url=".com.sg,.edu.sg,.net.sg,.org.sg,.gov.sg" pref=2
mh-address 209.127.68.7 tag=au
url=".com.au,.edu.au,.net.au,.org.au,.gov.au" pref=2
# note different TLD
mh-address 202.13.21.1 tag=au src="139.0.0.0/16" pref=1
# note an IP address and / mask network or address range
mh-address 202.13.21.1 tag=nz src="202.52.163.0-203.0.0.0" pref=1
# note an IP address and address range also note the "pref=1" saying it
is MORE prefered than the URL method.
mh-dynamic-route tag=au gw=202.13.21.254
mh-dynamic-status online tag=au file=/var/spool/au-up
mh-dynamic-status offline tag=au file=/var/spool/au-down
mh-dynamic-status online tag=usa file=/var/spool/usa-up
mh-dynamic-status offline tag=usa file=/var/spool/usa-down
# Note the existance of files specified in file='xxx' informs squid that
the service in KNOW to be up
or down
mh-pref tag=au order="au,usa"
mh-pref tag=usa order="usa,au"
mh-pref tag=sg order="sg,usa"
# Note the above indicates a "Fail Over" order of preference
mh-time threashold=1000ms tag=au address=139.130.4.5
mh-time threashold=1000ms tag=sg address=139.130.4.5
mh-time threashold=1000ms tag=usa address=172.5.4.6
I guess you would have to impliment multi-threading for this type of
system.
2./ Dedicated file system with high speed indexes
ie ONE LARGE file on a partition with close packing of data would
increase storage capacity heaps !
Unix is not a really great INDEX system.
70% of files in caches are of 1Kb or smaller so appending these files
together would allocate sectors allocation units fully
Few Inodes to tie up disk space and memory etc.
3./
Some transparent proxy implimentations limit other networks especially
end user satellite netowrks using a system with a transparent proxy in
place.
It would be great the specify an EXCLUDE IP-ADDRESS range for this
purpose
so that squid ignores these requests from these addresses and forwards
the requests
from the originonal IP address. It may then choose to request same
information it's self or not and
cache it.
OR it may forward request to another proxy which is routed over satellite
back to the client.
ie
transparent-exclude "198.68.0.0/24" cache
transparent-exclude "196.0.2.0/25" no-cache
transparent-exclude "196.0.2.0/25" no-cache forward=207.61.209.5:3128
Regards,
Garret Krampe
---------------------------------
PARADOX DIGITAL
----------------------------------
+618 9201 9201 BH
Internet Bandwidth
Received on Tue Jul 29 2003 - 13:15:55 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:02 MST