Re: [openssl-users] DTLS-over-UDP client example

2018-09-18 Thread aleksandr . derevianko
Hello ! >> >>  With such list it works, but without encoding (data send in cleartext, >> connection established as Cipher: NULL-SHA) >> >>  and if I remove eNULL on client side, it doesn't connect - server wait >> repeat of client cookue forever. >> >>  At the same time, "openssl s_client -dtls1

Re: [openssl-users] DTLS-over-UDP client example

2018-09-18 Thread Richard Weinberger
On Tue, Sep 18, 2018 at 9:18 AM wrote:> Unfortunelly, it's exactly this example which I use. You have pointed on slightly different version, > but all difference is: > > SSL_CTX_set_cookie_verify_cb(ctx, &verify_cookie); > instead of > SSL_CTX_set_cookie_verify_cb(ctx, verify_cooki

Re: [openssl-users] DTLS-over-UDP client example

2018-09-18 Thread aleksandr . derevianko
Hello ! 17.09.2018, 16:26, "Richard Weinberger" : > On Thu, Sep 13, 2018 at 3:51 PM wrote: >>  I tryed to dig inside openssl s_client source code, but it's really too >> complex for me, it seems like s_client doesn't use >>  SSL_connect, instead, using more low-level functions. >> >>  So, does a

Re: [openssl-users] DTLS-over-UDP client example

2018-09-17 Thread Richard Weinberger
On Thu, Sep 13, 2018 at 3:51 PM wrote: > I tryed to dig inside openssl s_client source code, but it's really too > complex for me, it seems like s_client doesn't use > SSL_connect, instead, using more low-level functions. > > > So, does anybody have any simple client-side implementation of DTLS o

[openssl-users] DTLS-over-UDP client example

2018-09-13 Thread aleksandr . derevianko
Hello ! I'm completely new to openssl, but really need to implement simple application which will use DTLS over UDP. Unfortunelly, it seems that all examples which I can find, correctly implement DTLS server, but not implement DTLS client side. For example, this one: https://github.com/nplab/

Re: [openssl-users] DTLS over UDP

2018-03-23 Thread Nivedita
Hi Michael, We are working on SIP , and i am looking for dtlsv1_accept method so that when multiple clients want to connect to single server, dtls should open a separate port for each client instance, when running over udp. Regards, Nivedita On Wed, Mar 21, 2018 at 11:04 PM, Michael Richardson

Re: [openssl-users] DTLS over UDP

2018-03-20 Thread Nivedita
Hi Michael, Would you please let me know whether this new release of openssl-1.1.1-pre3 supports DTLS over udp for SIP protocol using dtlsv1_accept method. Regards, Nivedita On Wed, Feb 21, 2018 at 11:54 AM, Nivedita wrote: > Hi Michael, > > Please find the response inline and also i have a

Re: [openssl-users] DTLS over UDP

2018-02-19 Thread Michael Richardson
Nivedita wrote: >> Nivedita wrote: >>> I am trying to establish DTLS over UDP connection by using >>> DTLSv1_listen method . >>> I have followed the below steps - 1. Created a server socket >>> and using >>> this socket created bio and ssl object. bio = >>>

Re: [openssl-users] DTLS over UDP

2018-02-15 Thread Nivedita
Hi Michael, Please find the response inline. Regards, Nivedita On Wed, Feb 14, 2018 at 10:55 PM, Michael Richardson wrote: > > Nivedita wrote: > > Hi Michael, > > > Thanks for the reply. > > > I have mentioned the answers below. > > >okay. I saw only one comment. Maybe you could

Re: [openssl-users] DTLS over UDP

2018-02-13 Thread Michael Richardson
Nivedita wrote: > I am trying to establish DTLS over UDP connection by using > DTLSv1_listen method . > I have followed the below steps - 1. Created a server socket and using > this socket created bio and ssl object. bio = > BIO_new_dgram(VI_sock,BIO_NOCLOSE)) SSL_set_bio(ss

[openssl-users] DTLS over UDP

2018-02-13 Thread Nivedita
Hi All, I am trying to establish DTLS over UDP connection by using DTLSv1_listen method . I have followed the below steps - 1. Created a server socket and using this socket created bio and ssl object. bio = BIO_new_dgram(VI_sock,BIO_NOCLOSE)) SSL_set_bio(ssl,VP_bio,VP_bio); 2. E