Re: [PATCH] new UDPCP Communication Protocol

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, January 3, 2011 - 2:27 am

Le lundi 03 janvier 2011 à 10:08 +0100, Stefani Seibold a écrit :


Yep, and as UDP messages can easily spoofed, this means you need more
than a list of trusted addresses. You also need to encapsulate the thing
in an secured layer.

Stefani, your implementation has very litle chance being added in
standard kernel, because it is not correctly layered, or documented.

Copying hundred (thousand ?) of lines from existing code only shows
there is a design error in your proposal. It means every time we have to
make a change in this code, we'll have to do it twice.

SUNRPC uses UDP/TCP sockets, and use callbacks to existing UDP/TCP code,
maybe you should take a look to implement an UDPCP stack in kernel.

For instance, a pure socket API seems not the correct choice for UDPCP,
since a transmit should give a report to user, of frame being
delivered/aknowledged or not to/by the remote side ?

With send(), this means you have only one message in transit, no
asynchronous handling.

At least you forgot to document the API, and restrictions.



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

Messages in current thread:
[PATCH] new UDPCP Communication Protocol, stefani, (Sun Jan 2, 3:39 pm)
Re: [PATCH] new UDPCP Communication Protocol, Eric Dumazet, (Sun Jan 2, 3:49 pm)
Re: [PATCH] new UDPCP Communication Protocol, Stefani Seibold, (Sun Jan 2, 3:55 pm)
Re: [PATCH] new UDPCP Communication Protocol, Jesper Juhl, (Sun Jan 2, 4:04 pm)
Re: [PATCH] new UDPCP Communication Protocol, Stefani Seibold, (Mon Jan 3, 2:08 am)
Re: [PATCH] new UDPCP Communication Protocol, Eric Dumazet, (Mon Jan 3, 2:27 am)
Re: [PATCH] new UDPCP Communication Protocol, Stefani Seibold, (Mon Jan 3, 2:54 am)
Re: [PATCH] new UDPCP Communication Protocol, Eric Dumazet, (Mon Jan 3, 3:39 am)
Re: [PATCH] new UDPCP Communication Protocol, Stefani Seibold, (Mon Jan 3, 7:08 am)