Datagram Transport Layer Security (DTLS) is a protocol that provides communications privacy for datagram protocols.
Questions tagged [dtls]
155 questions
44
votes
4 answers
Difference between DTLS and TLS
What is the functional difference between TLS and DTLS?
How does application flow/negotiation differ while using TLS vs DTLS?
![](../../users/profiles/1858729.webp)
Pranav
- 451
- 1
- 4
- 8
38
votes
1 answer
Is WebRTC traffic over TURN end-to-end encrypted?
WebRTC traffic is encrypted using DTLS - ok. But what about traffic that's relayed over a TURN server?
I'm looking for a reliable resource which confirms that the traffic is truly end-to-end encrypted (because "end-to-end" can sometimes mean…
![](../../users/profiles/291741.webp)
Chris Lercher
- 36,020
- 19
- 96
- 128
11
votes
2 answers
Difference between DTLS-SRTP and SRTP packets send over DTLS connections
I have two SIP endpoint and wanted to send the media over DTLS-SRTP. I am little bit confuse in below points
Is DTLS-SRTP and SRTP packets send over DTLS connections are same or different ?
If different, Could you please explain me how are they…
![](../../users/profiles/970786.webp)
PRIYARANJAN NAYAK
- 128
- 1
- 9
9
votes
2 answers
CoAP and DTLS integration
I have implementation of CoAP (libcoap), and implementation of DTLS (tinyDTLS).
How can I make integration CoAP (libcoap) with DTLS (tinyDTLS)?
I will be grateful for the any advice.
![](../../users/profiles/3207554.webp)
Puzzle
- 173
- 2
- 6
7
votes
1 answer
what is the difference between BIO_read/BIO_write and SSL_read/SSL_write when the BIOs are memory BIOs and not socket BIOs?
I am confused about the difference between the BIO routines BIO_read()/BIO_write() and the SSL_read()/SSL_write() when the BIOs are memory BIOs and not socket BIOs.
I am trying to code a WebRTC server using libnice for the ICE stack and OpenSSL for…
![](../../users/profiles/1324694.webp)
Andres Gonzalez
- 1,889
- 4
- 26
- 39
7
votes
3 answers
WebRTC SRTP decryption
I am trying to build an SRTP to RTP stream converter and I am having issues getting the Master Key from the WebRTC peerconnection I am creating.
From what I understand, with a DES exchange, the key is exchange via the SDP exchange and is shown in…
![](../../users/profiles/1818849.webp)
Benjamin Trent
- 6,494
- 3
- 31
- 40
6
votes
1 answer
RCConnection Error: setSDP Error: Failed to set remote offer sip: Called with SDP without DTLS fingerprint
I am using Restcomm's Android SDK and trying to configure it to our servers, but getting the following error:
RCConnection Error: setSDP Error: Failed to set remote offer sip: Called with SDP without DTLS fingerprint
But when I changing back to…
![](../../users/profiles/6306871.webp)
abrutsze
- 446
- 1
- 6
- 20
6
votes
1 answer
How to create ECDSA keys for authentication purposes?
I'm trying to set up a DTLS server on Android based on the example java files from Californium.Scandium. Initially I ran into issues because the keystore and truststore were in jks format and I did not have the key passwords. Hence, I created my own…
![](../../users/profiles/5657911.webp)
Amber K.
- 61
- 1
- 4
6
votes
4 answers
Datagram Transport Layer Security (DTLS) on Android/Java
Has anyone used DTLS on Android or is there an open source Java implementation that supports DTLS?
What are my other options for securing UDP traffic on Android?
![](../../users/profiles/306346.webp)
Soumya Simanta
- 10,777
- 23
- 95
- 153
6
votes
1 answer
Managing DTLS using a non-blocking architecture
I am trying to add DTLS support in my server that is currently based on Netty.
Netty gives me the possibility to add handlers to a pipeline where packets are treated in the defined order and changed when they need to be changed.
BouncyCastle's…
![](../../users/profiles/2343910.webp)
Ltmatos
- 141
- 1
- 7
6
votes
1 answer
Looking for DTLS non-blocking program example (C/C++)
I am learning to use SSL & UDP. After some extensive search, I couldn't find many sample programs to test and study. In fact, the only one I found is this.
http://openssl.6102.n7.nabble.com/DTLS-examples-td2143.html
However, although the author…
![](../../users/profiles/1251099.webp)
user180574
- 4,519
- 7
- 39
- 78
5
votes
1 answer
Session ID in DTLS (OpenSSL)
I am trying to implement a DTLS server using OpenSSL. I can get app data through, but when the client and server have negotiated, I have noticed that the session_id is null on the server.
Checking the code, more specifically ssl_sess.c,…
![](../../users/profiles/58237.webp)
Fredrik Jansson
- 3,531
- 3
- 26
- 32
5
votes
1 answer
WebRTC DTLS-SRTP OpenSSL Server Handshake Failure
Here is my procedure in OpenSSL Server Mode,
Initialization Part of SSL and BIO variables:
map m_SSLMap;
map m_BioWriteMap;
map m_BioReadMap;
int InitializeServerNegotiationMode(int iFd)
{
SSL *pServSslFd;
…
![](../../users/profiles/2144360.webp)
RajibTheKing
- 1,025
- 11
- 29
4
votes
2 answers
DTLS using Schannel
I am trying to create a DTLS "connection" using Schannel under Windows (I am testing under recent Windows 10 version, so all DTLS versions supported by Schannel should be available)
I tried starting from working code to establish a regular TLS…
![](../../users/profiles/9062545.webp)
fbrosseau
- 325
- 2
- 7
4
votes
2 answers
Is Dtls available in python3, and how to install it?
From the description of Dtls library, it seems it's not available in python3. And when I want to install with pip install Dtls there's always an
Command "python setup.py egg_info" failed with error code 1 in
…
![](../../users/profiles/8367927.webp)
feng
- 171
- 14