From: arif <aftnix@gmail.com>
To: netfilter-devel@vger.kernel.org
Subject: Splitting network packets from target modules
Date: Thu, 15 Nov 2012 19:14:44 +0600 [thread overview]
Message-ID: <k82ps8$uh2$1@ger.gmane.org> (raw)
Hi,
I'm trying to write a target module which will do the following :
1) oldskb will be cached.
2) newskb1,newskb2....newskbn will be allocated and initialized.
3) packet will be dropped using NF_DROP
4) Newskbs will be sent to L4(target will work from PREROUTING hook)
But i'm confused how i'm going to send these new skbs to uplink.
returning NF_ACCEPT will not do the trick i guess.
Is there any existing target module which tries to do send multiple skbs
to uplink?
cheers
arif
next reply other threads:[~2012-11-15 13:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-15 13:14 arif [this message]
2012-11-15 13:49 ` Splitting network packets from target modules Torsten Luettgert
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='k82ps8$uh2$1@ger.gmane.org' \
--to=aftnix@gmail.com \
--cc=netfilter-devel@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.