Questions tagged [dtls]

Datagram Transport Layer Security (DTLS) is a protocol that provides communications privacy for datagram protocols.

155 questions
3
votes
3 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,517
  • 1
  • 26
  • 34
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,435
  • 9
  • 16
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
  • 1,763
  • 1
  • 14
  • 21
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
  • 19,252
  • 8
  • 61
  • 111
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
  • 471
  • 1
  • 5
  • 15
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
  • 859
  • 4
  • 15
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,096
  • 1
  • 25
  • 33
2
votes
1 answer

Webrtc mediastream don't have SDP/TLS and don't have DTLS

I have a app can take call via WebRTC in iOS, this working normal when call with browser, but when call with android app I can't set remote sdp with error: Called with SDP without DTLS fingerprint. After searching I found that the sdp send from…
goat_herd
  • 441
  • 2
  • 9
2
votes
0 answers

DTLS handshake problems with ocserv

I have a problem with the configuration of ocserv on CentOS 8. When I try to connect, a DTLS handshake problem occurs on the client side: 16:50:51 LIB: DTLS handshake timed out 16:50:51 LIB: DTLS handshake failed: Resource temporarily unavailable,…
2
votes
1 answer

Wrong SSL version used in Dtls handshake on HelloVerifyRequest

I am implementing DTLS 1.2 protocol in C. While testing the client with openSSL, I observed that one of the frames sent by OpenSSL is not using the correct Dtls version (1.2) but an older version (1.0). The client in C supports only DTLS1.2, and…
spirit
  • 23
  • 5
2
votes
1 answer

Not sure if self-signed ECDSA certificate generated programmatically complies for use with WebRTC and if fingerprint computation is correct

As should be clear, I am a newbie to certificates and cryptography in general. I am trying to generate self-signed certificates programmatically for use with WebRTC in the implementation of a SFU. The RFC at Section 4.9, on the subject of…
2
votes
1 answer

OpenSSL server packets get fragmented into 270 bytes per packet

Problem I'm trying to analyze the DTLS 1.2 handshake (over IPv6) with OpenSSL s_server and s_client by capturing it with Wireshark. The handshake works as intended but the server packets get fragmented into an extremely small size (270 bytes) for…
afemis
  • 23
  • 3
2
votes
1 answer

How many channels does WebRTC have and what transports are used?

I felt that WebRTC has 2 channels: Signalling channel (data transported via secured TCP) Media channel (data trasnported via DTLS or SRTP) Are there more channels to this? Namely "DataChannel" -- probably used for file & chat sharing? If there is,…
iammilind
  • 62,239
  • 27
  • 150
  • 297
2
votes
1 answer

C# DTLS implementation (server / client)

I am trying to get dtls working in c#. I discovered that there is a bouncycastle c# implementation, however, there does not appear to be any documentation or samples on how to use it. I looked at the test app in the source control, but I don't see…
Driv
  • 103
  • 7
2
votes
1 answer

DTLS state sharing

I have an cluster that uses DTLS to communicate with clients Which have some kind of safe distributed storage (...) As we know DTLS state is rather long-lived. Thus in typical load balancing scenarios it would happen that encrypted packet will be…
lakier
  • 495
  • 4
  • 13
1
2
3
10 11