Re: Advice on user space application integration with tc

2017-05-16 Thread Cong Wang
On Mon, May 15, 2017 at 1:33 PM, Morgan Yang wrote: > I tried on both stock CentOS 7.3 and Ubuntu 16.04 and tc-skbmod was not > support (I built tc from the latest versions of iproute2). For tc-pedit, > examples from man tc-pedit such as "pedit ex munge" were not supported, but > "pedit munge offs

Re: Advice on user space application integration with tc

2017-05-16 Thread Simon Horman
On Mon, May 15, 2017 at 01:39:27PM -0700, Morgan Yang wrote: > I tried on both stock CentOS 7.3 and Ubuntu 16.04 and tc-skbmod was > not support (I built tc from the latest versions of iproute2). For > tc-pedit, examples from man tc-pedit such as "pedit ex munge" were not > supported, but "pedit mu

Re: Advice on user space application integration with tc

2017-05-15 Thread Morgan Yang
I tried on both stock CentOS 7.3 and Ubuntu 16.04 and tc-skbmod was not support (I built tc from the latest versions of iproute2). For tc-pedit, examples from man tc-pedit such as "pedit ex munge" were not supported, but "pedit munge offset" is. On Mon, May 15, 2017 at 1:14 PM, Cong Wang wrote: >

Re: Advice on user space application integration with tc

2017-05-15 Thread Cong Wang
On Thu, May 11, 2017 at 1:45 PM, Morgan Yang wrote: > Hi All: > > I want to build a solution that leverages the filtering and actions of > tc in kernel space, but have the ability to hook to a userspace > application that can additional packet processing (such as payload > masking). I'm curious w

Advice on user space application integration with tc

2017-05-11 Thread Morgan Yang
Hi All: I want to build a solution that leverages the filtering and actions of tc in kernel space, but have the ability to hook to a userspace application that can additional packet processing (such as payload masking). I'm curious what are the best ways to go about doing that? I have been lookin