* Classifying ingress traffic via cgroup filters
@ 2013-05-07 9:40 Pieter Ennes
2013-09-01 5:54 ` Justin Israel
0 siblings, 1 reply; 2+ messages in thread
From: Pieter Ennes @ 2013-05-07 9:40 UTC (permalink / raw)
To: netfilter
Hello,
I'm researching (=breaking my head to find) ways to classify ingress
traffic to a cgroup. Is this possible?
Details:
With something like the following I can easily filter egress:
$ echo 0x00010010 >net_cls.classid
$ tc filter add dev $iface protocol ip parent 1:0 prio 1 handle 1 cgroup
But I'm very much in the dark about my options to correctly
filter/classify ingress with a clever combination of connmarks, fwmarks,
cgroups and/or ifb interfaces (imq is not an option in this case).
Though it seems that some of this field is still very much in flux, I'm
trying to come up with a solution that will work on Debian Wheezy's 3.2
kernel.
Any help or pointers in the right direction are much appreciated.
Best,
--
- Pieter
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Classifying ingress traffic via cgroup filters
2013-05-07 9:40 Classifying ingress traffic via cgroup filters Pieter Ennes
@ 2013-09-01 5:54 ` Justin Israel
0 siblings, 0 replies; 2+ messages in thread
From: Justin Israel @ 2013-09-01 5:54 UTC (permalink / raw)
To: netfilter
Pieter Ennes <pieter <at> ennes.nl> writes:
>
> Hello,
>
> I'm researching (=breaking my head to find) ways to classify ingress
> traffic to a cgroup. Is this possible?
>
> Details:
>
> With something like the following I can easily filter egress:
>
> $ echo 0x00010010 >net_cls.classid
> $ tc filter add dev $iface protocol ip parent 1:0 prio 1 handle 1 cgroup
>
> But I'm very much in the dark about my options to correctly
> filter/classify ingress with a clever combination of connmarks, fwmarks,
> cgroups and/or ifb interfaces (imq is not an option in this case).
>
> Though it seems that some of this field is still very much in flux, I'm
> trying to come up with a solution that will work on Debian Wheezy's 3.2
> kernel.
>
> Any help or pointers in the right direction are much appreciated.
>
> Best,
I want to bump this question, because I too am looking for the answer to this.
I've been trying to apply information from this post:
http://serverfault.com/questions/350023/tc-ingress-policing-and-ifb-mirroring
So far I see the traffic being registered in the ifb0 interface, but it seems to
be for the system, regardless of the cgroup.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-01 5:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-07 9:40 Classifying ingress traffic via cgroup filters Pieter Ennes
2013-09-01 5:54 ` Justin Israel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox