Commit graph

322 commits

Author SHA1 Message Date
William Robinet
9d3974b85f Avoid leak in TCP segment reassembly code 2021-01-27 18:42:07 +01:00
William Robinet
64effa3bb9 Clean remaining json object in case of error 2021-01-27 18:39:03 +01:00
William Robinet
2d3d5d8045 Abort properly on decode error 2021-01-27 18:38:13 +01:00
William Robinet
cc1e752167 Avoid client session_id related leak 2021-01-27 18:37:29 +01:00
William Robinet
ee1d6de1f8 Avoid server_random related leak 2021-01-27 18:36:56 +01:00
William Robinet
673f7ce85f Avoid client_random related leak 2021-01-27 18:35:27 +01:00
William Robinet
59b88f4e2b Check ssl_decode_enum() return code correctly 2021-01-27 18:32:57 +01:00
William Robinet
4997301a9d Exit process_tcp_packet() in case TCP header is incomplete 2021-01-27 18:32:18 +01:00
William Robinet
f24eafd8b4 Check timestamp_diff return code correctly 2021-01-27 18:31:28 +01:00
William Robinet
2a7b0f664f Cleanup before exit on error 2021-01-27 18:30:28 +01:00
bc36efa490
Merge pull request #46 from wllm-rbnt/leaks
Leaks
2021-01-21 21:00:55 +01:00
William Robinet
b3316bb5fd Fix for crash if length of captured frame is less than Ethernet header size 2021-01-21 09:57:27 +01:00
William Robinet
d1f8d01d4b Check packet size before looking at IP header 2021-01-20 11:22:55 +01:00
William Robinet
10963dd981 Check return code after string extraction 2021-01-20 10:47:52 +01:00
William Robinet
2a98fb08fe Limit length during server name decoding 2021-01-20 10:34:38 +01:00
William Robinet
47d80c79bd Bump version to 1.3 in configure.ac 2021-01-19 17:29:04 +01:00
William Robinet
31464b75b0 Decode ClientHello v2 properly 2021-01-19 17:27:46 +01:00
William Robinet
fba06b5c79 Output error to stderr 2021-01-19 17:25:02 +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
8ef5540e58 Close everything properly in case of SIGINT 2021-01-15 11:59:26 +01:00
William Robinet
1ad3de3fc8 Fix leak in associative array implementation 2021-01-15 11:51:02 +01:00
6073bd8954
Merge branch 'wllm-rbnt-json' 2021-01-09 12:11:06 +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
f2d6e10b4f Add checks for libjson-c to configure.ac 2021-01-06 18:25:45 +01:00
William Robinet
317d843a58 Update CI workflow descriptions (2) 2021-01-06 18:09:40 +01:00
William Robinet
fe05e6a36b Update CI workflow descriptions 2021-01-06 18:07:44 +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
28b4915099 Do not print information message when no connection is cleaned at shutdown 2020-12-09 16:01:54 +01:00
William Robinet
cbff44d4a4 Fix memory leak in ssl_process_server_session_id() 2020-12-09 15:26:59 +01:00
William Robinet
8c8c97fcb0 Close global pcap struct properly in case of SIGINT 2020-12-09 15:14:24 +01:00
William Robinet
1ca8db64ed Change binary installation directory to /usr/sbin 2020-12-09 14:51:09 +01:00
William Robinet
458e053340 Move unused files away 2020-10-29 16:02:44 +01:00
William Robinet
051de0971d Fix README.md - wrong package name for rpm based distros 2020-10-26 11:34:00 +01:00
44fffa3f4f
Merge pull request #42 from wllm-rbnt/extensions
Add missing extension names
2020-10-14 19:54:38 +02:00
William Robinet
245b99a2b2 Add missing extension names 2020-10-14 17:32:31 +02:00
d96f26fdc2
Merge pull request #39 from wllm-rbnt/save2pcap
Rework of https://github.com/adulau/ssldump/pull/26 after build system changes
2020-10-14 14:19:32 +02:00
William Robinet
a14ab5f438 Mention https://github.com/droe/sslsplit in README.md, fix man page 2020-10-07 11:25:17 +02:00
William Robinet
02b80dd564 Add libnet1-dev deps to CI and README.md 2020-10-07 10:31:34 +02:00
William Robinet
34e4e55226 Merge remote-tracking branch 'upstream/master' into save2pcap 2020-10-07 10:24:08 +02:00
7505cc1808
Merge pull request #38 from wllm-rbnt/warnings
Code cleanup
2020-10-07 08:06:29 +02:00
William Robinet
0e1ea95acc Add missing Makefile.am 2020-10-06 18:28:18 +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