Re: [squid-users] using TOS values

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 16 Mar 2010 17:30:15 +1300

Evelio Vila wrote:
> hi all,
>
> here is a situation in which I could use some help.
> I have a postgresql table with user logins associated with TOS values
> e.g: john --> 0x04, vila--> 0x08, etc.
>
> I would like to use tcp_outgoing_tos option to mark http requests
> accordingly.
>
> For a while now I've been using something like
>
> acl users1 proxy_auth "/etc/squid/qos/high_users"
> tcp_outgoing_tos 0x10 users1
>
> without problems, but we want to use a database.
>
> I found this,
> http://osdir.com/ml/web.squid.general/2003-03/msg01273.html
> and maybe with some sort of combination between http_access and
> proxy_auth this can be achieved. any clues?
>

Most of the clues are in that earlier mail.
The other clue is this:
  http://www.squid-cache.org/Doc/config/external_acl_type/

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE8 or 3.0.STABLE25
   Current Beta Squid 3.1.0.18
Received on Tue Mar 16 2010 - 04:30:35 MDT

This archive was generated by hypermail 2.2.0 : Tue Mar 16 2010 - 12:00:03 MDT