From: Oliver Korpilla <Oliver.Korpilla@gmx.de>
To: netfilter-devel@lists.netfilter.org, netfilter@lists.netfilter.org
Subject: Packet Injection
Date: Thu, 12 May 2005 13:55:05 +0200 [thread overview]
Message-ID: <42834419.3060302@gmx.de> (raw)
Hello!
I'm new to the list, and what I've found in the list archives regarding
packet injection is somewhat lacking in detail.
What I want to do:
I want to write a tool that sends and receives packets within the kernel
context. It's generates traffic on one interface and receives the result
of some blackbox modification to it on another interface.
So I need both packet filtering / netfilter like capabilities and packet
injection capabilities.
While the way to go for the receiving end of the application is pretty
straightforward, my question is: How to inject packets inside the kernel?
One idea was to create the packets externally, store them in kernel RAM,
and use netfilter hooks to inject them. The injection would be done by a
linux kernel module or rather by a periodic tasklet registered by that
module.
Can you comment whether this is a feasible approach?
Or could you come up with a better one, that fulfills the requirement of
being in-kernel?
Thanks and with kind regards,
Oliver Korpilla
next reply other threads:[~2005-05-12 11:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-12 11:55 Oliver Korpilla [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-01-12 17:56 source-mac filtering Ramin Dousti
2004-01-12 19:04 ` Packet injection Scott MacKay
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=42834419.3060302@gmx.de \
--to=oliver.korpilla@gmx.de \
--cc=netfilter-devel@lists.netfilter.org \
--cc=netfilter@lists.netfilter.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