Skip to contentSkip to conversation

how to reinject the packet to the net

DISCUSSION Fangweiwei 2 participants 2 messages Nov 25, 2003 netfilter

lore
Share & tools
lore

Fangweiwei

author
#0 lore raw

Hello everyone!
I want to use the libipq to capture the packets and then reinject it to the net.but I cann't find the function to do it? can you help me?

        Fangweiwei
        [email protected]
          2003-11-25

#1 lore raw
Quoted 2 lines · Fangweiwei

I want to use the libipq to capture the packets and then reinject it to the net.but I cann't find the function to do it? can you help me?

When you are done with the packet you call ipq_set_verdict(). Details are found in the documentation. libipq is very well documented with man pages for every function used and a good overview describing
how it all fits together when writing a libipq application, including a silly sample application.

Regards
Henrik