All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: NF_QUEUE examples
@ 2004-04-16  8:23 Richard Bishop
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Bishop @ 2004-04-16  8:23 UTC (permalink / raw)
  To: netfilter-devel

Ulysses Almeida wrote:

> where can i find simple examples of using it?

Given that there are two parts to the ip_queue system (namely the userspace 
and kernelspace parts), I tried Googling on 'libipq example' and came up with 
quite a few userful pages.

There is an example in the man page for libipq, an online version of which I 
found at http://www.cs.princeton.edu/~nakao/libipq.htm - I used this example 
when I was playing with it a few weeks back so can confirm that it works ok.

Have a look through the list archives too - this must be a very common 
question.  A list poster back in May 2000 was advised 'In cvs, have a look at 
intercept.c in testsuite/tools and ipq_client.c in OLD/tools.' 
http://lists.netfilter.org/pipermail/netfilter/2000-May/004253.html

Hope this helps.

Regards


Richard

__________________________
Richard Bishop
Department of Computer Science
University of Exeter. UK

^ permalink raw reply	[flat|nested] 5+ messages in thread
* NF_QUEUE examples
@ 2004-04-15 16:22 Ulysses Almeida
  2004-04-15 17:25 ` Sven Schuster
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ulysses Almeida @ 2004-04-15 16:22 UTC (permalink / raw)
  To: Netfilter Devel

  I alredy googled for this topic, but couldn't find any nice text
about.

  I want to understand more about NF_QUEUE return, and possibly use
it. So, where can i find simple examples of using it? Or a text
explaining about it.

  What I understand, is: with NF_QUEUE, I can queue some packet to be
manipulated on userspace. After this, can this packet be dequeued back
to kernel space, and continue with it's journey? How can I write a
userspace code, to handle with packetd queued bu NF_QUEUE? Or I didn't
understand nothing about it?

  Thanks for any help in advance!

-- 
    .~.  Ulysses Almeida
   / V \  munky@maluco.com.br
 / (   ) \  Seja livre, use GNU/Linux! 
   ^^-^^

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

end of thread, other threads:[~2004-04-16  9:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-16  8:23 NF_QUEUE examples Richard Bishop
  -- strict thread matches above, loose matches on Subject: below --
2004-04-15 16:22 Ulysses Almeida
2004-04-15 17:25 ` Sven Schuster
2004-04-15 23:55 ` Pablo Neira
2004-04-16  9:45 ` Henrik Nordstrom

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.