* [LARTC] Squid: support for setting classids based on src/user
@ 2003-07-31 1:48 Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2003-07-31 1:48 UTC (permalink / raw)
To: lartc
I just hacked a patch for squid 2.5-stable3 for setting classids for
connections based on the requesting src/user. The classids are set using
the SO_PRIORITY socket option (skb->priority field). Classification based
on this field needs support from the qdisc but iirc all classful qdiscs
support this.
Example:
Place all requests from 10.0.0.0/8 in class 10:100. No filters need to
be set up.
---------
acl special_service_net src 10.0.0.0/255.255.255.0
tcp_outgoing_priority 10:100 special_service_net
---------
The patch is available at http://trash.net/~kaber
Patrick
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-07-31 1:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-31 1:48 [LARTC] Squid: support for setting classids based on src/user Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.