Commit graph

81 commits

Author SHA1 Message Date
William Robinet
2a98fb08fe Limit length during server name decoding 2021-01-20 10:34:38 +01:00
William Robinet
31464b75b0 Decode ClientHello v2 properly 2021-01-19 17:27:46 +01:00
William Robinet
afedb20a97 Add proper return value 2021-01-19 16:32:55 +01:00
William Robinet
96021582f4 Avoid leak by freeing SSL decoding context properly 2021-01-15 12:11:37 +01:00
William Robinet
cf23a39e3b Avoid some memory leaks 2021-01-07 09:59:44 +01:00
William Robinet
b2577013f6 Fix time struct related warning (2) 2021-01-06 18:41:31 +01:00
William Robinet
66c2e16c70 Fix time struct related warning 2021-01-06 18:37:14 +01:00
William Robinet
d0ca1a8adc First import of the JSON output code (https://github.com/adulau/ssldump/issues/41) 2021-01-06 17:52:45 +01:00
William Robinet
cbff44d4a4 Fix memory leak in ssl_process_server_session_id() 2020-12-09 15:26:59 +01:00
William Robinet
458e053340 Move unused files away 2020-10-29 16:02:44 +01:00
William Robinet
245b99a2b2 Add missing extension names 2020-10-14 17:32:31 +02:00
William Robinet
79b804bd18 Rework https://github.com/adulau/ssldump/pull/26 after build system changes 2020-10-06 17:34:58 +02:00
William Robinet
356a0d9cf8 Fix for use of deprecated OpenSSL HMAC functions 2020-10-06 10:44:32 +02:00
William Robinet
f2da9fa2d5 Fix for type casting related warnings 2020-10-06 10:38:04 +02:00
William Robinet
11564b1264 Add missing function prototype 2020-10-06 10:28:16 +02:00
William Robinet
54a0aeecca Fix for "warning: operator << has lower precedence than -" 2020-10-06 10:25:50 +02:00
William Robinet
67de5d014d Remove definitions of unused variables 2020-10-06 10:20:16 +02:00
William Robinet
97f6623e71 Fix for "warning: promoted type int of K&R function parameter is not compatible with the parameter type ..." 2020-10-06 10:05:25 +02:00
William Robinet
cbb6ecf373 Fix for "warning: using the result of an assignment as a condition without parentheses" 2020-10-06 09:26:07 +02:00
William Robinet
749258b45c Fix for uninitialized variables and possible overflow 2020-10-03 12:42:16 +02:00
William Robinet
c651800ab1 Remove unused RCSSTRING variable globally 2020-10-03 10:41:05 +02:00
William Robinet
e44c8bc4e2 Add line return after "certificate_types" in output, see the problem in https://github.com/adulau/ssldump/issues/36#issuecomment-702586335 2020-10-03 10:21:17 +02:00
Matt Slot
e2f611a18f Add renegotiation_info extension 2020-09-09 12:47:53 -04:00
William Robinet
9de6c8b503 Fix multiple segfault by OOB read because of wrong format string specifier 2020-09-03 19:09:04 +02:00
William Robinet
54088cd561 Apply Replace-direct-struct-access-patterns-with-OpenSSL-1.1-ge.patch from Debian pkg 2020-08-28 11:28:49 +02:00
William Robinet
0a840ae521 Autoconf setup rewritten 2020-08-27 16:20:38 +02:00
Aleksey Ryabkov
94563cee7e add support to decrypt resumed sessions 2020-04-28 14:46:32 +03:00
761cd5924e
chg: [cleanup] file cleanup (tab/ws mixed) 2020-04-23 11:08:46 +02:00
Aleksey Ryabkov
0189147e99 use sni in server_name 2020-04-16 17:04:29 +03:00
Aleksey Ryabkov
77ee0d4b39 add save decrypted datato pcap. first alpha version 2020-04-12 01:14:38 +03:00
Matt Slot
29f1b0b385 Explicit parameter types for static prototypes 2019-09-22 00:47:52 -04:00
Ulrik Haugen
d3a18bfb2d Repair ssl_key_log_file handling
Set ssl_key_log_file to null in ssl_decode_ctx_create if no
file name was supplied.

Only seek ssl_key_log_file in ssl_read_key_log_file if it
is non null.

Repair order of fseek parameters.
2019-05-22 13:21:12 +02:00
Ulrik Haugen
667f6d2b08 Enable compiling without std c99 when OPENSSL is defined 2019-05-21 10:37:48 +02:00
Ulrik Haugen
8d02dd6b31 Remove presumably extraneous files 2019-05-21 10:37:48 +02:00
Ulrik Haugen
a21934ecd5 Remove extraneous files 2019-05-21 10:37:48 +02:00
Peter Kovář
83536ef928 GREASE 2018-10-23 14:28:48 +02:00
mathewmarcus
32b343791a use macro to check if cipher is AEAD 2018-07-05 08:08:36 -05:00
mathewmarcus
39488f1a84 updated relevant ciphersuites with GCM enc 2018-07-05 08:08:36 -05:00
mathewmarcus
4a8b677de0 added fix for AES256 GCM decryption 2018-07-05 08:08:36 -05:00
mathewmarcus
98a233fc40 added support for AES GCM decryption 2018-07-05 08:08:36 -05:00
mathewmarcus
f788c3a67a use sslkeylogfile to get MS if possible 2018-07-05 08:06:49 -05:00
mathewmarcus
4ef8eb376a added function to extract MS from sslkeylogfile 2018-07-05 08:06:49 -05:00
mathewmarcus
cc3446a1ce added GCM specific ciphersuite info 2018-07-05 08:06:49 -05:00
mathewmarcus
b261b21574 added sslkeylogfile pointer to decode ctx 2018-07-05 08:06:49 -05:00
mathewmarcus
3020239022 fix decoding and printing of DiffieHellman Client params 2018-07-05 08:06:49 -05:00
mathewmarcus
170158a65b add l option for SSLKEYLOGFILE 2018-07-05 08:06:49 -05:00
mathewmarcus
f27bc9fe2a improve syntax 2018-07-02 09:45:12 -05:00
mathewmarcus
0a6dada0f1 correctly handle case where server hello does not request extension specified by client 2018-07-02 09:34:15 -05:00
mathewmarcus
7589ee5eb0 code cleanup 2018-06-24 23:43:19 -05:00
mathewmarcus
4765bb22d1 added support for SNI 2018-06-24 22:57:40 -05:00