A packet filter using libipq which uses ether type field to capture the packet
Hello!!
This is my first post in this forum and I hope to get a reply as it is important and I m stuck. I have to make a packet filter which captures PPPoE packet into a queue or buffer , read the packet content from the buffer and then do some manipulations in the packet content and then again send out the packet from the same interface. I cant use libpcap as it just takes a copy of the incoming packets and has no control over the packets coming and going. I was trying with libipq but then this I believe is for IP packets. I can capture the packet based on the MAC address with this libipq but I am not very sure whether it removes the ethernet header while queing. Can you suggest me a pointer to start from here. :scratch: |
I am waiting for reply.....can anybody help...plz
|
Is this too easy...
can anyone respond on this.. |
All times are GMT -5. The time now is 12:42 AM. |