| Subject: | Re: Is there any way to mark packets filtered by UID or process name before routing? |
|---|---|
| From: | Ramin Alidousti |
| Date: | Tue, 30 Apr 2002 16:53:34 -0400 |
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 |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Weird connection problem - Netfilter?, Antony Stone |
|---|---|
| Next by Date: | Re: Weird connection problem - Netfilter?, Andrew Greenburg |
| Previous by Thread: | Is there any way to mark packets filtered by UID or process name before routing?, countersync |
| Next by Thread: | I need to allow all out going and incoming packets for winmx., Danny L. Brow, Jr. |
| Indexes: | [Date] [Thread] [Top] [All Lists] |