[squid-users] is ACL conditional directive possible ?

AUBERT Thibaud thibaud.aubert at soprasteria.com
Tue Nov 15 17:31:55 UTC 2016


Hi Guys,

Ok, QoS might help to control traffic on the internet access side, but it won't help between the source, client on a small remote office/output, and the proxy. 

It might also be difficult to split this traffic between what is intended to internet or just internal.

Example : 1Gb/sec internet link used at 50%, a user on a remote site with a 15 mbits/sec link used at 80% launch a download. There's pretty much no impact on the internet link... but on the second, it add an extra 3mbits/sec that saturate the network.

If I add a restriction with a small value for the max size of file, I can hope that user won't bother others people on site too long. But it also mean that every people that use the internet link won't be able to download big file, even if they normally could.

I also think to use Delay Pool, but, it will penalize people that do not download big files. If anyone have some XP about individual delay pool, don't hesitate to share, because I'm not sure that it will fit my current needs.

Regards,

TAU

-----Message d'origine-----
De : squid-users [mailto:squid-users-bounces at lists.squid-cache.org] De la part de Garri Djavadyan
Envoyé : mardi 15 novembre 2016 11:36
À : squid-users at lists.squid-cache.org
Objet : Re: [squid-users] is ACL conditional directive possible ?

On Tue, 2016-11-15 at 22:48 +1300, Amos Jeffries wrote:
> Then you integrate Squid with those system QoS controls by using the 
> tcp_outgoing_tos directive with ACLs to send the appropriate TOS label 
> for the client IP.

Hi Amos,

AFAIK, the directive 'tcp_outgoing_tos' is applied only for traffic from Squid to origin servers.

The reference [1] and my quick test confirmed my expectations:

  Allows you to select a TOS/Diffserv value for packets outgoing
  on the server side, based on an ACL.


Nevertheless, the directive 'qos_flows' [2] could be used to set ToS for traffic from Squid to client.


[1] http://www.squid-cache.org/Doc/config/tcp_outgoing_tos/
[2] http://www.squid-cache.org/Doc/config/qos_flows/

Garri
_______________________________________________
squid-users mailing list
squid-users at lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


More information about the squid-users mailing list