* multiple readers for stack-processed net traffic
@ 2003-07-26 18:51 VaX#n8
2003-07-26 20:01 ` bert hubert
0 siblings, 1 reply; 2+ messages in thread
From: VaX#n8 @ 2003-07-26 18:51 UTC (permalink / raw)
To: linux-kernel
Hi, I'd like to be able to create a second "tap" for application data that
presents data exactly as the application sees it, and in such a way that
guarantees that both applications read the data before it is freed or
acknowledged. I have skimmed the Coriolis book on the 2.0 IP stacks (yes,
I know it's old), and it seems like the most direct way to do this is to
alter tcp_recvmsg and udp_rcv, probably using an LKM. I have not given
much thought yet about how this second application will indicate that it
wants to snoop on given sockets, though. I was wondering if any of you
kernel gurus have any suggestions on how to accomplish the above goals.
Thanks,
VaX#n8
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: multiple readers for stack-processed net traffic
2003-07-26 18:51 multiple readers for stack-processed net traffic VaX#n8
@ 2003-07-26 20:01 ` bert hubert
0 siblings, 0 replies; 2+ messages in thread
From: bert hubert @ 2003-07-26 20:01 UTC (permalink / raw)
To: VaX#n8; +Cc: linux-kernel
On Sat, Jul 26, 2003 at 02:51:55PM -0400, VaX#n8 wrote:
> Hi, I'd like to be able to create a second "tap" for application data that
> presents data exactly as the application sees it, and in such a way that
> guarantees that both applications read the data before it is freed or
> acknowledged. I have skimmed the Coriolis book on the 2.0 IP stacks (yes,
Are you very sure you need this? I see heaps of issues. Why not do a
userspace proxy? Even that would not be trivial btw, you'd need to buffer
etc.
Regards,
bert
--
http://www.PowerDNS.com Open source, database driven DNS Software
http://lartc.org Linux Advanced Routing & Traffic Control HOWTO
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-26 19:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-26 18:51 multiple readers for stack-processed net traffic VaX#n8
2003-07-26 20:01 ` bert hubert
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).