From: "Ashwini R" <ashwinir.11@gmail.com>
To: netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: Setting source routing option using netfilter
Date: Tue, 11 Dec 2007 16:35:15 -0700 [thread overview]
Message-ID: <c0549e500712111535g4d9ba530n47a346b32d3b6b84@mail.gmail.com> (raw)
Hi,
I am trying to dynamically add IP_Options to the packet header in
2.6.23 kernel to perform strict source routing. I am using Netfilter
hooks (NF_IP_LOCAL_OUT hook) to intercept the packet before it goes
out of the host. If the IP_Options are set through setsockopt() in my
application, I am able to read those options using Netfilter. However,
I am not sure how to insert new IP_Options into packets originating
from another application. Could anyone please point me to some
documentation or sample code regarding this.
Thank you,
Ashwini.
reply other threads:[~2007-12-11 23:35 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=c0549e500712111535g4d9ba530n47a346b32d3b6b84@mail.gmail.com \
--to=ashwinir.11@gmail.com \
--cc=netfilter-devel@vger.kernel.org \
--cc=netfilter@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;
as well as URLs for NNTP newsgroup(s).