netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* libnetfilter_queue - remove packet from kernel buffer, and reinject later
@ 2010-01-19 19:25 Mistick Levi
  2010-01-19 22:54 ` Eric Leblond
  0 siblings, 1 reply; 4+ messages in thread
From: Mistick Levi @ 2010-01-19 19:25 UTC (permalink / raw)
  To: netfilter-devel@vger.kernel.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-21  7:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 19:25 libnetfilter_queue - remove packet from kernel buffer, and reinject later Mistick Levi
2010-01-19 22:54 ` Eric Leblond
2010-01-20 20:13   ` Mistick Levi
2010-01-21  7:08     ` Eric Leblond

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).