From: <prade@cs.sunysb.edu>
To: Robert Pfister <robertp@ustri.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: RE: Trapping all Incoming Network Packets
Date: Mon, 18 Mar 2002 13:40:36 -0500 (EST) [thread overview]
Message-ID: <Pine.GSO.4.33.0203181330530.5841-100000@compserv3> (raw)
In-Reply-To: <003501c1ceaa$91678f90$1e00a8c0@nomaam>
On Mon, 18 Mar 2002, Robert Pfister wrote:
> There are ways to accomplish similar things in user space. Is there some
> reason that you need to do this in the kernel? What is your end-goal with
> this?
>
> Robb
>
To do it in user space, you have to use the raw socket interface. This
by-passes the entire TCP/IP stack. I want to sniff the packets, and make a
decision based on certain characteristics of each packet. So I need to
have a filter between the IP and link-layer. Also, I do not want the
filter to slow down traffic. Hence I believe implementing inside kernel
will be more efficient.
-- pradipta
next prev parent reply other threads:[~2002-03-18 18:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-03-17 23:57 Trapping all Incoming Network Packets prade
2002-03-18 2:09 ` Bernd Eckenfels
2002-03-18 18:27 ` Robert Pfister
2002-03-18 18:40 ` prade [this message]
2002-03-18 19:15 ` Robert Pfister
2002-03-18 19:17 ` Chris Friesen
2002-03-18 19:41 Hari Gadi
2002-03-18 21:49 ` prade
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=Pine.GSO.4.33.0203181330530.5841-100000@compserv3 \
--to=prade@cs.sunysb.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=robertp@ustri.com \
/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;
as well as URLs for NNTP newsgroup(s).