netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Implementation of Ebtables target similar to QUEUE
@ 2007-09-28 20:51 Abhinav Srivastava
  2007-09-28 21:14 ` Patrick McHardy
  0 siblings, 1 reply; 7+ messages in thread
From: Abhinav Srivastava @ 2007-09-28 20:51 UTC (permalink / raw)
  To: netfilter-devel


Hi there,

I have questions regarding the extension of ebtables
code to support target similar to QUEUE target. In my
project, I have a requirement of intercepting packets
inside ebtables and pass some information related to
packet to userspace tool. Ebtables code should wait to
receive reply from userspace tool and then drop or
accept packet. Since, ebtables code run in the context
of interrupt's bottom half, I cannot wait inside that
code path.

To avoid that problem, I would like to create queues
inside ebtables so that I could put that packet into
the queue and start processing the next packet. I can
have other design where I send packets to userspace
and let userspace tool handle the packets. But, I do
not want to cross the user-kernel boundary for each
packet.

I need help in order to achieve my first design:

1) Is my requirement very complex? Can it be achieved
easily?

2) What are the parts of ebtables code i should
change?

3) In case, userspace tool says accept the packet. How
I would implement the fucntionality of getting old
packets from queue and send them out of the network or
for incoming packets send to higher level protocols?

4) Is there any effective way for creating queues
inside ebtables?

I would really appreciate any help or suggestions in
this regard?

Thanks,
Abhinav



      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

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

end of thread, other threads:[~2007-10-23 23:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-28 20:51 Implementation of Ebtables target similar to QUEUE Abhinav Srivastava
2007-09-28 21:14 ` Patrick McHardy
2007-09-28 21:26   ` Abhinav Srivastava
2007-09-28 21:42     ` Patrick McHardy
2007-10-18 20:29       ` Abhinav Srivastava
2007-10-19  8:24         ` Patrick McHardy
2007-10-23 23:12           ` Abhinav Srivastava

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).