Packet Fragmentation?
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
A message that is not in the archive (sent off-list or not yet received): [email protected]
2006/2/15, Sivasankar Sankaran <[email protected]>:
Quoted 7 lines
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 theip_queuemodule.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
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
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 <[email protected]>:
Quoted 72 lines
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 ofip_queuemodule...so please provide an sample code to retrieve the values in user space..Thanks in advance....
Quoted 3 lines · David Vogt
Hi,
how did you retrieve the packets from kernel before you decided to use
libipq?
Quoted 8 lines
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 <[email protected]>:
Quoted 2 lines
Dear David,
We are implementing a protocol scrubber....we haveinstalled a
Quoted 1 line
Quoted 1 line
new kernal 2.6.10 and we have compiled it to insert new module....our
aim is
Quoted 2 lines
Quoted 2 lines
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
Quoted 1 line
Quoted 1 line
not able to insert our data into the packet in kernal level..so we
thought
Quoted 2 lines
Quoted 2 lines
to use libpiq API using
ip_queuemodule.. which will retrieve the packet from the queue using netfilter...but we are capturing the packet inkernal
Quoted 1 line
Quoted 1 line
level but libipq is not compatible to our kernal...this is our
problem...so
Quoted 7 lines
Quoted 7 lines
please help us to retrieve the packet in user level...
Thanks in advance....
On 2/15/06, David Vogt <[email protected]> wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 4 lines
2006/2/15, Sivasankar Sankaran < [email protected] >:
Quoted 3 lines
Dear David,
Hai...We have also used the same scenario,but we have
captured
Quoted 1 line
Quoted 1 line
the packet in kernal level.we are not able to push it to the user
level...we
Quoted 1 line
Quoted 1 line
have used the
ip_queuemodule.We are working in 2.6.10 kernal...wehave
Quoted 2 lines
Quoted 2 lines
to
Quoted 1 line
Quoted 1 line
modify the packet in user level or at kernal level.So please help us
to
Quoted 14 lines
Quoted 13 lines
Quoted 11 lines
Quoted 1 line
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