Datagram Transport Layer Security (DTLS) is a protocol that provides communications privacy for datagram protocols.
Questions tagged [dtls]
171 questions
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;
…

RajibTheKing
- 1,234
- 1
- 15
- 35
4
votes
5 answers
Is there a DTLS implementation in JSSE
I want to implement a DTLS 1.0 client in Java and after googling a bit I found that the JSSERefGuide says the following:
The JSSE API is capable of supporting SSL versions 2.0 and 3.0 and TLS
version 1.0. These security protocols encapsulate a…

osundblad
- 2,675
- 1
- 29
- 34
3
votes
2 answers
Bouncy castle gives unknown HashAlgorithm
I am trying to use bouncy castle for DTLS Handshake.
I have generated key by following this link. I am working by extending DefaultTlsClient. It can generate client_hello packet. But when the server_hello packet arrives it gives…

Rashed
- 87
- 1
- 12
3
votes
0 answers
What implements Bouncy Castle's DatagramTransport?
I'm trying to write a simple DTLS client in C# using Bouncy Castle.
I've found only one example use of the API I think I need in the library's own tests: crypto/test/src/crypto/tls/test/DtlsProtocolTest.cs.
The network layer in the test is mocked by…

erszcz
- 1,630
- 10
- 16
3
votes
1 answer
Can DTLS still function and be secure if packets are being lost?
I'm looking to make an application that uses DTLS, let's say for example voice chat.
Can DTLS work while raw sound data packets are being lost?
Can certain packets be lost and the DTLS session still function correctly without resending the lost…

one-crazy-programmer
- 33
- 2
3
votes
1 answer
Why was DTLS-SRTP chosen in WebRTC?
I would like to know the reasons that led DTLS-SRTP to be the method chosen for protecting the media in WebRTC.
I suppose it was considered that it is better to exchange the SRTP key material outside the signaling plane, but why not allowing other…

Nicolas Jean
- 775
- 6
- 19
3
votes
2 answers
Does DTLS require sessions to timeout?
I'm trying to figure out the most data-use efficient way to secure our CoAP API. DTLS seems to be the right way to do it, but looking at how much data the handshake requires (and making some uninformed assumptions about how often that needs to…

azdle
- 2,139
- 4
- 17
- 23
3
votes
0 answers
Building a DTLS server with Java (bouncycastle)
I want to set up a (server) socket which receives DTLS connections. Is there any documentation which tells more than this thread?
A working example of the information provided there would be nice too.

vbence
- 20,084
- 9
- 69
- 118
3
votes
1 answer
DTLS handshake not completing - ORTC prototype
Firstly - apologies as I can't add ORTC tag as I don't have enough rep, so adding webrtc for now. I have been experimenting with the ORTC prototype, but I have unfortunately hit a stumbling block :(
I have a very similar test application to the…

user1710407
- 491
- 1
- 5
- 16
3
votes
0 answers
Encrypted UDP (DTLS) in Akka
I need to create a server-clients application in Scala/Akka for encrypted live video streaming. Since loosing some packets doesn't matter, but speed (latency) is crucial, UDP is much better than TCP.
As far as I know Akka/Scala/Java don't support…

Quizzie
- 879
- 4
- 15
3
votes
1 answer
Failed to set remote offer sdp: Called with SDP without SDES crypto
Trying to use Android application for WebRTC Based on APpRtcDemo.
When connecting from Chrome 34 Everythings works fine, But When I use Chrome 35 for video call f got this error.
onSetFailure: Failed to set remote offer sdp: Called with SDP…

pahan40
- 139
- 2
- 10
3
votes
1 answer
Can I specify my own encryption key in DTLS-SRTP encryption
In my webrtc web app in Chrome, I used to specify my own encryption key by overriding the crypto information in the SDP. I am now migrating my webrtc web app to use DTLS-SRTP for encryption. With DTLS enabled, is there a way to tell Chrome which…

Aki
- 3,709
- 2
- 29
- 37
3
votes
1 answer
Is it possible to use boost::asio with DTLS?
I think the title says most of it, but I am also interested in understanding what it takes to get DTLS support into asio if there is no existing solution

user239558
- 6,964
- 1
- 28
- 35
2
votes
1 answer
DTLS handshake failed in ocserv and openconnect
I configured the ocserv on my Ubuntu server with this specefication in /etc/ocserv/ocserv.conf file:
auth = "plain[passwd=/etc/ocserv/ocpasswd]"
tcp-port = 443
udp-port = 443
run-as-user = nobody
run-as-group = daemon
socket-file =…

danial
- 117
- 2
- 8
2
votes
1 answer
mbedtls DTLS server running on 64-bit desktop but not on embedded system
I am trying to replace the UDP communication with a DTLS server on my application.
I have a DTLS server running on my computer (linux mint) using mbedtls. The application is reading/writing without crashing. (Though closing the connection is not yet…

KAMBLY
- 51
- 1
- 4