All of lore.kernel.org
 help / color / mirror / Atom feed
* netfilter queue
@ 2009-05-31  5:56 Michael Mefford
  2009-05-31  9:38 ` Vincent Bernat
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Mefford @ 2009-05-31  5:56 UTC (permalink / raw)
  To: netfilter

I need to know how to interact with the netfilter queue.  My project 
needs to capture TCP packets from the queue, process them in userspace, 
and then re-insert them back into the firewall to forwarded on.  
However, I can't find any recent documentation that explains how to do 
this.  The most I can find is about 3 years old (and seemingly out of 
date).  Does anyone have good working knowledge that might help me 
understand this?


Michael.


^ permalink raw reply	[flat|nested] 6+ messages in thread
* netfilter queue
@ 2009-12-01  4:15 ratheesh k
  0 siblings, 0 replies; 6+ messages in thread
From: ratheesh k @ 2009-12-01  4:15 UTC (permalink / raw)
  To: netfilter

Hi all ,

               xt_time module is not handling DST . So i am writing a
userspace application to handle time based pkt filtering by queuing
pkts to userspace using  NFQUEUE target .
There are some concerns and doubts

1 ) All packets will be copied to userspace , one pkt at a time ,
based on the iptables rule . But , if i use any system call in my user
space application before reinjecting the pkt back to kernel , will it
severely dampen the network throughput ?

2)  Creating /proc entries and passing DST values to kernel and Handle
Time by xt_time module will be a better solution ?

Thanks,
Ratheesh

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Netfilter Queue
@ 2004-02-02 11:08 Andreas Hess
  2004-02-02 12:34 ` Henrik Nordstrom
  2004-02-02 15:07 ` Harald Welte
  0 siblings, 2 replies; 6+ messages in thread
From: Andreas Hess @ 2004-02-02 11:08 UTC (permalink / raw)
  To: netfilter-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have written a UDP packet processing kernel module that registers itself to 
the PREROUTING hook of the Netfilter architecture. Now, each UDP packet that 
arrives at this hook is passed  to my module. 
And this is the point!
What exactly does this mean?
As far as I understand it: there are module-specific queues, in which the 
packets are inserted?
If so, is there a possibility to influence the lengths of these queues?

I would like to realize a means to adapt the queue length respectively the 
amount of packets waiting to be processed by a module according the current 
traffic load. (high traffic load -> short queue length).

Is such a thing possible?

Thanks muchly for your time

Andreas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAHi+r68eBr8WIgcgRApAfAJ49XWvaqKUA5Grc+Xm9XufnN+NKdACgiSMd
X1aJF7qTk8PmtW5Wb/Y1t74=
=Wkb1
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2009-12-01  4:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-31  5:56 netfilter queue Michael Mefford
2009-05-31  9:38 ` Vincent Bernat
  -- strict thread matches above, loose matches on Subject: below --
2009-12-01  4:15 ratheesh k
2004-02-02 11:08 Netfilter Queue Andreas Hess
2004-02-02 12:34 ` Henrik Nordstrom
2004-02-02 15:07 ` Harald Welte

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.