All of lore.kernel.org
 help / color / mirror / Atom feed
* [libipq] Packet Fragmentation?
@ 2006-02-15 11:37 David Vogt
       [not found] ` <2017dff40602150626q76ecc25bme545fe65a92cee16@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: David Vogt @ 2006-02-15 11:37 UTC (permalink / raw)
  To: netfilter@lists.netfilter.org

Dear All,

I modify packets with libipq, spcifically some additional data is
added. Yet, I haven't found any documentation what happens when an ip
packet gets too big and needs to be fragmented. Does libipq take care
of this? Or do I have to split the packet manually?


David


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [libipq] Packet Fragmentation?
       [not found] ` <2017dff40602150626q76ecc25bme545fe65a92cee16@mail.gmail.com>
@ 2006-02-15 14:48   ` David Vogt
       [not found]     ` <2017dff40602150708o2dc1cdc1x966c912f19ec8318@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: David Vogt @ 2006-02-15 14:48 UTC (permalink / raw)
  To: Sivasankar Sankaran; +Cc: netfilter@lists.netfilter.org

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [libipq] Packet Fragmentation?
       [not found]         ` <2017dff40602160640l17408b1fp45fd622eb4a85f1a@mail.gmail.com>
@ 2006-02-16 14:48           ` David Vogt
  0 siblings, 0 replies; 3+ messages in thread
From: David Vogt @ 2006-02-16 14:48 UTC (permalink / raw)
  To: Sivasankar Sankaran; +Cc: netfilter@lists.netfilter.org

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
> > > >
> > >
> > >
> >
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-02-16 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.