libnetfilter_queue - remove packet from kernel buffer, and reinject later

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

 



Hi,
I've worked with libipq, and libnetfilter_queue, and i got to a place
where my userspace code can't get anymore packets( with the message:
netlink message: no buffer space available ) .

Now what i want to do is this:
Read a packet from the queue, copy it to my own queue/location in my
program, and re injecting the packet later on with my verdict, after i
finished.

but to my best of my understanding, until i send a verdict the packet
still takes place in the queue.
and i've read something about using NF_STOLEN and then reinject, but i
dont think that NF_STOLEN is a valid verdict.

Any ideas on how i can do what it is i wish to do? ( Clear the kernel
queue by transferring the packets to my queue ).

Kind regards
Levi Yechiel
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux