Re: Multithreaded SSL server...!!!

2008-08-31 Thread vinni rathore
Hi , Actually my platform is RedHat Linux and compiler is GCC 3.4. I am creating a VPN Server here that also include work with TUN/TAP driver. And thats why i have 2 separate threads for reading and writing. By-the-way i am not creating threads per client, 2 threads(read/write) for every client.

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Pau Rodriguez-Estivill
Yes I'm using Debian GNU/Linux, using last OpenSSL from the web page but I didn't compiled it with any debug flag. Using my program doesn't apear any output to strerr other than the traces I print to debug my program. So I suppouse that DTLS code didn't find the situation as unexpected. :( Thanks.

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Kyle Hamilton
The DTLS code has several areas that do an fprintf to stderr in the case of unexpected situations. If you're closing or redirecting file descriptor 2, it'll prevent you from seeing any of that output. You're running under Linux? -Kyle H On Sun, Aug 31, 2008 at 6:37 AM, Pau Rodriguez-Estivill <[

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Pau Rodriguez-Estivill
I have tested my program replacing SSL_write with sendto and SSL_read with memcpy. So it didn't appear to be my fault. On Sun, Aug 31, 2008 at 3:10 PM, Kyle Hamilton <[EMAIL PROTECTED]> wrote: > Is there any output printed on stderr of either side of the connection? > > -Kyle H > I don't really u

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Kyle Hamilton
Is there any output printed on stderr of either side of the connection? -Kyle H On Sun, Aug 31, 2008 at 6:02 AM, Pau Rodriguez-Estivill <[EMAIL PROTECTED]> wrote: > I already tested with last version and I have the same results: > Here the versions used and the build options: > > OpenSSL 0.9.8h 2

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Pau Rodriguez-Estivill
I already tested with last version and I have the same results: Here the versions used and the build options: OpenSSL 0.9.8h 28 May 2008 built on: Sun Aug 31 13:56:12 CEST 2008 platform: linux-x86_64 options: bn(64,64) md2(int) rc4(8x,int) des(idx,cisc,16,int) idea(int) blowfish(ptr2) compiler: g

Re: about access to a private key using engine-pkcs11

2008-08-31 Thread Sergio
Sergio escribió: Hello, I'm configuring an access control for wireless networks using eap-tls protocol. The clients have got credentials into a smartcard using engine-pkcs11. wpa_supplicant requires cert_id and key_id for certificate and private key respectively, stored into the chip. Linux

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Pau Rodriguez-Estivill
OpenSSL 0.9.8g 19 Oct 2007 And also isn't de official, is the Debian build. So I'm also going to try last version, you recomend 0.9.8h or last snapshot? Thanks. Pau On Sun, Aug 31, 2008 at 10:16 AM, Kyle Hamilton <[EMAIL PROTECTED]> wrote: > Specifically which version of the openssl library are

Re: VPN DTLS SSL_WANT_READ and strange data results.

2008-08-31 Thread Kyle Hamilton
Specifically which version of the openssl library are you using? I'm going to try to dig into this. -Kyle H On Sat, Aug 30, 2008 at 9:45 AM, Pau Rodriguez-Estivill <[EMAIL PROTECTED]> wrote: > Hi! > I have done more tests of this strange data blocks: > I send 2 kinds of blocks one of 1500 bytes