Re: Authenticated UDP
- From: v.mont <vmont@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 16 Oct 2008 08:37:01 -0700
SSL is stateless and can operate on any transport layer you choose. Im pretty certain that SSL can be used to authenticate but not encrypt if you find a SSL stack that allows access at that level. But lower down you want encryption anyway...
That is interesting, i wasn't aware of SSL applied to anything except TCP
(didn't even think of it, I guess it's a sideffect of the web-centric world
we live in)... I need to investigate this.
I realize TCP would be ideal for this, but I have to deal with a large
number of very transient connections (~ 1000/min, lasting few hundred
milliseconds at most) and I found TCP can easily bog down the server and get
starved of sockets.. especially since this is not the primary task of the
server, and it also needs to service a separate set of HTTP requests.
TCP sockets do tend to close quickly when closed normally. [...]
Just by looking at my server in a production environment, I see a very large
number of sockets in use, specially when the web server part begins to get
bogged down and connections end up in the server queue waiting to be
processed. Of course, I could solve the problem by separating the different
tasks on different hardware, but customers do not like it when you add cost
to the solution. :)
Furthermore, my UDP based communication is small -- it does not span
multiple packets that need tobe assembled by the protocol, it is not ordering
sensitive, etc. it is simply a command packet that I need to somehow
authenticate.
.
- Follow-Ups:
- Re: Authenticated UDP
- From: Chris Becke
- Re: Authenticated UDP
- References:
- Authenticated UDP
- From: v.mont
- Re: Authenticated UDP
- From: Chris Becke
- Authenticated UDP
- Prev by Date: Re: Authenticated UDP
- Next by Date: Re: RPC crash in Vista
- Previous by thread: Re: Authenticated UDP
- Next by thread: Re: Authenticated UDP
- Index(es):
Relevant Pages
|