On Dec 27, 2011, at 5:00 PM, Manish Yadav wrote:

> Hi Michael,
> 
> thanks for info, could you please do let me know in case of dtls how much 
> memory is allocated per connection? or any clue how do i 
Hi Manish,

I don't know. But you need a socket per peer and might use select() for 
multiplexing which might
also introduce some limits.

For the memory overhead I suggest that you do some measurements...

Best regards
Michael
> calculate this? i want to define maximum number of concurrent connections 
> could be supported for any dtls server.
> 
> thanks,
> manish
> 
> On Tue, Dec 27, 2011 at 12:31 AM, Michael Tuexen 
> <michael.tue...@lurchi.franken.de> wrote:
> On Dec 26, 2011, at 7:09 PM, Manish Yadav wrote:
> 
> > Hi all,
> >
> > i am building dtls server using OpenSSL v0.9.8r. i see following crash in 
> > openssl code:
> Whenever you are using DTLS: Upgrade to the latest version OpenSSL 1.0.0.
> 
> Please report if your problem persists with the latest version of OpenSSL.
> See http://sctp.fh-muenster.de/dtls-patches.html for the patches which
> will be included in the next revision.
> 
> Best regards
> Michael
> >
> > (gdb) bt
> > #0  0x485b0297 in kill () from /lib/libc.so.7
> > #1  0x485b01f6 in raise () from /lib/libc.so.7
> > #2  0x485aedca in abort 28) from /lib/libc.so.7
> > #3  0x4852f9d5 in malloc () from /lib/libc.so.7
> > #4  0x4821ce1e in BN_clear_free () from /lib/libcrypto.so.6
> > #5  0x4821d4af in CRYPTO_malloc () from /lib/libcrypto.so.6
> > #6  0x4828f495 in ssl3_setup_buffers () from /usr/lib/libssl.so.6
> > #7  0x4828d5c5 in dtls1_read_bytes () from /usr/lib/libssl.so.6
> > #8  0x4828db82 in ssl3_renegotiate_check () from /usr/lib/libssl.so.6
> > #9  0x48282e28 in SSL_read () from /usr/lib/libssl.so.6
> >
> > could you please let me know what could be reason for this? i am curious to 
> > understand how much memory ssl library allocates per connection/session, so 
> > that i could calculate maximum number of connection i could support using 
> > my server.
> >
> > thanks,
> > manish
> 
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       openssl-dev@openssl.org
> Automated List Manager                           majord...@openssl.org
> 

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to