Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » When does the DTLS session expires in an Leshan Server?(How can we find the Leshan Server DTLS session lifetime, and how can we configured it?)
When does the DTLS session expires in an Leshan Server? [message #1784552] Thu, 29 March 2018 09:53 Go to next message
Cristian Andrei Baron is currently offline Cristian Andrei BaronFriend
Messages: 1
Registered: March 2018
Junior Member
I have implemented a Leshan Server and a Leshan Client that connects to the server using PSK mode.

I see the original Client - Server handshake in Wireshark, but after that the DTLS session seems to live forever.

After checking the TLS 1.2 spec where it says: "An upper limit of 24 hours is suggested for session ID lifetimes, since an attacker who obtains a master_secret may be able to impersonate the compromised party until the corresponding session ID is retired."

I guess that after 24h, the DTLS session will expire and there will be a new handshake made, but this was not what happened. After 24h the DTLS session was still alive.

Setting StaleConnectionThreshold to a lower value doesn't help, because this only makes a connection stale, so it can be removed when there are new connections that are waiting as there are a maxim active connections set to 150000. Setting the Max Connections to a lower value is not a solution for me, because will limit the number of parallel DTLS connections that the Leshan server will managed.

How can we find the Leshan Server DTLS session lifetime, and how can we configured it?

Thanks
Re: When does the DTLS session expires in an Leshan Server? [message #1784576 is a reply to message #1784552] Thu, 29 March 2018 13:33 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Sounds like a question for the mailing list. It's linked from the main page at https://www.eclipse.org/leshan/ .

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:project management
Next Topic:Oxygen 2 Crashes both on Startup and in edit session. (Linux)
Goto Forum:
  


Current Time: Tue Apr 23 09:09:28 GMT 2024

Powered by FUDForum. Page generated in 0.07912 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top