Solved

In what cases will server send empty session id during TLS handshake

Posted on 2016-08-16
3
63 Views
Last Modified: 2016-09-03
HI,
I was reading : https://tools.ietf.org/html/rfc5246
And came across this line :
The server
      may return an empty session_id to indicate that the session will
      not be cached and therefore cannot be resumed.


This i also saw happening in one of our company servers which sent : Session ID length: 0  in TLS record.
Why will any server do that. Isnt it always beneficial to give the option to cache the session. So the next time the client
wants to connect it can be done faster ?

Thanks
0
Comment
Question by:Rohit Bajaj
  • 2
3 Comments
 
LVL 61

Accepted Solution

by:
gheist earned 300 total points
ID: 41761534
If apache does not have properly cinnected session id storage it does so (i.e on first connection it says it suppots sessions, on connection client sends session ID for next, apache neuters that because it is not found in its non-existant database.
0
 
LVL 22

Assisted Solution

by:eeRoot
eeRoot earned 200 total points
ID: 41764544
Likely to let the client app know that the session will not be held open.  An application developer may use this field to determine if re-auth is needed while the user session or application is still running.
0
 
LVL 61

Expert Comment

by:gheist
ID: 41765664
https://www.ietf.org/rfc/rfc5077.txt

   The server uses a zero-length SessionTicket extension to indicate to
   the client that it will send a new session ticket using the
   NewSessionTicket handshake message described in Section 3.3.  The
   server MUST send this extension in the ServerHello if it wishes to
   issue a new ticket to the client using the NewSessionTicket handshake
   message.  The server MUST NOT send this extension if it does not
   receive one in the ClientHello.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now