From: marty <martyleisner@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: monitoring bytes processed off network interface in user space
Date: Sat, 18 Oct 2008 10:09:57 -0700 (PDT) [thread overview]
Message-ID: <452027.60082.qm@web50611.mail.re2.yahoo.com> (raw)
I want to be able to see if user space is processing network traffic
(as opposed to raw rx/tx packets on the interface).
Is there a way to track this? (beyond modifying all the applications which
deal with the network). I need to track traffic to/from userspace to a
"specific" interface, not things like localhost.
Note, this is an embedded system talking (at times) appletalk,novell, ipv4, ipv6 and maybe other things...
Currently we have something like
while(1) {
WOL packet
timeout on no activity on rx/tx counts and then go sleep
}
Unfortunatley, rx/tx activity won't solve the problem on a busy lan with lots of broadcast packets. If our WOL filter will only wake us on (lets say) on directed TCP/UDP packets, a constant ping will prevent us from going back to sleep...
If there isn't a way to do this, it may be simple to add some counters
in the right places in the network stacks (instead of packets, it would be bytes).
marty
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
reply other threads:[~2008-10-18 17:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=452027.60082.qm@web50611.mail.re2.yahoo.com \
--to=martyleisner@yahoo.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®