Is anyone interested in SDL_Net SSL patch?

Hey all,

I’m about to start modifying SDL_Net to support SSL through calls like
SDLNet_SSL_*

Obviously since SDL_Net is LGPL I’ll be releasing the changes, but
they’ll almost certainly be ugly unless there’s interest here for a
clean and usable patch.

Any thoughts?–
Jimmy <@Jimmy>
Jimmy’s World.org
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030106/fef3a80e/attachment.pgp

you bet! like a mofo if you know what i mean (:> ----- Original Message -----

From: jimmy@jimmysworld.org (Jimmy)
To: “SDL Mailing List”
Sent: Monday, January 06, 2003 1:32 PM
Subject: [SDL] Is anyone interested in SDL_Net SSL patch?

Do you think that you could design your addition so that it is easy to
have SSL and normal modes toggleable at some level? Doing that would
not only make it seamless to integrate into current projects, but it
could be a neat configurable option in certain situations.

                                                                -ray 

skoog

Jimmy wrote:>Hey all,

I’m about to start modifying SDL_Net to support SSL through calls like
SDLNet_SSL_*

Obviously since SDL_Net is LGPL I’ll be releasing the changes, but
they’ll almost certainly be ugly unless there’s interest here for a
clean and usable patch.

Any thoughts?

I’m not immediately familiar with a way to detach/attach a socket
to/from SSL like that, but it’s certainly a neat idea.

Perhaps the most realistic will be to switch ciphers to a non-encrypt,
but I’m not sure if that’s possible either.

Generally in this situation I build three connections, TCP, SSL and UDP
and just abstract away the difference with a procedural call, and send
messages with an selector for SECURE, GUARANTEED or FAST or some such.

Anyway, I’ll look into it.On Mon, 2003-01-06 at 20:07, Ray Skoog wrote:

Do you think that you could design your addition so that it is easy to
have SSL and normal modes toggleable at some level? Doing that would
not only make it seamless to integrate into current projects, but it
could be a neat configurable option in certain situations.

                                                                -ray 

skoog

Jimmy wrote:

Hey all,

I’m about to start modifying SDL_Net to support SSL through calls like
SDLNet_SSL_*

Obviously since SDL_Net is LGPL I’ll be releasing the changes, but
they’ll almost certainly be ugly unless there’s interest here for a
clean and usable patch.

Any thoughts?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Jimmy <@Jimmy>
Jimmy’s World
-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030106/a3504962/attachment.pgp

Even if the SSL-ness of the connection was only setable at socket
creation time it would be useful.

I wonder if a three-mode wrapper like you outline would have large
enough appeal to merit inclusion into some library (I wonder if it would
be simple enough to get into SDL_Net?). I know that it sounds quite
useful (I’ve done something of a two-mode system myself).

                                                -ray skoog

Jimmy wrote:>I’m not immediately familiar with a way to detach/attach a socket

to/from SSL like that, but it’s certainly a neat idea.

Perhaps the most realistic will be to switch ciphers to a non-encrypt,
but I’m not sure if that’s possible either.

Generally in this situation I build three connections, TCP, SSL and UDP
and just abstract away the difference with a procedural call, and send
messages with an selector for SECURE, GUARANTEED or FAST or some such.

Anyway, I’ll look into it.

On Mon, 2003-01-06 at 20:07, Ray Skoog wrote:

Do you think that you could design your addition so that it is easy to
have SSL and normal modes toggleable at some level? Doing that would
not only make it seamless to integrate into current projects, but it
could be a neat configurable option in certain situations.

                                                               -ray 

skoog

Jimmy wrote:

Hey all,

I’m about to start modifying SDL_Net to support SSL through calls like
SDLNet_SSL_*

Obviously since SDL_Net is LGPL I’ll be releasing the changes, but
they’ll almost certainly be ugly unless there’s interest here for a
clean and usable patch.

Any thoughts?


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl