1
1
mirror of https://github.com/wader/fq.git synced 2024-11-26 10:33:53 +03:00
fq/pkg/decode
Mattias Wadman 9852f56b74 tls: Add TLS 1.0, 1.1, 1.2 decode and decryption
What it can do:
- Decodes records and most standard messages and extensions.
- Decryptes records and reassemples application data stream if a keylog is provided
  and the cipher suite is supported.
- Supports most recommended and used ciphers and a bunch of older ones.

What it can't do:
- SSL v3 maybe supported, is similar to TLS 1.0, not tested.
- Decryption and renegotiation/cipher change.
- Record defragmentation not supported, seems rare over TCP.
- TLS 1.3
- SSL v2 but v2 compat header is supported.
- Some key exchange messages not decoded yet

Decryption code is heavly based on golang crypto/tls and zmap/zcrypto.

Will be base for decoding http2 and other TLS based on protocols.

Fixes #587
2023-03-05 13:52:12 +01:00
..
decode_gen.go decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
decode_gen.go.tmpl decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
decode.go tls: Add TLS 1.0, 1.1, 1.2 decode and decryption 2023-03-05 13:52:12 +01:00
errors.go *extra: Rename <pkg>extra to just <pkg>ex and refactor to use generics 2022-08-12 16:29:47 +02:00
format.go decode: Support multiple format args and some rename and refactor 2023-02-18 21:38:51 +01:00
read.go decode,fuzz: Signed integer (S) read require at least one bit 2022-10-11 12:12:28 +02:00
scalar.go decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
types.json decode: More type safe API and split scalar into multiple types 2022-12-14 16:23:58 +01:00
value.go tls: Add TLS 1.0, 1.1, 1.2 decode and decryption 2023-03-05 13:52:12 +01:00