From: jamal <hadi@cyberus.ca>
To: Adam Katz <adamkatz0@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: libpcap and tc filters
Date: Mon, 04 Jul 2011 10:06:56 -0400 [thread overview]
Message-ID: <1309788416.26180.63.camel@mojatatu> (raw)
In-Reply-To: <CAA0qwj4=bOU3LDsRk591AtBWx2c_6uFwk0M4-AGrnxCPKjbbrw@mail.gmail.com>
On Mon, 2011-07-04 at 16:24 +0300, Adam Katz wrote:
> ok, I checked now and the packets sent by tcpreplay are identical to
> the ones captured originally by wireshark.
Ok - thanks for removing that variable.
> I'm using the stock ubuntu 10.04 kernel that wasn't compiled with
> CONFIG_CLS_U32_PERF so sudo tc -s filter ls dev eth1 shows nothing
> useful (and i'm not sure that recompiling the entire kernel is worth
> it to tell me what I already know - that these packets missed the
> filters... but i'm willing to do it if you think that'll help).
Not necessary as long as you can tell where the packets end up.
> Anyway, I suspect the problem to be something else - I suspect that
> the packets sent using tcpreplay simply skip the filters in the kernel
> and are being injected somewhere afterwards. But this theory is
> problematic since I find it strange that the packets do end up in the
> default queue after all - hence they ARE seen by tc and they don't
> skip tc entirely.
I am not sure off top of my head why that would happen. I will try later
to install tcpreplay and reproduce your test.
cheers,
jamal
next prev parent reply other threads:[~2011-07-04 14:07 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-04 7:38 libpcap and tc filters Adam Katz
2011-07-04 10:20 ` Eric Dumazet
2011-07-04 11:11 ` jamal
2011-07-04 12:01 ` Adam Katz
2011-07-04 12:37 ` Adam Katz
2011-07-04 13:05 ` jamal
2011-07-04 13:24 ` Adam Katz
2011-07-04 14:06 ` jamal [this message]
2011-07-04 14:16 ` Adam Katz
2011-07-05 10:56 ` jamal
2011-07-05 12:47 ` jamal
2011-07-05 13:07 ` Adam Katz
2011-07-05 13:56 ` jamal
2011-07-05 14:21 ` Adam Katz
2011-07-05 14:41 ` jamal
2011-07-05 15:16 ` Adam Katz
2011-07-05 16:14 ` Eric Dumazet
2011-07-05 16:54 ` Adam Katz
2011-07-05 19:19 ` jamal
2011-07-05 20:07 ` Adam Katz
[not found] <CAA0qwj5Ktxi=v3XDAdTpKS_pWa+HjFL5XcN2qsK5m57JJ5G2Bg@mail.gmail.com>
2011-07-03 12:49 ` Adam Katz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309788416.26180.63.camel@mojatatu \
--to=hadi@cyberus.ca \
--cc=adamkatz0@gmail.com \
--cc=jhs@mojatatu.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.