Commit graph

18 commits

Author SHA1 Message Date
William Robinet
ba9410dac5
Remove unnecessary parens in return statements 2023-08-16 15:40:29 +02:00
William Robinet
ecacee7c36
Lint ALL the things ! 2023-08-14 12:37:08 +02:00
William Robinet
00a631a28d
Convert old-style function definitions 2023-08-14 10:57:16 +02:00
William Robinet
fda6e32aed
Add -z option for printing timestamps in front of TCP headers 2023-08-03 11:09:56 +02:00
William Robinet
6686cedfdd Add support for IPv6 traffic dump 2021-04-07 17:40:16 +02:00
William Robinet
9d3974b85f Avoid leak in TCP segment reassembly code 2021-01-27 18:42:07 +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
fba06b5c79 Output error to stderr 2021-01-19 17:25:02 +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
67de5d014d Remove definitions of unused variables 2020-10-06 10:20:16 +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
c651800ab1 Remove unused RCSSTRING variable globally 2020-10-03 10:41:05 +02:00
William Robinet
55510f8fb1 Fix segfault by OOB read on malformed packets (2) 2020-09-03 19:07:21 +02:00
EaseTheWorld
36d81fabcb Handle weird 3-way handshake(syn&ack -> syn -> ack)
I have pcaps from Cisco2960 span port and found some tcp handshake has weird order 3-way handshake.
It seems first packet order between sessions is not guaranted for cisco span. maybe.
Current state transition is
        INIT -- syn --> SYN1 -- syn&ack --> SYN2 -- ack --> ESTABLISHED
New state transition starts with SYN1 or SYN2 and adds(revive actually)
STATE_ACK to handle both cases.
case1 : INIT -- syn --> SYN1 -- syn&ack -->ACK -- ack --> ESTABLISHED (normal)
case2 : INIT -- syn&ack --> SYN2 -- syn -->ACK -- ack --> ESTABLISHED
(weird)
2019-08-14 09:00:54 +09:00
William Robinet
2e0d67c172 Fix order of arguments in calls to calloc 2015-05-18 15:40:22 +02:00
William Robinet
4310c3f117 In flight connection pool cleaning 2015-04-22 11:23:37 +02:00
cc6554ebb6 sldump-0.9-cvs-20060619.patch 2015-01-31 10:16:06 +01:00
ea12dfe6d2 ssldump_0.9b3.orig.tar.gz Import 2015-01-31 10:13:33 +01:00