From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sean Coleman" Date: Thu, 22 Nov 2007 21:15:01 +0000 Subject: [LARTC] TC filter error Message-Id: <000701c82d4c$be99bd10$3bcd3730$@com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="===============1487250598==" List-Id: To: lartc@vger.kernel.org This is a multipart message in MIME format. --===============1487250598== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01C82D22.D5C3B510" Content-Language: en-ca This is a multipart message in MIME format. ------=_NextPart_000_0008_01C82D22.D5C3B510 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit When I enter the following, tc filter add dev eth0 parent 1:0 protocol ip prio 0 u32 match ip src 192.168.0.61 flowid 1:10 Iget this response: RTNETLINK answers: Invalid argument We have an error talking to the kernel The qdiscs add fine, and show as expected, but I can't for the life of me get the filter to apply. Using Gentoo w/kernel 2.6.21.3. IPTABLES running as a basic NAT gateway. My whole goal hinges on getting the filter to work, then I might understand what the heck is going on with this stuff. I've added every marking/netfilter kernel option I can find, both as a module and native. No matter what I add or take away, I get the same error when I try to add the filter. It's probably one of those "simple" things, but I'm stumped. Please help, an additional 200 connections is crimpling us at the moment! Regards, Sean ------=_NextPart_000_0008_01C82D22.D5C3B510 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

When I enter the following,

 

tc filter add dev eth0 parent 1:0 protocol ip prio = 0 u32 match ip src 192.168.0.61 flowid 1:10

 

Iget this response:

RTNETLINK answers: Invalid argument

We have an error talking to the = kernel

 

The qdiscs add fine, and show as expected, but I = can’t for the life of me get the filter to apply.

 

Using Gentoo w/kernel 2.6.21.3. IPTABLES running as = a basic NAT gateway. My whole goal hinges on getting the filter to work, then I = might understand what the heck is going on with this stuff. I’ve added = every marking/netfilter kernel option I can find, both as a module and native. = No matter what I add or take away, I get the same error when I try to add = the filter.

 

It’s probably one of those = “simple” things, but I’m stumped. Please help, an additional 200 = connections is crimpling us at the moment!

 

Regards,

Sean

 

------=_NextPart_000_0008_01C82D22.D5C3B510-- --===============1487250598== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc --===============1487250598==--