Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: [Ethereal-dev] Decoding some more SSL cipher suites in packet-ssl.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Marco van den Bovenkamp <marco@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 01:13:22 +0200
Hello,

Whilst playing with the Eudora Palm mail client, Qpopper and POP3-over-SSL, I noticed that Eudora advertised a cipher suite Ethereal 0.10.5 didn't recognize.

Some Googling found an IETF draft (http://research.sun.com/projects/crypto/draft-ietf-tls-ecc-05.txt) defining it, and a few others.

The attached patch (relative to the 2004-07-16 snapshot) adds decoding them to packet-ssl.c.

--

		Regards,

			Marco.
*** packet-ssl.c	Thu Jun  3 04:36:39 2004
--- packet-ssl.c.new	Sat Jul 17 00:54:28 2004
***************
*** 42,47 ****
--- 42,53 ----
   *
   * for PCT 1 draft specs.
   *
+  * See 
+  *
+  *	http://research.sun.com/projects/crypto/draft-ietf-tls-ecc-05.txt
+  *
+  * for Elliptic Curve Cryptography cipher suites.
+  *
   * Notes:
   *
   *   - Uses conversations in a no-malloc fashion.  Since we just want to
***************
*** 347,352 ****
--- 353,364 ----
      { 0x000038, "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" },
      { 0x000039, "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" },
      { 0x00003A, "TLS_DH_anon_WITH_AES_256_CBC_SHA" },
+     { 0x000047, "TLS_ECDH_ECDSA_WITH_NULL_SHA" },
+     { 0x000048, "TLS_ECDH_ECDSA_WITH_RC4_128_SHA" },
+     { 0x000049, "TLS_ECDH_ECDSA_WITH_DES_CBC_SHA" },
+     { 0x00004A, "TLS_ECDH_ECDSA_WITH_3DES_EDE_CBC_SHA" },
+     { 0x00004B, "TLS_ECDH_ECDSA_WITH_AES_128_CBC_SHA" },
+     { 0x00004C, "TLS_ECDH_ECDSA_WITH_AES_256_CBC_SHA" },
      { 0x000060, "TLS_RSA_EXPORT1024_WITH_RC4_56_MD5" },
      { 0x000061, "TLS_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5" },
      { 0x000062, "TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA" },