From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Date: Thu, 31 Jul 2003 01:48:36 +0000 Subject: [LARTC] Squid: support for setting classids based on src/user Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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/