On Tue, Apr 30, 2002 at 08:37:57PM +0000, countersync wrote:

> I want to --set-mark packets filtered with the --uid-owner filter before 
> routing, so that I can filter out by UID (iptables would mark and then TC 
> would read the mark) which class under my HTB qdisc gets data.
> 
> How can I do this?  I get errors each time I try to use it.


You should be able to do something like this:

$IPT -t mangle -A OUTPUT -m owner --uid-owner 876 -j MARK --set-mark 2

You know that it should be in the mangle table, OUTPUT chain, right?

Ramin


Reply via email to