netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* packet socket can't steal packets
@ 2002-05-07 18:02 Dmitrii Tisnek
  1990-01-03 20:25 ` Carl-Johan Bostorp
  2002-05-07 18:16 ` Thomas 'Dent' Mirlacher
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitrii Tisnek @ 2002-05-07 18:02 UTC (permalink / raw)
  To: netdev

hey, I've been trying to change certain network packet mangling software
such that it would not need a kernel module, and it seems to me that,
unfortunately there's no way to make packet socket "steal" packets it
deliveres to the user mode.

The behaviour I see is it gives userland a copy and give the native
network stack a copy.

unless I missed something, perhaps there could be an ioctl/setsockopt
which would turn this behaviour into "pass packet to user mode or drop
altogether" that would never result in network stack getting a packet
directly.

I realise same functionality can be achieved through netfilter QUEUE
command, but that doesn't seem as nice.

cheers, dima

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

end of thread, other threads:[~2002-05-08 13:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 18:02 packet socket can't steal packets Dmitrii Tisnek
1990-01-03 20:25 ` Carl-Johan Bostorp
2002-05-08 13:49   ` Chris Friesen
2002-05-07 18:16 ` Thomas 'Dent' Mirlacher
2002-05-07 18:28   ` Dmitrii Tisnek
2002-05-07 18:39     ` Thomas 'Dent' Mirlacher

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