You are right. We updated the keys in the registry to make TOS works.
Thanks

Elie

At 01:12 PM 6/17/2004 -0400, Lee Dilkie wrote:
Are you sure it *actually* worked? The function call will appear to succeed,
but win2K and above don't allow programs to set TOS anymore, unless you
fiddle with the registry to override the default behaviour.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Elie Lalo
> Sent: Thursday, June 17, 2004 11:16 AM
> To: [EMAIL PROTECTED]
> Subject: Re: TLS and TOS
>
>
> Mike,
>
> I just wanted to let you know that I tried it on W2k Pro and it works.
> Thanks,
>
> Elie
>
> At 08:46 AM 6/17/2004 -0600, Mike Sontum wrote:
>
> >This code is for UNIX.
> >I don't have an answer for Windows, but we are compiling the same code
> >from www.openssl.org
> >and I have to believe the TCP and SSL layer are separate and your
> >socket is going to behave
> >exactly like it use to.
> >
> >                             Thanks,
> >
> >                                         Mike
> >
> > >>> [EMAIL PROTECTED] 6/16/2004 5:00:28 PM >>>
> >Hi Mike,
> >
> >Does this work for Windows (I am writing my program on Windows
> >platform,
> >and Windows presents a socket as a HANDLE )? It seems that this code is
> >for
> >Unix.
> >Thanks,
> >
> >Elie
> >
> >At 04:31 PM 6/16/2004 -0600, Mike Sontum wrote:
> >
> > >You can set any option you want for the socket.
> > >I set the linger option. The SSL layer is "above" the TCP layer
> > >and really does not affect the layer below it.
> > >After you get your socket's accept or connect you can then do the
> > >ssl = SSL_new (ctx);
> > >/* sd is the socket */
> > >SSL_set_fd (ssl, sd);
> > >handshake ......
> > >you can then do a select on the socket and do  a read with SSL_read
> > >(ssl, buffer,sizeof(buffer)).
> > >The point is the socket behaves exactly like it use to. You can  set
> > >some TCP options, with setsockopt.
> > >
> > >                                 Thanks,
> > >
> > >                                          Mike
> > >
> > > >>> [EMAIL PROTECTED] 6/16/2004 4:09:33 PM >>>
> > >Hi,
> > >
> > >Could you please tell me how I enable IP_TOS using OpenSSL (if it can
> > >be
> > >done)? I know how to do it using regular/non secure socket.
> > >For example:
> > >int result = setsockopt(m_hSocket, IPPROTO_IP, IP_TOS, (char
> >*)&ucTOS,
> > >1);
> > >if (SOCKET_ERROR == result)
> > >{
> > >          error();
> > >}
> > >else
> > >          ...
> > >
> > >
> > >Thanks,
> > >
> > >Elie
> > >
> > >Elie Lalo
> > >Senior Software Engineer
> > >Desktop Technologies Group
> > >1414 Mass Avenue
> > >Boxborough, MA 01719
> > >Cisco  Systems, Inc.
> > >Tel : (978)936-1160
> > >Fax: (978)936-2212
> > >Url : www.cisco.com
> > >______________________________________________________________________
> > >OpenSSL Project                                 http://www.openssl.org
> >
> > >User Support Mailing List                    [EMAIL PROTECTED]
> >
> > >Automated List Manager                           [EMAIL PROTECTED]
> >
> >
> >
> >Elie Lalo
> >Senior Software Engineer
> >Desktop Technologies Group
> >1414 Mass Avenue
> >Boxborough, MA 01719
> >Cisco  Systems, Inc.
> >Tel : (978)936-1160
> >Fax: (978)936-2212
> >Url : www.cisco.com
> >
> >______________________________________________________________________
> >OpenSSL Project                                 http://www.openssl.org
> >
> >User Support Mailing List                    [EMAIL PROTECTED]
> >
> >Automated List Manager                           [EMAIL PROTECTED]
> >______________________________________________________________________
> >OpenSSL Project                                 http://www.openssl.org
> >User Support Mailing List                    [EMAIL PROTECTED]
> >Automated List Manager                           [EMAIL PROTECTED]
>
>
> Elie Lalo
> Senior Software Engineer
> Desktop Technologies Group
> 1414 Mass Avenue
> Boxborough, MA 01719
> Cisco  Systems, Inc.
> Tel : (978)936-1160
> Fax: (978)936-2212
> Url : www.cisco.com
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]
>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]


Elie Lalo
Senior Software Engineer
Desktop Technologies Group
1414 Mass Avenue
Boxborough, MA 01719
Cisco  Systems, Inc.
Tel : (978)936-1160
Fax: (978)936-2212
Url : www.cisco.com

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to