From: David Vogt <mail@davidvogt.de>
To: Sivasankar Sankaran <sivasankar.s4u@gmail.com>
Cc: "netfilter@lists.netfilter.org" <netfilter@lists.netfilter.org>
Subject: Re: [libipq] Packet Fragmentation?
Date: Thu, 16 Feb 2006 15:48:09 +0100 [thread overview]
Message-ID: <859616420602160648k351cf29dp@mail.gmail.com> (raw)
In-Reply-To: <2017dff40602160640l17408b1fp45fd622eb4a85f1a@mail.gmail.com>
Take a look at the manual page of libipq
(http://www.cs.princeton.edu/~nakao/libipq.htm) you can find an
example there.
David
2006/2/16, Sivasankar Sankaran <sivasankar.s4u@gmail.com>:
> Dear David,
> As we told that we use the netfillter hook function in
> kernal space.But we are not able to retrieve the values...so we decided to
> use libipq...we do not know the complete working of ip_queue module...so
> please provide an sample code to retrieve the values in user space..
>
> Thanks in advance....
>
>
>
>
> On 2/16/06, David Vogt <mail@davidvogt.de> wrote:
> > Hi,
> >
> > how did you retrieve the packets from kernel before you decided to use
> libipq?
> > Or is your problem that the ip queing does not work anymore since you
> > use the new kernel 2.6.10 ???
> >
> > David
> >
> > 2006/2/15, Sivasankar Sankaran <sivasankar.s4u@gmail.com>:
> > > Dear David,
> > > We are implementing a protocol scrubber....we have
> installed a
> > > new kernal 2.6.10 and we have compiled it to insert new module....our
> aim is
> > > to capture the packet and we want to retrieve the values of the received
> > > packet but we have done the capturing using netfilter hook function...we
> are
> > > not able to insert our data into the packet in kernal level..so we
> thought
> > > to use libpiq API using ip_queue module.. which will retrieve the packet
> > > from the queue using netfilter...but we are capturing the packet in
> kernal
> > > level but libipq is not compatible to our kernal...this is our
> problem...so
> > > please help us to retrieve the packet in user level...
> > >
> > > Thanks in advance....
> > >
> > >
> > >
> > > On 2/15/06, David Vogt <mail@davidvogt.de> wrote:
> > > > 2006/2/15, Sivasankar Sankaran < sivasankar.s4u@gmail.com >:
> > > > > Dear David,
> > > > >
> > > > > Hai...We have also used the same scenario,but we have
> > > captured
> > > > > the packet in kernal level.we are not able to push it to the user
> > > level...we
> > > > > have used the ip_queue module.We are working in 2.6.10 kernal...we
> have
> > > to
> > > > > modify the packet in user level or at kernal level.So please help us
> to
> > > > > retreive the values in user level..
> > > >
> > > > I don't really know exactly what your problem is, maybe you can
> > > > specify it a little bit more?
> > > >
> > > > So long, I suggest reading the manpage of libipq. There is an example
> > > > application that serves as a good starting point (as far as I am
> > > > concerned)
> > > >
> > > > David
> > > >
> > >
> > >
> >
>
>
prev parent reply other threads:[~2006-02-16 14:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 11:37 [libipq] Packet Fragmentation? David Vogt
[not found] ` <2017dff40602150626q76ecc25bme545fe65a92cee16@mail.gmail.com>
2006-02-15 14:48 ` David Vogt
[not found] ` <2017dff40602150708o2dc1cdc1x966c912f19ec8318@mail.gmail.com>
[not found] ` <859616420602160105i571967k@mail.gmail.com>
[not found] ` <2017dff40602160640l17408b1fp45fd622eb4a85f1a@mail.gmail.com>
2006-02-16 14:48 ` David Vogt [this message]
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=859616420602160648k351cf29dp@mail.gmail.com \
--to=mail@davidvogt.de \
--cc=netfilter@lists.netfilter.org \
--cc=sivasankar.s4u@gmail.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