-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test samples for DTLS 1.3 and TLS 1.3
Ref. eng/recordflux/RecordFlux#1221
- Loading branch information
Showing
117 changed files
with
256 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,181 @@ | ||
# Message samples for TLS and DTLS | ||
|
||
## General | ||
|
||
The `pcap` files in the current folder contain WireShark captures that have been used to populate | ||
several of the folders with the path prefix `../tls*` containing raw packets with specific TLS or | ||
DTLS message types. See the original resources referenced below for the full details of the | ||
applicable copyright terms. In addition, some of the folders contain also custom-built samples. | ||
Those have been documented in the respective folders. | ||
|
||
### About TLS 1.3 and DTLS 1.3 extensions | ||
|
||
Several of the extensions defined for TLS 1.2 / DTLS 1.2 are no more neither required nor supported in TLS 1.3 / DTLS 1.3. See [RFC 8446 4.2](https://datatracker.ietf.org/doc/html/rfc8446#section-4.2) for the applicable extensions. | ||
|
||
However, many available TLS 1.3 and DTLS 1.3 captures still contain some extensions that should not be there. | ||
For instance, the Encrypt_Then_Mac extension (22). | ||
Presumably, the other parties just ignore them. | ||
However, for strict compliance they should be rejected. | ||
See the `invalid` folders of the respective samples for more information. | ||
|
||
## TLS: Captures | ||
|
||
### Capture 1: Illustrated TLS (TLS 1.3) | ||
|
||
* File: [tls13-1.pcap](tls13-1.pcap) -- TLS 1.3. session over TCP from "The Illustrated TLS | ||
Connection" [repository](https://tls13-1.pcap/syncsynchalt/illustrated-tls13). See also the related | ||
website: [https://tls13.xargs.org/](https://tls13.xargs.org/). | ||
|
||
* File: [tls13-1-keylog.txt](tls13-1-keylog.txt) -- A [NSS key | ||
log](https://web.archive.org/web/20230425034128/https://firefox-source-docs.mozilla.org/security/nss/legacy/key_log_format/index.html) | ||
for this capture. | ||
|
||
* Note: For TLS such files can be loaded in Wireshark by right-clicking a TLS packet and selecting | ||
`Protocol Preferences -> Transport Layer Security -> Pre-Master-Secret log filename` to let | ||
Wireshark decrypt and show TLS connection details. | ||
* Note: See [this IETF draft](https://datatracker.ietf.org/doc/draft-thomson-tls-keylogfile/) for | ||
followup documentation on that format. | ||
|
||
License: MIT. | ||
|
||
### Capture 2: TLS 1.3 WireShark test | ||
|
||
File: [tls13-2.pcap](tls13-2.pcap) -- WireShark test sample for TLS 1.3. Original file: [tls13-rfc8446.pcap](https://gitlab.com/wireshark/wireshark/-/blob/master/test/captures/tls13-rfc8446.pcap). | ||
|
||
License: GNU GPLv2. | ||
|
||
## TLS: Extracting Protocol Data Units (PDUs) | ||
|
||
For the extraction of TLS records from a `.pcap` file there are several possiblities. | ||
|
||
Unfortunately, at this point the [extract_packets.py](../../../../tools/extract_packets.py) script doesn't yet support the extraction of the TLS layer packets directly. We could extract the TCP segments this way. | ||
However, the TCP header doesn't have a fixed length (e.g., [see here](https://www.rfc-editor.org/rfc/rfc9293#name-header-format)). | ||
So, we cannot simply trim the segments by a fixed number. | ||
|
||
Instead, one solution is to export the TLS records manually from the Wireshark GUI by selecting the | ||
relevant part of the packet and choosing the action "Export Packet Bytes". | ||
This has been done for the `tls13-1.pcap` and parts of the `tls13-2.pcap` capture. | ||
|
||
Notes: | ||
* Not all the frames in that capture contain TLS records. | ||
Some are other TCP messages. | ||
* Some TCP segments contain multiple TLS records. | ||
* If the RecordFlux type does not correspond exactly to the packet tree in WireShark, then the | ||
extracted file might need further trimming. | ||
See the section [Extract DTLS packets](#2-extract-dtls-packets) for tips how to do that. | ||
|
||
# DTLS: Captures | ||
|
||
### Capture 1: dtls13-1.pcap (DTLS 1.3) | ||
|
||
File: [ws-dtls13.pcap](dtls13-1.pcap) -- DTLS 1.3. session over UDP from: | ||
https://gitlab.com/wireshark/wireshark/-/issues/18071. | ||
|
||
License: No explicit license mentioned. | ||
|
||
### Capture 2: Illustrated DTLS (DTLS 1.3) | ||
|
||
* File: [dtls13-2.pcap](dtls13-2.pcap) -- DTLS 1.3. session over UDP from "The Illustrated DTLS | ||
Connection" [repository](https://github.com/syncsynchalt/illustrated-dtls). See also the related | ||
website: [https://dtls.xargs.org](https://dtls.xargs.org). | ||
|
||
* File: [dtls13-2-keylog.txt](dtls13-2-keylog.txt) -- A [NSS key | ||
log](https://web.archive.org/web/20230425034128/https://firefox-source-docs.mozilla.org/security/nss/legacy/key_log_format/index.html) | ||
for this capture. | ||
|
||
* Note: For TLS such files can be loaded in Wireshark by right-clicking a TLS packet and selecting | ||
`Protocol Preferences -> Transport Layer Security -> Pre-Master-Secret log filename` to let | ||
Wireshark decrypt and show TLS connection details. However, as of Wireshark version version 4.0.6 | ||
this capability is not yet supported in Wireshark for DTLS. | ||
* Note: See [this IETF draft](https://datatracker.ietf.org/doc/draft-thomson-tls-keylogfile/) for | ||
followup documentation on that format. | ||
|
||
License: MIT. | ||
|
||
## DTLS: Extracting Protocol Data Units (PDUs) | ||
|
||
The extraction of DTLS packets from the `.pcap` files is done in several phases: | ||
|
||
1. The [extract_packets.py](../../../../tools/extract_packets.py) script is used to extract the byte | ||
representation of the UDP datagrams from the `.pcap` files. (Unfortunately, at this point the | ||
script doesn't yet support the extraction of DTLS layer packets directly.) | ||
1. Remove the UDP headers to obtain the payload bytes. | ||
1. If the UDP payload contains multiple DTLS records, then split them further into several smaller | ||
files. | ||
|
||
### 1. Extract UDP datagrams | ||
|
||
For instance, a file `capture.pcap` capture can be split to UDP datagrams like this: | ||
|
||
```console | ||
RECORDFLUX_DIR/tools/extract_packets.py inet.UDP \ | ||
CAPTURES_DIR/capture.pcap \ | ||
OUTPUT_DIR | ||
``` | ||
### 2. Extract DTLS packets | ||
|
||
The UDP frame header has a fixed length of 8 bytes (e.g., [see | ||
here](https://en.wikipedia.org/wiki/User_Datagram_Protocol#UDP_datagram_structure)). So, we can just | ||
use any tool to drop off the first 8 bytes from the frame. For instance, it could be done using the | ||
`tail` utility on Linux like that (note that the bytes that will be included start from the next | ||
position, i.e. 9): | ||
|
||
```console | ||
$ tail -c +9 INPUT_FILE > OUTPUT_FILE | ||
``` | ||
|
||
For example, assuming that the UDP frames have been stored to some directory one frame per file and | ||
each file has the extension .raw, then you can do: | ||
|
||
```console | ||
$ cd UDP_DIR | ||
$ find -maxdepth 1 -name "*.raw" -exec sh -c "tail -c +9 {} > DTLS_DIR/{}" \; | ||
``` | ||
|
||
### 3. Split multi-record datagrams | ||
|
||
A single UDP datagaram (packet) may carry multiple DTLS records. There is no generic means to | ||
extract those records without decoding the record data first. For instance, the `dtls13-1` capture | ||
03 contains 3 records, captures 06 and 08 contain 2 records. The lengths of these records have been | ||
determined one by one and the respective sample files have been split to smaller sample files. | ||
|
||
For example: | ||
|
||
```console | ||
$ # Extract 144 bytes from the beginning of a file. | ||
$ head -c 144 dtls13-1_03.raw > dtls13-1_03a.raw | ||
$ # Extract 36 bytes from the middle of the file starting with position 145. | ||
$ tail -c +145 dtls13-1_03.raw | head -c 36 > dtls13-1_03b.raw | ||
$ # Extract 77 bytes from the end of the file. | ||
$ tail -c 77 dtls13-1_03.raw > dtls13-1_03c.raw | ||
``` | ||
### Sample file naming scheme | ||
|
||
The following naming convention has been used: | ||
|
||
``` | ||
<capture_prefix>_<2 digit frame id><record id letter>?(_<packet type id><index>?)*.raw | ||
``` | ||
|
||
For example: | ||
|
||
``` | ||
tls13-1_04a_hs_ch_ex0.raw | ||
where: | ||
* capture_prefix = `tls13-1` | ||
* 2 digit frame id = `04` <-- Ethernet frame number 5. | ||
* record id letter = `a` <-- 1st DTLS_Record (DTLS_Plaintext) in the TCP segment. | ||
* packet type id 1 = `hs` <-- Handshake message | ||
* packet type id 2 = `ch` <-- ClientHello message | ||
* packet type id 3 = `ex0` <-- Extension number 1 | ||
``` | ||
|
||
``` | ||
dtls13-1_03b.raw | ||
where: | ||
* capture_prefix = `dtls13-1` | ||
* 2 digit frame id = `03` <-- Ethernet frame number 4. | ||
* record id letter = `b` <-- 2nd DTLS_Record (DTLS_Ciphertext) in the packet. | ||
``` |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
CLIENT_HANDSHAKE_TRAFFIC_SECRET e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff 33e472fb8d821b0193314626bebee307ccbd1aeb3d3a17ba468888ffc5246da1 | ||
SERVER_HANDSHAKE_TRAFFIC_SECRET e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff 8ad7990b9d249bcbaa0805d8d3f3ad2259e75f3a42c5d84db3ea3c6ee57b3d38 | ||
CLIENT_TRAFFIC_SECRET e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff a9185352f61134f1d24eaa4a930fff2edca40ce8c06420848deb27699e9baf2c | ||
SERVER_TRAFFIC_SECRET e0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff 4ab12ae4022fc013eca21abb071e13aa24a150e3876c660fe0ed10a8eebd8f17 |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
SERVER_HANDSHAKE_TRAFFIC_SECRET 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 23323da031634b241dd37d61032b62a4f450584d1f7f47983ba2f7cc0cdcc39a68f481f2b019f9403a3051908a5d1622 | ||
CLIENT_HANDSHAKE_TRAFFIC_SECRET 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f db89d2d6df0e84fed74a2288f8fd4d0959f790ff23946cdf4c26d85e51bebd42ae184501972f8d30c4a3e4a3693d0ef0 | ||
EXPORTER_SECRET 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 5da16dd8325dd8279e4535363384d9ad0dbe370538fc3ad74e53d533b77ac35ee072d56c90871344e6857ccb2efc9e14 | ||
SERVER_TRAFFIC_SECRET_0 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 86c967fd7747a36a0685b4ed8d0e6b4c02b4ddaf3cd294aa44e9f6b0183bf911e89a189ba5dfd71fccffb5cc164901f8 | ||
CLIENT_TRAFFIC_SECRET_0 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f 9e47af27cb60d818a9ea7d233cb5ed4cc525fcd74614fb24b0ee59acb8e5aa7ff8d88b89792114208fec291a6fa96bad |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Valid DTLS Alert messages | ||
|
||
File: [dtls13-0_00.raw](dtls13-0_00.raw) -- A simple DTLS Alert message. Produced using RecordFlux generated Ada SPARK code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Z |
20 changes: 20 additions & 0 deletions
20
tests/examples/data/tls_handshake/ch_extension/invalid/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
* tls13-1_04a_hs_ch_ex1.raw | ||
* Bad Extension type: Ec_Point_Formats(11) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-1_04a_hs_ch_ex3.raw | ||
* Bad Extension type: Session_Ticket(35) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-1_04a_hs_ch_ex4.raw | ||
* Bad Extension type: Encrypt_Then_Mac(22) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-1_04a_hs_ch_ex5.raw | ||
* Bad Extension type: Extended_Master_Secret(23) -- This extension type isn't strictly compatible with TLS 1.3. | ||
|
||
* tls13-2_00_hs_ch_ex0.raw | ||
* Bad Extension type: Renegotiation_Info(65281) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-2_00_hs_ch_ex1.raw | ||
* Bad Extension type: Extended_Master_Secret(23) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-2_00_hs_ch_ex2.raw | ||
* Bad Extension type: Session_Ticket(35) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-2_00_hs_ch_ex4.raw | ||
* Bad Extension type: Ec_Point_Formats(11) -- This extension type isn't strictly compatible with TLS 1.3. | ||
* tls13-2_00_hs_ch_ex7.raw | ||
* A Supported_Versions(43) extension which contains non-standard draft versions of TLS 1.3. These are not supported by the current RecordFlux TLS 1.3 specification. | ||
|
Binary file added
BIN
+8 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-1_04a_hs_ch_ex1.raw
Binary file not shown.
Binary file added
BIN
+4 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-1_04a_hs_ch_ex3.raw
Binary file not shown.
Binary file added
BIN
+4 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-1_04a_hs_ch_ex4.raw
Binary file not shown.
Binary file added
BIN
+4 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-1_04a_hs_ch_ex5.raw
Binary file not shown.
Binary file added
BIN
+5 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-2_00_hs_ch_ex0.raw
Binary file not shown.
Binary file added
BIN
+4 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-2_00_hs_ch_ex1.raw
Binary file not shown.
Binary file added
BIN
+4 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-2_00_hs_ch_ex2.raw
Binary file not shown.
Binary file added
BIN
+6 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-2_00_hs_ch_ex4.raw
Binary file not shown.
Binary file added
BIN
+17 Bytes
tests/examples/data/tls_handshake/ch_extension/invalid/tls13-2_00_hs_ch_ex7.raw
Binary file not shown.
Binary file added
BIN
+28 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-1_04a_hs_ch_ex0.raw
Binary file not shown.
Binary file added
BIN
+26 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-1_04a_hs_ch_ex2.raw
Binary file not shown.
Binary file added
BIN
+34 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-1_04a_hs_ch_ex6.raw
Binary file not shown.
Binary file added
BIN
+7 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-1_04a_hs_ch_ex7.raw
Binary file not shown.
Binary file added
BIN
+6 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-1_04a_hs_ch_ex8.raw
Binary file not shown.
Binary file added
BIN
+42 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-1_04a_hs_ch_ex9.raw
Binary file not shown.
Binary file added
BIN
+24 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-2_00_hs_ch_ex3.raw
Binary file not shown.
Binary file added
BIN
+42 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-2_00_hs_ch_ex5.raw
Binary file not shown.
Binary file added
BIN
+6 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-2_00_hs_ch_ex6.raw
Binary file not shown.
Binary file added
BIN
+12 Bytes
tests/examples/data/tls_handshake/ch_extension/valid/tls13-2_00_hs_ch_ex8.raw
Binary file not shown.
Binary file added
BIN
+578 Bytes
tests/examples/data/tls_handshake/client_hello/invalid/dtls13-1_00_hs_ch.raw
Binary file not shown.
Binary file added
BIN
+578 Bytes
tests/examples/data/tls_handshake/client_hello/invalid/dtls13-1_01_hs_ch.raw
Binary file not shown.
Binary file added
BIN
+578 Bytes
tests/examples/data/tls_handshake/client_hello/invalid/dtls13-1_02_hs_ch.raw
Binary file not shown.
Binary file added
BIN
+229 Bytes
tests/examples/data/tls_handshake/client_hello/invalid/tls13-2_00_hs_ch.raw
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
tests/examples/data/tls_handshake/dtls_handshake/invalid/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* dtls13-1_00_hs.raw | ||
* Invalid due to unsupported extensions. See [../../ch_extension/invalid/README.md](../../ch_extension/invalid/README.md) | ||
|
||
* dtls13-1_01_hs.raw | ||
* Invalid due to unsupported extensions. See [../../ch_extension/invalid/README.md](../../ch_extension/invalid/README.md) | ||
|
||
* dtls13-1_02_hs.raw | ||
* Invalid due to unsupported extensions. See [../../ch_extension/invalid/README.md](../../ch_extension/invalid/README.md) |
Binary file added
BIN
+590 Bytes
tests/examples/data/tls_handshake/dtls_handshake/invalid/dtls13-1_00_hs.raw
Binary file not shown.
Binary file added
BIN
+590 Bytes
tests/examples/data/tls_handshake/dtls_handshake/invalid/dtls13-1_01_hs.raw
Binary file not shown.
Binary file added
BIN
+590 Bytes
tests/examples/data/tls_handshake/dtls_handshake/invalid/dtls13-1_02_hs.raw
Binary file not shown.
Binary file added
BIN
+131 Bytes
tests/examples/data/tls_handshake/dtls_handshake/valid/dtls13-1_03a_hs.raw
Binary file not shown.
Binary file added
BIN
+119 Bytes
tests/examples/data/tls_handshake/server_hello/valid/dtls13-1_03a_hs_sh.raw
Binary file not shown.
Binary file added
BIN
+118 Bytes
tests/examples/data/tls_handshake/server_hello/valid/tls13-2_01a_hs_sh.raw
Binary file not shown.
Binary file added
BIN
+40 Bytes
tests/examples/data/tls_handshake/sh_extension/valid/tls13-2_01a_hs_sh_ex0.raw
Binary file not shown.
Binary file added
BIN
+6 Bytes
tests/examples/data/tls_handshake/sh_extension/valid/tls13-2_01a_hs_sh_ex1.raw
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
tests/examples/data/tls_handshake/tls_handshake/invalid/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
* tls13-1_04_hs.raw | ||
* Invalid due to unsupported extensions. See [../../ch_extension/invalid/README.md](../../ch_extension/invalid/README.md) | ||
|
||
* tls13-2_00_hs.raw | ||
* Invalid due to unsupported extensions. See [../../ch_extension/invalid/README.md](../../ch_extension/invalid/README.md) |
Binary file added
BIN
+248 Bytes
tests/examples/data/tls_handshake/tls_handshake/invalid/tls13-1_04_hs.raw
Binary file not shown.
Binary file added
BIN
+233 Bytes
tests/examples/data/tls_handshake/tls_handshake/invalid/tls13-2_00_hs.raw
Binary file not shown.
Binary file added
BIN
+122 Bytes
tests/examples/data/tls_handshake/tls_handshake/valid/tls13-1_06a_hs.raw
Binary file not shown.
Binary file added
BIN
+122 Bytes
tests/examples/data/tls_handshake/tls_handshake/valid/tls13-2_01a_hs.raw
Binary file not shown.
Binary file added
BIN
+36 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_03b.raw
Binary file not shown.
Binary file added
BIN
+77 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_03c.raw
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+294 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_06a.raw
Binary file not shown.
Binary file added
BIN
+66 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_06b.raw
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+294 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_08a.raw
Binary file not shown.
Binary file added
BIN
+66 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_08b.raw
Binary file not shown.
Binary file added
BIN
+48 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_09.raw
Binary file not shown.
Binary file added
BIN
+232 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_10.raw
Binary file not shown.
Binary file added
BIN
+36 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_11.raw
Binary file not shown.
Binary file added
BIN
+33 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_12.raw
Binary file not shown.
Binary file added
BIN
+33 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_13.raw
Binary file not shown.
Binary file added
BIN
+24 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_14.raw
Binary file not shown.
Binary file added
BIN
+32 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_15.raw
Binary file not shown.
Binary file added
BIN
+24 Bytes
tests/examples/data/tls_record/dtls_ciphertext/valid/dtls13-1_16.raw
Binary file not shown.
8 changes: 8 additions & 0 deletions
8
tests/examples/data/tls_record/tls_plaintext/invalid/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
* dtls13-1_00.raw | ||
* Invalid due to unsupported extensions. See [(../../../tls_handshake/ch_extension/invalid/README.md)](../../../tls_handshake/ch_extension/invalid/README.md) | ||
|
||
* dtls13-1_01.raw | ||
* Invalid due to unsupported extensions. See [(../../../tls_handshake/ch_extension/invalid/README.md)](../../../tls_handshake/ch_extension/invalid/README.md) | ||
|
||
* dtls13-1_02.raw | ||
* Invalid due to unsupported extensions. See [(../../../tls_handshake/ch_extension/invalid/README.md)](../../../tls_handshake/ch_extension/invalid/README.md) |
Binary file added
BIN
+603 Bytes
tests/examples/data/tls_record/tls_plaintext/invalid/dtls13-1_00.raw
Binary file not shown.
Binary file added
BIN
+603 Bytes
tests/examples/data/tls_record/tls_plaintext/invalid/dtls13-1_01.raw
Binary file not shown.
Binary file added
BIN
+603 Bytes
tests/examples/data/tls_record/tls_plaintext/invalid/dtls13-1_02.raw
Binary file not shown.
Binary file added
BIN
+144 Bytes
tests/examples/data/tls_record/tls_plaintext/valid/dtls13-1_03a.raw
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/examples/data/tls_record/tls_record/invalid/dtls13-1_00.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../tls_plaintext/invalid/dtls13-1_00.raw |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/examples/data/tls_record/tls_record/valid/dtls13-1_03b.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../dtls_ciphertext/valid/dtls13-1_03b.raw |
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions
1
tests/examples/data/tls_record/tls_record/valid/dtls13-2_04.raw
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters