Re: [libipq] Packet Fragmentation?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>:
> 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@xxxxxxxxxxxx> 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@xxxxxxxxx>:
> > > 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@xxxxxxxxxxxx> wrote:
> > > > 2006/2/15, Sivasankar Sankaran < sivasankar.s4u@xxxxxxxxx >:
> > > > > 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
> > > >
> > >
> > >
> >
>
>



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux