SSL cipher details in Received headers and log

Use this forum if you want to discuss a problem or ask a question related to a hMailServer beta release.
Post Reply
User avatar
martin
Developer
Developer
Posts: 6835
Joined: 2003-11-21 01:09
Location: Sweden
Contact:

SSL cipher details in Received headers and log

Post by martin » 2014-10-04 10:51

While I'm still working on 5.5.1, I've added SSL cipher info to the Received headers in 5.6 as some users requested. 5.6 is currently pre-alpha and should not be used anywhere near production. :)

Wanted to share this only if some of you have some feedback. The information included is:
  • Version (SSLv2, SSLv3/TLSv1)
  • Cipher (the full name of the cipher used)
  • The number of bits used. (Can often be derived from the cipher)
It could look like something similar to this:

Code: Select all

Received: from abc.example.com ([1.1.1.1])
	by def.example.com with ESMTP 
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256)
	; Mon, 19 Aug 2013 10:41:21 -0400
The same information is also included in the hMailServer TCP/IP log when handshake has completed.

Code: Select all

TCPConnection - TLS/SSL handshake completed. Session Id: 1, Remote IP: 1.2.3.4, Version: TLSv1/SSLv3, Cipher: DHE-RSA-AES256-SHA, Bits: 256
Martin Knafve
martin@hmailserver.com
https://twitter.com/knafve

prisma
Senior user
Senior user
Posts: 309
Joined: 2010-07-09 13:16

Re: SSL cipher details in Received headers and log

Post by prisma » 2014-10-06 15:47

Great!

ehych
New user
New user
Posts: 7
Joined: 2013-06-03 17:05

Re: SSL cipher details in Received headers and log

Post by ehych » 2014-10-08 20:03

It looks great!

Post Reply