Commit graph

257 commits

Author SHA1 Message Date
f10e4d7462
Merge pull request #22 from EaseTheWorld/handshake
Handle weird 3-way handshake(syn&ack -> syn -> ack)
2019-08-16 21:04:45 +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
85c1e2a4fe
chg: [doc] Changelog reflecting v1.0 release 2019-05-26 08:24:26 +02:00
b0eee198aa
chg: [build] v1.0 released 2019-05-26 08:22:37 +02:00
65cf6a4e72
chg: [changelog] v1.0 released 2019-05-26 08:11:07 +02:00
d761e2e81c
chg: [build] gitchangelogrc configuration added 2019-05-26 08:09:23 +02:00
da73adff42
Merge pull request #21 from qha/repair-make-targets
Repair make targets and ssl/ssldecode.c, bump version
2019-05-23 15:00:33 +02:00
Ulrik Haugen
3d22fd0b0a Rerun autoconf 2019-05-22 13:21:28 +02:00
Ulrik Haugen
64fcfa93b9 Bump version 2019-05-22 13:21:28 +02: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
3a96262c3a Take project name and version from configure define
... in print_version.
2019-05-21 10:37:48 +02:00
Ulrik Haugen
667f6d2b08 Enable compiling without std c99 when OPENSSL is defined 2019-05-21 10:37:48 +02:00
Ulrik Haugen
49525791b4 Repair spelling in comments 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
Ulrik Haugen
11350524d7 Add .gitignore 2019-05-21 10:37:48 +02:00
Ulrik Haugen
2250851d88 Make install target install doc files 2019-05-21 10:37:48 +02:00
Ulrik Haugen
fa1940573a Repair installdir variable names 2019-05-21 10:37:48 +02:00
Ulrik Haugen
67307d3327 Repair dist target
Mark phony targets as such.

Cease use of unobtainable version-check.pl.

Take version from configure substituted variable.

Adjust dist archive location.

Prune more backup files.
2019-05-21 10:37:48 +02:00
Ulrik Haugen
d6a86f847c Whitespace 2019-05-21 10:37:48 +02:00
Ulrik Haugen
f627589456 Set package name in configure.in, move version there 2019-05-20 13:01:24 +02:00
3f042afaea
Merge pull request #19 from 1div0/master
GREASE
2018-10-29 08:54:23 +01:00
Peter Kovář
83536ef928 GREASE 2018-10-23 14:28:48 +02:00
eb8fdd4f98
Merge pull request #18 from mathewmarcus/dh_aes_gcm_support
Dh aes gcm support
2018-07-05 20:55:34 +02:00
mathewmarcus
32b343791a use macro to check if cipher is AEAD 2018-07-05 08:08:36 -05:00
mathewmarcus
6d136a5547 update man page with -l sslkeylogfile option 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
c46019cc62 added case insensitive string comparison macro 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
9f5d85eec0
Merge pull request #17 from mathewmarcus/fix_extension_bug
correctly handle case where server hello does not request extension s…
2018-07-05 09:32:42 +02: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
c36c411547
Merge pull request #16 from mathewmarcus/tls_extensions
Tls extensions
2018-06-30 21:53:55 +02: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
mathewmarcus
57fc64ac77 added support for encrypt-then-mac 2018-06-24 22:54:10 -05:00
mathewmarcus
0d0a0b79b7 finished support for extended master secret 2018-06-24 12:37:19 -05:00
mathewmarcus
b4cd538dfa calculate session hash 2018-06-22 14:56:48 -05:00
mathewmarcus
5d804ef1a4 added struct to store extensions 2018-06-22 14:56:48 -05:00
mathewmarcus
1a7113a0ec added struct to store extensions 2018-06-22 07:18:39 -05:00
Mathew Marcus
83627b7c8f Revert "moved struct ssl_decoder_ definition into header file because we need it in ssl.enums.c"
This reverts commit 193c600108.
2018-06-20 10:28:35 -05:00
mathewmarcus
193c600108 moved struct ssl_decoder_ definition into header file because we need it in ssl.enums.c 2018-06-20 09:11:42 -05:00
mathewmarcus
a066b61dfe added handler for extended master secret extension 2018-06-20 09:06:09 -05:00