Re: New Address Family: Inter Process Networking (IPN)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kyle Moffett
Date: Wednesday, December 5, 2007 - 11:19 pm

On Dec 06, 2007, at 00:30:16, Renzo Davoli wrote:

Ok, you say it's different, but then you describe how IP unicast and  
broadcast work.  Both are frequently used for communication among  
"*user* processes".  Please provide significantly more details about  
exactly *how* it's different.



You say "tap like" interface, but people do this already with  
existing infrastructure.  You can connect Qemu, UML, and KVM to a  
standard linus "tap" interface, and then use the standard Linux  
bridging code to connect the "tap" interface to your existing network  
interfaces.  Alternatively you could use the standard and well-tested  
IP routing/firewalling/NAT code to move your packets around.  None of  
this requires new network infrastructure in the slightest.  If you  
have problems with the existing code, please improve it instead of  
creating a slightly incompatible replacement which has different bugs  
and workarounds.



You can do that already with the bridging code.



As I described above, this can be done with the existing bridging and  
tun/tap code.



This is already done frequently in userspace.  Just register a port  
number with IANA on which to implement a "registration" server and  
write a little daemon to listen on 127.0.0.1:${YOUR_PORT}.  Your  
interconnecting programs then use either unicast or multicast sockets  
to bind, then report to the registration server what service you are  
offering and what port it's on.  Your "receivers" then connect to the  
registration server, ask what port a given service is on, and then  
multicast-listen or unicast-connect to access that service.  The best  
part is that all of the performance implications are already  
thoroughly understood.  Furthermore, if you want to extend your  
communication protocol to other hosts as well, you just have to  
replace the 127.0.0.1 bind with a global bind.  This is exactly how  
the standard-specified multiple-participant "SIP" protocol works, for  
example.


So if you really think this is something that belongs in the kernel  
you need to provide much more detailed descriptions and use-cases for  
why it cannot be implemented in user-space or with small  
modifications to existing UDP/TCP networking.

Cheers,
Kyle Moffett

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
New Address Family: Inter Process Networking (IPN), Renzo Davoli, (Wed Dec 5, 9:40 am)
Re: New Address Family: Inter Process Networking (IPN), Stephen Hemminger, (Wed Dec 5, 2:55 pm)
Re: New Address Family: Inter Process Networking (IPN), Renzo Davoli, (Wed Dec 5, 10:30 pm)
Re: New Address Family: Inter Process Networking (IPN), Renzo Davoli, (Wed Dec 5, 10:38 pm)
Re: New Address Family: Inter Process Networking (IPN), Stephen Hemminger, (Wed Dec 5, 11:04 pm)
Re: New Address Family: Inter Process Networking (IPN), Kyle Moffett, (Wed Dec 5, 11:19 pm)
Re: New Address Family: Inter Process Networking (IPN), David Newall, (Wed Dec 5, 11:59 pm)
Re: New Address Family: Inter Process Networking (IPN), Chris Friesen, (Thu Dec 6, 1:36 pm)
Re: New Address Family: Inter Process Networking (IPN), Renzo Davoli, (Thu Dec 6, 3:18 pm)
Re: New Address Family: Inter Process Networking (IPN), David Newall, (Thu Dec 6, 3:21 pm)
Re: New Address Family: Inter Process Networking (IPN), Chris Friesen, (Thu Dec 6, 4:02 pm)
Re: New Address Family: Inter Process Networking (IPN), Chris Friesen, (Thu Dec 6, 4:42 pm)
Re: New Address Family: Inter Process Networking (IPN), Renzo Davoli, (Thu Dec 6, 5:18 pm)
Re: New Address Family: Inter Process Networking (IPN), David Miller, (Thu Dec 6, 8:41 pm)
Re: New Address Family: Inter Process Networking (IPN), Chris Friesen, (Thu Dec 6, 9:21 pm)
Re: New Address Family: Inter Process Networking (IPN), David Miller, (Thu Dec 6, 11:40 pm)
AF_IPN: Inter Process Networking, try these..., Renzo Davoli, (Fri Dec 7, 2:18 pm)
Re: AF_IPN: Inter Process Networking, try these..., David Miller, (Fri Dec 7, 7:07 pm)
Re: New Address Family: Inter Process Networking (IPN), Chris Friesen, (Mon Dec 10, 9:05 am)