[squid-users] How to mark sertain objects in the cache ?

From: Delian Krustev <krustev@dont-contact.us>
Date: Wed, 12 Feb 2003 03:01:32 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it possible to mark certain objects in the cache and take some action
accordingly when serving the cached object later ?

What I actually need is the following:
I'm shaped differently for international and local (in-coutry) traffic - more
bandwidth is allocated for the local one.
My ISP delivers the international packets marked by TOS.
I'm want to shape my clients' international and local traffic differenly too -
give them more bandwith for local traffic.
I can easily do this if squid is not running - I just use the TOS my ISP
was gentle enough to set.
But when traffic goes trough squid the TOS is lost.
What I want to do is to mark the cached objects when they are written to the
cache and later when taking the objects from the cache mark the IP packets
with TOS again. Object which just pass trough squid (not cached) should also
be marked.

Any ideas how this could be achieved ?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+SZzy5C5tBx/oRq4RAluYAKCN2WIdov/8w1vnsicJ8esA0VflAwCeOmvc
bXI0ZExiEoJx4sNTw+QsLJA=
=/NOs
-----END PGP SIGNATURE-----
Received on Tue Feb 11 2003 - 18:01:22 MST

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