From 1d4b567d96ee0b8209e1f90da39be3809099cc12 Mon Sep 17 00:00:00 2001 From: mnovak Date: Wed, 18 Nov 2026 18:06:05 +0100 Subject: [PATCH] [bench] Conformance, first run (WSL2 Ubuntu, release): h2spec Ianitor 144/145 passed, 0 failed, Caddy 2.11.7 140 passed, 4 failed; testssl.sh A+ for both; the failure list reads only h2spec's Failures section --- bench/conformance/caddy-h2spec-failed.txt | 4 + bench/conformance/caddy-h2spec.txt | 314 ++++++ bench/conformance/caddy-testssl.json | 1117 +++++++++++++++++++ bench/conformance/caddy-testssl.txt | 197 ++++ bench/conformance/ianitor-h2spec-failed.txt | 0 bench/conformance/ianitor-h2spec.txt | 261 +++++ bench/conformance/ianitor-testssl.json | 1103 ++++++++++++++++++ bench/conformance/ianitor-testssl.txt | 196 ++++ bench/conformance/run.json | 1 + scripts/conformance.sh | 3 +- 10 files changed, 3195 insertions(+), 1 deletion(-) create mode 100644 bench/conformance/caddy-h2spec-failed.txt create mode 100644 bench/conformance/caddy-h2spec.txt create mode 100644 bench/conformance/caddy-testssl.json create mode 100644 bench/conformance/caddy-testssl.txt create mode 100644 bench/conformance/ianitor-h2spec-failed.txt create mode 100644 bench/conformance/ianitor-h2spec.txt create mode 100644 bench/conformance/ianitor-testssl.json create mode 100644 bench/conformance/ianitor-testssl.txt create mode 100644 bench/conformance/run.json diff --git a/bench/conformance/caddy-h2spec-failed.txt b/bench/conformance/caddy-h2spec-failed.txt new file mode 100644 index 0000000..11bd980 --- /dev/null +++ b/bench/conformance/caddy-h2spec-failed.txt @@ -0,0 +1,4 @@ +1: Sends a HEADERS frame that contains the connection-specific header field +1: Sends multiple values of SETTINGS_INITIAL_WINDOW_SIZE +2: Sends a HEADERS frame that contains the TE header field with any value other than "trailers" +3: Sends a large size HEADERS frame that exceeds the SETTINGS_MAX_FRAME_SIZE diff --git a/bench/conformance/caddy-h2spec.txt b/bench/conformance/caddy-h2spec.txt new file mode 100644 index 0000000..6d8c942 --- /dev/null +++ b/bench/conformance/caddy-h2spec.txt @@ -0,0 +1,314 @@ +Generic tests for HTTP/2 server + 1. Starting HTTP/2 + 1: Sends a client connection preface ✔ 1: Sends a client connection preface + + 2. Streams and Multiplexing + 1: Sends a PRIORITY frame on idle stream ✔ 1: Sends a PRIORITY frame on idle stream + 2: Sends a WINDOW_UPDATE frame on half-closed (remote) stream ✔ 2: Sends a WINDOW_UPDATE frame on half-closed (remote) stream + 3: Sends a PRIORITY frame on half-closed (remote) stream ✔ 3: Sends a PRIORITY frame on half-closed (remote) stream + 4: Sends a RST_STREAM frame on half-closed (remote) stream ✔ 4: Sends a RST_STREAM frame on half-closed (remote) stream + 5: Sends a PRIORITY frame on closed stream ✔ 5: Sends a PRIORITY frame on closed stream + + 3. Frame Definitions + 3.1. DATA + 1: Sends a DATA frame ✔ 1: Sends a DATA frame + 2: Sends multiple DATA frames ✔ 2: Sends multiple DATA frames + 3: Sends a DATA frame with padding ✔ 3: Sends a DATA frame with padding + + 3.2. HEADERS + 1: Sends a HEADERS frame ✔ 1: Sends a HEADERS frame + 2: Sends a HEADERS frame with padding ✔ 2: Sends a HEADERS frame with padding + 3: Sends a HEADERS frame with priority ✔ 3: Sends a HEADERS frame with priority + + 3.3. PRIORITY + 1: Sends a PRIORITY frame with priority 1 ✔ 1: Sends a PRIORITY frame with priority 1 + 2: Sends a PRIORITY frame with priority 256 ✔ 2: Sends a PRIORITY frame with priority 256 + 3: Sends a PRIORITY frame with stream dependency ✔ 3: Sends a PRIORITY frame with stream dependency + 4: Sends a PRIORITY frame with exclusive ✔ 4: Sends a PRIORITY frame with exclusive + 5: Sends a PRIORITY frame for an idle stream, then send a HEADER frame for a lower stream ID ✔ 5: Sends a PRIORITY frame for an idle stream, then send a HEADER frame for a lower stream ID + + 3.4. RST_STREAM + 1: Sends a RST_STREAM frame ✔ 1: Sends a RST_STREAM frame + + 3.5. SETTINGS + 1: Sends a SETTINGS frame ✔ 1: Sends a SETTINGS frame + + 3.7. PING + 1: Sends a PING frame ✔ 1: Sends a PING frame + + 3.8. GOAWAY + 1: Sends a GOAWAY frame ✔ 1: Sends a GOAWAY frame + + 3.9. WINDOW_UPDATE + 1: Sends a WINDOW_UPDATE frame with stream ID 0 ✔ 1: Sends a WINDOW_UPDATE frame with stream ID 0 + 2: Sends a WINDOW_UPDATE frame with stream ID 1 ✔ 2: Sends a WINDOW_UPDATE frame with stream ID 1 + + 3.10. CONTINUATION + 1: Sends a CONTINUATION frame ✔ 1: Sends a CONTINUATION frame + 2: Sends multiple CONTINUATION frames ✔ 2: Sends multiple CONTINUATION frames + + 4. HTTP Message Exchanges + 1: Sends a GET request ✔ 1: Sends a GET request + 2: Sends a HEAD request ✔ 2: Sends a HEAD request + 3: Sends a POST request ✔ 3: Sends a POST request + 4: Sends a POST request with trailers ✔ 4: Sends a POST request with trailers + + 5. HPACK + 1: Sends a indexed header field representation ✔ 1: Sends a indexed header field representation + 2: Sends a literal header field with incremental indexing - indexed name ✔ 2: Sends a literal header field with incremental indexing - indexed name + 3: Sends a literal header field with incremental indexing - indexed name (with Huffman coding) ✔ 3: Sends a literal header field with incremental indexing - indexed name (with Huffman coding) + 4: Sends a literal header field with incremental indexing - new name ✔ 4: Sends a literal header field with incremental indexing - new name + 5: Sends a literal header field with incremental indexing - new name (with Huffman coding) ✔ 5: Sends a literal header field with incremental indexing - new name (with Huffman coding) + 6: Sends a literal header field without indexing - indexed name ✔ 6: Sends a literal header field without indexing - indexed name + 7: Sends a literal header field without indexing - indexed name (with Huffman coding) ✔ 7: Sends a literal header field without indexing - indexed name (with Huffman coding) + 8: Sends a literal header field without indexing - new name ✔ 8: Sends a literal header field without indexing - new name + 9: Sends a literal header field without indexing - new name (huffman encoded) ✔ 9: Sends a literal header field without indexing - new name (huffman encoded) + 10: Sends a literal header field never indexed - indexed name ✔ 10: Sends a literal header field never indexed - indexed name + 11: Sends a literal header field never indexed - indexed name (huffman encoded) ✔ 11: Sends a literal header field never indexed - indexed name (huffman encoded) + 12: Sends a literal header field never indexed - new name ✔ 12: Sends a literal header field never indexed - new name + 13: Sends a literal header field never indexed - new name (huffman encoded) ✔ 13: Sends a literal header field never indexed - new name (huffman encoded) + 14: Sends a dynamic table size update ✔ 14: Sends a dynamic table size update + 15: Sends multiple dynamic table size update ✔ 15: Sends multiple dynamic table size update + +Hypertext Transfer Protocol Version 2 (HTTP/2) + 3. Starting HTTP/2 + 3.5. HTTP/2 Connection Preface + 1: Sends client connection preface ✔ 1: Sends client connection preface + 2: Sends invalid connection preface ✔ 2: Sends invalid connection preface + + 4. HTTP Frames + 4.1. Frame Format + 1: Sends a frame with unknown type ✔ 1: Sends a frame with unknown type + 2: Sends a frame with undefined flag ✔ 2: Sends a frame with undefined flag + 3: Sends a frame with reserved field bit ✔ 3: Sends a frame with reserved field bit + + 4.2. Frame Size + 1: Sends a DATA frame with 2^14 octets in length ✔ 1: Sends a DATA frame with 2^14 octets in length + 2: Sends a large size DATA frame that exceeds the SETTINGS_MAX_FRAME_SIZE ✔ 2: Sends a large size DATA frame that exceeds the SETTINGS_MAX_FRAME_SIZE + 3: Sends a large size HEADERS frame that exceeds the SETTINGS_MAX_FRAME_SIZE × 3: Sends a large size HEADERS frame that exceeds the SETTINGS_MAX_FRAME_SIZE + -> The endpoint MUST respond with a connection error of type FRAME_SIZE_ERROR. + Expected: GOAWAY Frame (Error Code: FRAME_SIZE_ERROR) + Connection closed + Actual: DATA Frame (length:63, flags:0x01, stream_id:1) + + 4.3. Header Compression and Decompression + 1: Sends invalid header block fragment ✔ 1: Sends invalid header block fragment + 2: Sends a PRIORITY frame while sending the header blocks ✔ 2: Sends a PRIORITY frame while sending the header blocks + 3: Sends a HEADERS frame to another stream while sending the header blocks ✔ 3: Sends a HEADERS frame to another stream while sending the header blocks + + 5. Streams and Multiplexing + 5.1. Stream States + 1: idle: Sends a DATA frame ✔ 1: idle: Sends a DATA frame + 2: idle: Sends a RST_STREAM frame ✔ 2: idle: Sends a RST_STREAM frame + 3: idle: Sends a WINDOW_UPDATE frame ✔ 3: idle: Sends a WINDOW_UPDATE frame + 4: idle: Sends a CONTINUATION frame ✔ 4: idle: Sends a CONTINUATION frame + 5: half closed (remote): Sends a DATA frame ✔ 5: half closed (remote): Sends a DATA frame + 6: half closed (remote): Sends a HEADERS frame ✔ 6: half closed (remote): Sends a HEADERS frame + 7: half closed (remote): Sends a CONTINUATION frame ✔ 7: half closed (remote): Sends a CONTINUATION frame + 8: closed: Sends a DATA frame after sending RST_STREAM frame ✔ 8: closed: Sends a DATA frame after sending RST_STREAM frame + 9: closed: Sends a HEADERS frame after sending RST_STREAM frame ✔ 9: closed: Sends a HEADERS frame after sending RST_STREAM frame + 10: closed: Sends a CONTINUATION frame after sending RST_STREAM frame ✔ 10: closed: Sends a CONTINUATION frame after sending RST_STREAM frame + 11: closed: Sends a DATA frame ✔ 11: closed: Sends a DATA frame + 12: closed: Sends a HEADERS frame ✔ 12: closed: Sends a HEADERS frame + 13: closed: Sends a CONTINUATION frame ✔ 13: closed: Sends a CONTINUATION frame + + 5.1.1. Stream Identifiers + 1: Sends even-numbered stream identifier ✔ 1: Sends even-numbered stream identifier + 2: Sends stream identifier that is numerically smaller than previous ✔ 2: Sends stream identifier that is numerically smaller than previous + + 5.1.2. Stream Concurrency + 1: Sends HEADERS frames that causes their advertised concurrent stream limit to be exceeded ✔ 1: Sends HEADERS frames that causes their advertised concurrent stream limit to be exceeded + + 5.3. Stream Priority + 5.3.1. Stream Dependencies + 1: Sends HEADERS frame that depend on itself ✔ 1: Sends HEADERS frame that depend on itself + 2: Sends PRIORITY frame that depend on itself ✔ 2: Sends PRIORITY frame that depend on itself + + 5.4. Error Handling + 5.4.1. Connection Error Handling + 1: Sends an invalid PING frame for connection close ✔ 1: Sends an invalid PING frame for connection close + + 5.5. Extending HTTP/2 + 1: Sends an unknown extension frame ✔ 1: Sends an unknown extension frame + 2: Sends an unknown extension frame in the middle of a header block ✔ 2: Sends an unknown extension frame in the middle of a header block + + 6. Frame Definitions + 6.1. DATA + 1: Sends a DATA frame with 0x0 stream identifier ✔ 1: Sends a DATA frame with 0x0 stream identifier + 2: Sends a DATA frame on the stream that is not in "open" or "half-closed (local)" state ✔ 2: Sends a DATA frame on the stream that is not in "open" or "half-closed (local)" state + 3: Sends a DATA frame with invalid pad length ✔ 3: Sends a DATA frame with invalid pad length + + 6.2. HEADERS + 1: Sends a HEADERS frame without the END_HEADERS flag, and a PRIORITY frame ✔ 1: Sends a HEADERS frame without the END_HEADERS flag, and a PRIORITY frame + 2: Sends a HEADERS frame to another stream while sending a HEADERS frame ✔ 2: Sends a HEADERS frame to another stream while sending a HEADERS frame + 3: Sends a HEADERS frame with 0x0 stream identifier ✔ 3: Sends a HEADERS frame with 0x0 stream identifier + 4: Sends a HEADERS frame with invalid pad length ✔ 4: Sends a HEADERS frame with invalid pad length + + 6.3. PRIORITY + 1: Sends a PRIORITY frame with 0x0 stream identifier ✔ 1: Sends a PRIORITY frame with 0x0 stream identifier + 2: Sends a PRIORITY frame with a length other than 5 octets ✔ 2: Sends a PRIORITY frame with a length other than 5 octets + + 6.4. RST_STREAM + 1: Sends a RST_STREAM frame with 0x0 stream identifier ✔ 1: Sends a RST_STREAM frame with 0x0 stream identifier + 2: Sends a RST_STREAM frame on a idle stream ✔ 2: Sends a RST_STREAM frame on a idle stream + 3: Sends a RST_STREAM frame with a length other than 4 octets ✔ 3: Sends a RST_STREAM frame with a length other than 4 octets + + 6.5. SETTINGS + 1: Sends a SETTINGS frame with ACK flag and payload ✔ 1: Sends a SETTINGS frame with ACK flag and payload + 2: Sends a SETTINGS frame with a stream identifier other than 0x0 ✔ 2: Sends a SETTINGS frame with a stream identifier other than 0x0 + 3: Sends a SETTINGS frame with a length other than a multiple of 6 octets ✔ 3: Sends a SETTINGS frame with a length other than a multiple of 6 octets + + 6.5.2. Defined SETTINGS Parameters + 1: SETTINGS_ENABLE_PUSH (0x2): Sends the value other than 0 or 1 ✔ 1: SETTINGS_ENABLE_PUSH (0x2): Sends the value other than 0 or 1 + 2: SETTINGS_INITIAL_WINDOW_SIZE (0x4): Sends the value above the maximum flow control window size ✔ 2: SETTINGS_INITIAL_WINDOW_SIZE (0x4): Sends the value above the maximum flow control window size + 3: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value below the initial value ✔ 3: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value below the initial value + 4: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value above the maximum allowed frame size ✔ 4: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value above the maximum allowed frame size + 5: Sends a SETTINGS frame with unknown identifier ✔ 5: Sends a SETTINGS frame with unknown identifier + + 6.5.3. Settings Synchronization + 1: Sends multiple values of SETTINGS_INITIAL_WINDOW_SIZE × 1: Sends multiple values of SETTINGS_INITIAL_WINDOW_SIZE + -> The endpoint MUST process the values in the settings in the order they apper. + Expected: SETTINGS Frame (length:0, flags:0x01, stream_id:0) + Actual: Connection closed + 2: Sends a SETTINGS frame without ACK flag ✔ 2: Sends a SETTINGS frame without ACK flag + + 6.7. PING + 1: Sends a PING frame ✔ 1: Sends a PING frame + 2: Sends a PING frame with ACK ✔ 2: Sends a PING frame with ACK + 3: Sends a PING frame with a stream identifier field value other than 0x0 ✔ 3: Sends a PING frame with a stream identifier field value other than 0x0 + 4: Sends a PING frame with a length field value other than 8 ✔ 4: Sends a PING frame with a length field value other than 8 + + 6.8. GOAWAY + 1: Sends a GOAWAY frame with a stream identifier other than 0x0 ✔ 1: Sends a GOAWAY frame with a stream identifier other than 0x0 + + 6.9. WINDOW_UPDATE + 1: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 ✔ 1: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 + 2: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 on a stream ✔ 2: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 on a stream + 3: Sends a WINDOW_UPDATE frame with a length other than 4 octets ✔ 3: Sends a WINDOW_UPDATE frame with a length other than 4 octets + + 6.9.1. The Flow-Control Window + 1: Sends SETTINGS frame to set the initial window size to 1 and sends HEADERS frame ✔ 1: Sends SETTINGS frame to set the initial window size to 1 and sends HEADERS frame + 2: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 ✔ 2: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 + 3: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream ✔ 3: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream + + 6.9.2. Initial Flow-Control Window Size + 1: Changes SETTINGS_INITIAL_WINDOW_SIZE after sending HEADERS frame ✔ 1: Changes SETTINGS_INITIAL_WINDOW_SIZE after sending HEADERS frame + 2: Sends a SETTINGS frame for window size to be negative 2: Sends a SETTINGS frame for window size to be negative + 3: Sends a SETTINGS_INITIAL_WINDOW_SIZE settings with an exceeded maximum window size value ✔ 3: Sends a SETTINGS_INITIAL_WINDOW_SIZE settings with an exceeded maximum window size value + + 6.10. CONTINUATION + 1: Sends multiple CONTINUATION frames preceded by a HEADERS frame ✔ 1: Sends multiple CONTINUATION frames preceded by a HEADERS frame + 2: Sends a CONTINUATION frame followed by any frame other than CONTINUATION ✔ 2: Sends a CONTINUATION frame followed by any frame other than CONTINUATION + 3: Sends a CONTINUATION frame with 0x0 stream identifier ✔ 3: Sends a CONTINUATION frame with 0x0 stream identifier + 4: Sends a CONTINUATION frame preceded by a HEADERS frame with END_HEADERS flag ✔ 4: Sends a CONTINUATION frame preceded by a HEADERS frame with END_HEADERS flag + 5: Sends a CONTINUATION frame preceded by a CONTINUATION frame with END_HEADERS flag ✔ 5: Sends a CONTINUATION frame preceded by a CONTINUATION frame with END_HEADERS flag + 6: Sends a CONTINUATION frame preceded by a DATA frame ✔ 6: Sends a CONTINUATION frame preceded by a DATA frame + + 7. Error Codes + 1: Sends a GOAWAY frame with unknown error code ✔ 1: Sends a GOAWAY frame with unknown error code + 2: Sends a RST_STREAM frame with unknown error code ✔ 2: Sends a RST_STREAM frame with unknown error code + + 8. HTTP Message Exchanges + 8.1. HTTP Request/Response Exchange + 1: Sends a second HEADERS frame without the END_STREAM flag ✔ 1: Sends a second HEADERS frame without the END_STREAM flag + + 8.1.2. HTTP Header Fields + 1: Sends a HEADERS frame that contains the header field name in uppercase letters ✔ 1: Sends a HEADERS frame that contains the header field name in uppercase letters + + 8.1.2.1. Pseudo-Header Fields + 1: Sends a HEADERS frame that contains a unknown pseudo-header field ✔ 1: Sends a HEADERS frame that contains a unknown pseudo-header field + 2: Sends a HEADERS frame that contains the pseudo-header field defined for response ✔ 2: Sends a HEADERS frame that contains the pseudo-header field defined for response + 3: Sends a HEADERS frame that contains a pseudo-header field as trailers ✔ 3: Sends a HEADERS frame that contains a pseudo-header field as trailers + 4: Sends a HEADERS frame that contains a pseudo-header field that appears in a header block after a regular header field ✔ 4: Sends a HEADERS frame that contains a pseudo-header field that appears in a header block after a regular header field + + 8.1.2.2. Connection-Specific Header Fields + 1: Sends a HEADERS frame that contains the connection-specific header field × 1: Sends a HEADERS frame that contains the connection-specific header field + -> The endpoint MUST respond with a stream error of type PROTOCOL_ERROR. + Expected: GOAWAY Frame (Error Code: PROTOCOL_ERROR) + RST_STREAM Frame (Error Code: PROTOCOL_ERROR) + Connection closed + Actual: DATA Frame (length:51, flags:0x01, stream_id:1) + 2: Sends a HEADERS frame that contains the TE header field with any value other than "trailers" × 2: Sends a HEADERS frame that contains the TE header field with any value other than "trailers" + -> The endpoint MUST respond with a stream error of type PROTOCOL_ERROR. + Expected: GOAWAY Frame (Error Code: PROTOCOL_ERROR) + RST_STREAM Frame (Error Code: PROTOCOL_ERROR) + Connection closed + Actual: DATA Frame (length:53, flags:0x01, stream_id:1) + + 8.1.2.3. Request Pseudo-Header Fields + 1: Sends a HEADERS frame with empty ":path" pseudo-header field ✔ 1: Sends a HEADERS frame with empty ":path" pseudo-header field + 2: Sends a HEADERS frame that omits ":method" pseudo-header field ✔ 2: Sends a HEADERS frame that omits ":method" pseudo-header field + 3: Sends a HEADERS frame that omits ":scheme" pseudo-header field ✔ 3: Sends a HEADERS frame that omits ":scheme" pseudo-header field + 4: Sends a HEADERS frame that omits ":path" pseudo-header field ✔ 4: Sends a HEADERS frame that omits ":path" pseudo-header field + 5: Sends a HEADERS frame with duplicated ":method" pseudo-header field ✔ 5: Sends a HEADERS frame with duplicated ":method" pseudo-header field + 6: Sends a HEADERS frame with duplicated ":scheme" pseudo-header field ✔ 6: Sends a HEADERS frame with duplicated ":scheme" pseudo-header field + 7: Sends a HEADERS frame with duplicated ":path" pseudo-header field ✔ 7: Sends a HEADERS frame with duplicated ":path" pseudo-header field + + 8.1.2.6. Malformed Requests and Responses + 1: Sends a HEADERS frame with the "content-length" header field which does not equal the DATA frame payload length ✔ 1: Sends a HEADERS frame with the "content-length" header field which does not equal the DATA frame payload length + 2: Sends a HEADERS frame with the "content-length" header field which does not equal the sum of the multiple DATA frames payload length ✔ 2: Sends a HEADERS frame with the "content-length" header field which does not equal the sum of the multiple DATA frames payload length + + 8.2. Server Push + 1: Sends a PUSH_PROMISE frame ✔ 1: Sends a PUSH_PROMISE frame + +HPACK: Header Compression for HTTP/2 + 2. Compression Process Overview + 2.3. Indexing Tables + 2.3.3. Index Address Space + 1: Sends a header field representation with invalid index ✔ 1: Sends a header field representation with invalid index + + 4. Dynamic Table Management + 4.2. Maximum Table Size + 1: Sends a dynamic table size update at the end of header block ✔ 1: Sends a dynamic table size update at the end of header block + + 5. Primitive Type Representations + 5.2. String Literal Representation + 1: Sends a Huffman-encoded string literal representation with padding longer than 7 bits ✔ 1: Sends a Huffman-encoded string literal representation with padding longer than 7 bits + 2: Sends a Huffman-encoded string literal representation padded by zero ✔ 2: Sends a Huffman-encoded string literal representation padded by zero + 3: Sends a Huffman-encoded string literal representation containing the EOS symbol ✔ 3: Sends a Huffman-encoded string literal representation containing the EOS symbol + + 6. Binary Format + 6.1. Indexed Header Field Representation + 1: Sends a indexed header field representation with index 0 ✔ 1: Sends a indexed header field representation with index 0 + + 6.3. Dynamic Table Size Update + 1: Sends a dynamic table size update larger than the value of SETTINGS_HEADER_TABLE_SIZE ✔ 1: Sends a dynamic table size update larger than the value of SETTINGS_HEADER_TABLE_SIZE + +Failures: + +Hypertext Transfer Protocol Version 2 (HTTP/2) + 4. HTTP Frames + 4.2. Frame Size + × 3: Sends a large size HEADERS frame that exceeds the SETTINGS_MAX_FRAME_SIZE + -> The endpoint MUST respond with a connection error of type FRAME_SIZE_ERROR. + Expected: GOAWAY Frame (Error Code: FRAME_SIZE_ERROR) + Connection closed + Actual: DATA Frame (length:63, flags:0x01, stream_id:1) + + 6. Frame Definitions + 6.5. SETTINGS + 6.5.3. Settings Synchronization + × 1: Sends multiple values of SETTINGS_INITIAL_WINDOW_SIZE + -> The endpoint MUST process the values in the settings in the order they apper. + Expected: SETTINGS Frame (length:0, flags:0x01, stream_id:0) + Actual: Connection closed + + 8. HTTP Message Exchanges + 8.1. HTTP Request/Response Exchange + 8.1.2. HTTP Header Fields + 8.1.2.2. Connection-Specific Header Fields + × 1: Sends a HEADERS frame that contains the connection-specific header field + -> The endpoint MUST respond with a stream error of type PROTOCOL_ERROR. + Expected: GOAWAY Frame (Error Code: PROTOCOL_ERROR) + RST_STREAM Frame (Error Code: PROTOCOL_ERROR) + Connection closed + Actual: DATA Frame (length:51, flags:0x01, stream_id:1) + × 2: Sends a HEADERS frame that contains the TE header field with any value other than "trailers" + -> The endpoint MUST respond with a stream error of type PROTOCOL_ERROR. + Expected: GOAWAY Frame (Error Code: PROTOCOL_ERROR) + RST_STREAM Frame (Error Code: PROTOCOL_ERROR) + Connection closed + Actual: DATA Frame (length:53, flags:0x01, stream_id:1) + +Finished in 19.5550 seconds +145 tests, 140 passed, 1 skipped, 4 failed diff --git a/bench/conformance/caddy-testssl.json b/bench/conformance/caddy-testssl.json new file mode 100644 index 0000000..103a231 --- /dev/null +++ b/bench/conformance/caddy-testssl.json @@ -0,0 +1,1117 @@ +[ + { + "id" : "service", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "HTTP" + } +, { + "id" : "pre_128cipher", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "No 128 cipher limit bug" + } +, { + "id" : "SSLv2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "not offered" + } +, { + "id" : "SSLv3", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "not offered" + } +, { + "id" : "TLS1", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "TLS1_1", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "TLS1_2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "offered" + } +, { + "id" : "TLS1_3", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "offered with final" + } +, { + "id" : "NPN", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "ALPN_HTTP2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "h2" + } +, { + "id" : "ALPN", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "http/1.1" + } +, { + "id" : "cipherlist_NULL", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_aNULL", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_EXPORT", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_LOW", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_3DES_IDEA", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "cwe" : "CWE-310", + "finding" : "not offered" + } +, { + "id" : "cipherlist_OBSOLETED", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "cwe" : "CWE-310", + "finding" : "not offered" + } +, { + "id" : "cipherlist_STRONG_NOFS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "cipherlist_STRONG_FS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "offered" + } +, { + "id" : "cipher_order-tls1_2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "server -- server prioritizes ChaCha ciphers when preferred by clients" + } +, { + "id" : "cipher-tls1_2_xc02b", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "TLSv1.2 xc02b ECDHE-ECDSA-AES128-GCM-SHA256 ECDH 253 AESGCM 128 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + } +, { + "id" : "cipher-tls1_2_xc02c", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "TLSv1.2 xc02c ECDHE-ECDSA-AES256-GCM-SHA384 ECDH 253 AESGCM 256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + } +, { + "id" : "cipher-tls1_2_xcca9", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "TLSv1.2 xcca9 ECDHE-ECDSA-CHACHA20-POLY1305 ECDH 253 ChaCha20 256 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256" + } +, { + "id" : "cipherorder_TLSv1_2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "ECDHE-ECDSA-AES128-GCM-SHA256 ECDHE-ECDSA-AES256-GCM-SHA384 ECDHE-ECDSA-CHACHA20-POLY1305" + } +, { + "id" : "prioritize_chacha_TLSv1_2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "true" + } +, { + "id" : "cipher_order-tls1_3", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "NOT a cipher order configured" + } +, { + "id" : "cipher-tls1_3_x1302", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "TLSv1.3 x1302 TLS_AES_256_GCM_SHA384 ECDH/MLKEM AESGCM 256 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "cipher-tls1_3_x1303", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "TLSv1.3 x1303 TLS_CHACHA20_POLY1305_SHA256 ECDH/MLKEM ChaCha20 256 TLS_CHACHA20_POLY1305_SHA256" + } +, { + "id" : "cipher-tls1_3_x1301", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "TLSv1.3 x1301 TLS_AES_128_GCM_SHA256 ECDH/MLKEM AESGCM 128 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "supportedciphers_TLSv1_3", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "cipher_order", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "server -- TLS 1.3 client determined" + } +, { + "id" : "FS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "offered" + } +, { + "id" : "FS_ciphers", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 ECDHE-ECDSA-AES256-GCM-SHA384 ECDHE-ECDSA-CHACHA20-POLY1305 TLS_AES_128_GCM_SHA256 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "FS_KEMs", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "X25519MLKEM768" + } +, { + "id" : "FS_ECDHE_curves", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "prime256v1 X25519" + } +, { + "id" : "FS_TLS12_sig_algs", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "ECDSA+SHA512 ECDSA+SHA384 ECDSA+SHA256" + } +, { + "id" : "FS_TLS13_sig_algs", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "ECDSA+SHA256" + } +, { + "id" : "TLS_extensions", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "'server name/#0' 'EC point formats/#11' 'application layer protocol negotiation/#16' 'extended master secret/#23' 'session ticket/#35' 'supported versions/#43' 'key share/#51' 'renegotiation info/#65281'" + } +, { + "id" : "TLS_session_ticket", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "LOW", + "finding" : "valid for 604800 seconds (>daily)" + } +, { + "id" : "SSL_sessionID_support", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "yes" + } +, { + "id" : "sessionresumption_ticket", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "supported" + } +, { + "id" : "sessionresumption_ID", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "supported" + } +, { + "id" : "TLS_timestamp", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "random" + } +, { + "id" : "certificate_compression", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "none" + } +, { + "id" : "clientAuth", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "none" + } +, { + "id" : "cert_numbers", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "1" + } +, { + "id" : "cert_signatureAlgorithm", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "ECDSA with SHA256" + } +, { + "id" : "cert_keySize", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "EC 256 bits (curve P-256)" + } +, { + "id" : "cert_keyUsage", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "Digital Signature" + } +, { + "id" : "cert_extKeyUsage", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLS Web Server Authentication" + } +, { + "id" : "cert_serialNumber", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "29F7BED5DF8BBC472F523278F287E910BD19DC07" + } +, { + "id" : "cert_serialNumberLen", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "20" + } +, { + "id" : "cert_fingerprintSHA1", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "76D4AE2FBE2B32E3C3380B7FAFFC515CF672FE23" + } +, { + "id" : "cert_fingerprintSHA256", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "0D5E04B7C6D8AD0D952CD17CE75AF5B0263F167F8179214877C8B1D58A7B54AA" + } +, { + "id" : "cert", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "-----BEGIN CERTIFICATE-----\nMIIBdDCCARqgAwIBAgIUKfe+1d+LvEcvUjJ48ofpEL0Z3AcwCgYIKoZIzj0EAwIwHzEdMBsGA1UEAwwUSWFuaXRvciBQYWlyIFRlc3QgQ0EwIBcNNzUwMTAxMDAwMDAwWhgPNDA5NjAxMDEwMDAwMDBaMBQxEjAQBgNVBAMMCWxvY2FsaG9zdDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABBNLRQ1XLibmljRMi6bBxLfvMaHU52FGQ11rb2LAwyM2Vx0D6gzA37DXWXtxOsVVUYJjZIHYTYJ82H9haaBboO2jPTA7MBQGA1UdEQQNMAuCCWxvY2FsaG9zdDAOBgNVHQ8BAf8EBAMCB4AwEwYDVR0lBAwwCgYIKwYBBQUHAwEwCgYIKoZIzj0EAwIDSAAwRQIgQH4U1T2SeLkI8JlFBHBckdNpVtVEnyrHnfq4iQNKQp0CIQChIKbdQRsf4vULjUjJzBcpe3KydC3sGCUJEUiSJWe6qQ==\n-----END CERTIFICATE-----" + } +, { + "id" : "cert_commonName", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "localhost" + } +, { + "id" : "cert_commonName_wo_SNI", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "request w/o SNI didn't succeed, usual for EC certificates" + } +, { + "id" : "cert_subjectAltName", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "localhost" + } +, { + "id" : "cert_trust", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "Ok via SAN and CN (SNI mandatory)" + } +, { + "id" : "cert_chain_of_trust", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "passed." + } +, { + "id" : "cert_certificatePolicies_EV", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "no" + } +, { + "id" : "cert_expirationStatus", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "755730 >= 60 days" + } +, { + "id" : "cert_notBefore", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "1975-01-01 00:00" + } +, { + "id" : "cert_notAfter", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "4096-01-01 00:00" + } +, { + "id" : "cert_extlifeSpan", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "HIGH", + "finding" : "774680 days" + } +, { + "id" : "cert_eTLS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "not present" + } +, { + "id" : "cert_crlDistributionPoints", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "cert_ocspURL", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "cert_revocation", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "HIGH", + "finding" : "Neither CRL nor OCSP URI provided" + } +, { + "id" : "OCSP_stapling", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "cert_mustStapleExtension", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "DNS_CAArecord", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "LOW", + "finding" : "--" + } +, { + "id" : "certificate_transparency", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "certs_countServer", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "1" + } +, { + "id" : "certs_list_ordering_problem", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "no" + } +, { + "id" : "cert_caIssuers", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "Ianitor Pair Test CA" + } +, { + "id" : "intermediate_cert_badOCSP", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "intermediate certificate(s) is/are ok" + } +, { + "id" : "HTTP_status_code", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "200 OK ('/')" + } +, { + "id" : "HTTP_clock_skew", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "0 seconds from localtime" + } +, { + "id" : "HTTP_headerTime", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "1795021404" + } +, { + "id" : "HSTS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "LOW", + "finding" : "not offered" + } +, { + "id" : "HPKP", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "No support for HTTP Public Key Pinning" + } +, { + "id" : "banner_server", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "No Server banner line in header, interesting!" + } +, { + "id" : "banner_application", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "No application banner found" + } +, { + "id" : "cookie_count", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "0 at '/'" + } +, { + "id" : "security_headers", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "MEDIUM", + "finding" : "--" + } +, { + "id" : "banner_reverseproxy", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "cwe" : "CWE-200", + "finding" : "Via: 1.1 Caddy" + } +, { + "id" : "heartbleed", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2014-0160", + "cwe" : "CWE-119", + "finding" : "not vulnerable, no heartbeat extension" + } +, { + "id" : "CCS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2014-0224", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "ticketbleed", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2016-9244", + "cwe" : "CWE-200", + "finding" : "not vulnerable" + } +, { + "id" : "ROBOT", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2017-17382 CVE-2017-17427 CVE-2017-17428 CVE-2017-13098 CVE-2017-1000385 CVE-2017-13099 CVE-2016-6883 CVE-2012-5081 CVE-2017-6168", + "cwe" : "CWE-203", + "finding" : "not vulnerable, no RSA key transport cipher" + } +, { + "id" : "secure_renego", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cwe" : "CWE-310", + "finding" : "supported" + } +, { + "id" : "secure_client_renego", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2011-1473", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "CRIME_TLS", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2012-4929", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "BREACH", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2013-3587", + "cwe" : "CWE-310", + "finding" : "not vulnerable, no gzip/deflate/compress/br HTTP compression - only supplied '/' tested" + } +, { + "id" : "POODLE_SSL", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2014-3566", + "cwe" : "CWE-310", + "finding" : "not vulnerable, no SSLv3" + } +, { + "id" : "fallback_SCSV", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "no protocol below TLS 1.2 offered" + } +, { + "id" : "SWEET32", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2016-2183 CVE-2016-6329", + "cwe" : "CWE-327", + "finding" : "not vulnerable" + } +, { + "id" : "FREAK", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2015-0204", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "DROWN", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2016-0800 CVE-2016-0703", + "cwe" : "CWE-310", + "finding" : "not vulnerable on this host and port" + } +, { + "id" : "DROWN_hint", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "cve" : "CVE-2016-0800 CVE-2016-0703", + "cwe" : "CWE-310", + "finding" : "no RSA certificate, can't be used with SSLv2 elsewhere" + } +, { + "id" : "LOGJAM", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2015-4000", + "cwe" : "CWE-310", + "finding" : "not vulnerable, no DH EXPORT ciphers," + } +, { + "id" : "LOGJAM-common_primes", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2015-4000", + "cwe" : "CWE-310", + "finding" : "no DH key with <= TLS 1.2" + } +, { + "id" : "BEAST", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2011-3389", + "cwe" : "CWE-20", + "finding" : "not vulnerable, no SSL3 or TLS1" + } +, { + "id" : "LUCKY13", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2013-0169", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "winshock", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2014-6321", + "cwe" : "CWE-94", + "finding" : "not vulnerable" + } +, { + "id" : "RC4", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "cve" : "CVE-2013-2566 CVE-2015-2808", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "clientsimulation-android_70", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-android_81", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-android_90", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_X", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_11_12", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_13_14", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_15", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-chrome_101_win10", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-chromium_137_win11", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-firefox_100_win10", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-firefox_137_win11", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-ie_8_win7", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "No connection" + } +, { + "id" : "clientsimulation-ie_11_win7", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-ie_11_win81", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-ie_11_winphone81", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-ie_11_win10", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-edge_15_win10", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-edge_101_win10_21h2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-edge_133_win11_23h2", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-safari_184_ios_184", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-safari_154_osx_1231", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-safari_184_osx_154", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-java_7u25", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "No connection" + } +, { + "id" : "clientsimulation-java_80442", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-java_1102", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-java_1703", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-java_2106", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-go_1178", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-libressl_336", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_CHACHA20_POLY1305_SHA256" + } +, { + "id" : "clientsimulation-openssl_102e", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-openssl_111d", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-openssl_315", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-openssl_350", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-apple_mail_16_0", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-thunderbird_91_9", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "rating_spec", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "SSL Labs's 'SSL Server Rating Guide' (version 2009r from 2025-05-16)" + } +, { + "id" : "rating_doc", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "https://github.com/ssllabs/research/wiki/SSL-Server-Rating-Guide" + } +, { + "id" : "protocol_support_score", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "100" + } +, { + "id" : "protocol_support_score_weighted", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "30" + } +, { + "id" : "key_exchange_score", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "100" + } +, { + "id" : "key_exchange_score_weighted", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "30" + } +, { + "id" : "cipher_strength_score", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "90" + } +, { + "id" : "cipher_strength_score_weighted", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "36" + } +, { + "id" : "final_score", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "96" + } +, { + "id" : "overall_grade", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "OK", + "finding" : "A+" + } +, { + "id" : "scanTime", + "ip" : "localhost/127.0.0.1", + "port" : "30028", + "severity" : "INFO", + "finding" : "150" + } +] diff --git a/bench/conformance/caddy-testssl.txt b/bench/conformance/caddy-testssl.txt new file mode 100644 index 0000000..c93ea1d --- /dev/null +++ b/bench/conformance/caddy-testssl.txt @@ -0,0 +1,197 @@ + + Start 2026-11-18 18:02:54 -->> 127.0.0.1:30028 (localhost) <<-- + + A record via: supplied IP "127.0.0.1" + rDNS (127.0.0.1): localhost. kubernetes.docker.internal. + Service detected: HTTP + + Testing protocols via sockets except NPN+ALPN + + SSLv2 not offered (OK) + SSLv3 not offered (OK) + TLS 1 not offered + TLS 1.1 not offered + TLS 1.2 offered (OK) + TLS 1.3 offered (OK): final + NPN/SPDY not offered + ALPN/HTTP2 h2, http/1.1 (offered) + + Testing cipher categories + + NULL ciphers (no encryption) not offered (OK) + Anonymous NULL Ciphers (no authentication) not offered (OK) + Export ciphers (w/o ADH+NULL) not offered (OK) + LOW: 64 Bit + DES, RC[2,4], MD5 (w/o export) not offered (OK) + Triple DES Ciphers / IDEA not offered + Obsoleted CBC ciphers (AES, ARIA etc.) not offered + Strong encryption (AEAD ciphers) with no FS not offered + Forward Secrecy strong encryption (AEAD ciphers) offered (OK) + + + Testing server's cipher preferences + +Hexcode Cipher Suite Name (OpenSSL) KeyExch. Encryption Bits Cipher Suite Name (IANA/RFC) +----------------------------------------------------------------------------------------------------------------------------- +SSLv2 + - +SSLv3 + - +TLSv1 + - +TLSv1.1 + - +TLSv1.2 (server order -- server prioritizes ChaCha ciphers when preferred by clients) + xc02b ECDHE-ECDSA-AES128-GCM-SHA256 ECDH 253 AESGCM 128 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 + xc02c ECDHE-ECDSA-AES256-GCM-SHA384 ECDH 253 AESGCM 256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + xcca9 ECDHE-ECDSA-CHACHA20-POLY1305 ECDH 253 ChaCha20 256 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 +TLSv1.3 (no server order, thus listed by strength) + x1302 TLS_AES_256_GCM_SHA384 ECDH/MLKEM AESGCM 256 TLS_AES_256_GCM_SHA384 + x1303 TLS_CHACHA20_POLY1305_SHA256 ECDH/MLKEM ChaCha20 256 TLS_CHACHA20_POLY1305_SHA256 + x1301 TLS_AES_128_GCM_SHA256 ECDH/MLKEM AESGCM 128 TLS_AES_128_GCM_SHA256 + + Has server cipher order? yes (OK) -- only for < TLS 1.3 + + + Testing robust forward secrecy (FS) -- omitting Null Authentication/Encryption, 3DES, RC4 + + FS is offered (OK) TLS_AES_256_GCM_SHA384 + TLS_CHACHA20_POLY1305_SHA256 + ECDHE-ECDSA-AES256-GCM-SHA384 + ECDHE-ECDSA-CHACHA20-POLY1305 + TLS_AES_128_GCM_SHA256 + ECDHE-ECDSA-AES128-GCM-SHA256 + KEMs offered X25519MLKEM768 + Elliptic curves offered: prime256v1 X25519 + TLS 1.2 sig_algs offered: ECDSA+SHA512 ECDSA+SHA384 ECDSA+SHA256 + TLS 1.3 sig_algs offered: ECDSA+SHA256 + + Testing server defaults (Server Hello) + + TLS extensions (standard) "server name/#0" "EC point formats/#11" + "application layer protocol negotiation/#16" + "extended master secret/#23" "session ticket/#35" + "supported versions/#43" "key share/#51" + "renegotiation info/#65281" + Session Ticket RFC 5077 hint 604800 seconds but: FS requires session ticket keys to be rotated < daily ! + SSL Session ID support yes + Session Resumption Tickets: yes, ID: yes + TLS clock skew Random values, no fingerprinting possible + Certificate Compression none + Client Authentication none + Signature Algorithm ECDSA with SHA256 + Server key size EC 256 bits (curve P-256) + Server key usage Digital Signature + Server extended key usage TLS Web Server Authentication + Serial 29F7BED5DF8BBC472F523278F287E910BD19DC07 (OK: length 20) + Fingerprints SHA1 76D4AE2FBE2B32E3C3380B7FAFFC515CF672FE23 + SHA256 0D5E04B7C6D8AD0D952CD17CE75AF5B0263F167F8179214877C8B1D58A7B54AA + Common Name (CN) localhost (request w/o SNI didn't succeed, usual for EC certificates) + subjectAltName (SAN) localhost + Trust (hostname) Ok via SAN and CN (SNI mandatory) + Chain of trust Ok + EV cert (experimental) no + Certificate Validity (UTC) 755730 >= 60 days (1975-01-01 00:00 --> 4096-01-01 00:00) + >= 10 years is way too long + ETS/"eTLS", visibility info not present + Certificate Revocation List -- + OCSP URI -- + NOT ok -- neither CRL nor OCSP URI provided + OCSP stapling not offered + OCSP must staple extension -- + DNS CAA RR (experimental) not offered + Certificate Transparency -- + Certificates provided 1 + Issuer Ianitor Pair Test CA + Intermediate Bad OCSP (exp.) Ok + + + Testing HTTP header response @ "/" + + HTTP Status Code 200 OK + HTTP clock skew 0 sec from localtime + Strict Transport Security not offered + Public Key Pinning -- + Server banner (no "Server" line in header, interesting!) + Application banner -- + Cookie(s) (none issued at "/") + Security headers -- + Reverse Proxy banner Via: 1.1 Caddy + + + Testing vulnerabilities + + Heartbleed (CVE-2014-0160) not vulnerable (OK), no heartbeat extension + CCS (CVE-2014-0224) not vulnerable (OK) + Ticketbleed (CVE-2016-9244), experiment. not vulnerable (OK) + ROBOT Server does not support any cipher suites that use RSA key transport + Secure Renegotiation (RFC 5746) supported (OK) + Secure Client-Initiated Renegotiation not vulnerable (OK) + CRIME, TLS (CVE-2012-4929) not vulnerable (OK) + BREACH (CVE-2013-3587) no gzip/deflate/compress/br HTTP compression (OK) - only supplied "/" tested + POODLE, SSL (CVE-2014-3566) not vulnerable (OK), no SSLv3 support + TLS_FALLBACK_SCSV (RFC 7507) No fallback possible (OK), no protocol below TLS 1.2 offered + SWEET32 (CVE-2016-2183, CVE-2016-6329) not vulnerable (OK) + FREAK (CVE-2015-0204) not vulnerable (OK) + DROWN (CVE-2016-0800, CVE-2016-0703) not vulnerable on this host and port (OK) + no RSA certificate, thus certificate can't be used with SSLv2 elsewhere + LOGJAM (CVE-2015-4000), experimental not vulnerable (OK): no DH EXPORT ciphers, no DH key detected with <= TLS 1.2 + BEAST (CVE-2011-3389) not vulnerable (OK), no SSL3 or TLS1 + LUCKY13 (CVE-2013-0169), experimental not vulnerable (OK) + Winshock (CVE-2014-6321), experimental not vulnerable (OK) + RC4 (CVE-2013-2566, CVE-2015-2808) no RC4 ciphers detected (OK) + + + Running client simulations (HTTP) via sockets + + Browser Protocol Cipher Suite Name (OpenSSL) Forward Secrecy +------------------------------------------------------------------------------------------------ + Android 7.0 (native) TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + Android 8.1 (native) TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 253 bit ECDH (X25519) + Android 9.0 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 10.0 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 11/12 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 13/14 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 15 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 X25519MLKEM768 + Chrome 101 (Win 10) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Chromium 137 (Win 11) TLSv1.3 TLS_AES_128_GCM_SHA256 X25519MLKEM768 + Firefox 100 (Win 10) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Firefox 137 (Win 11) TLSv1.3 TLS_AES_128_GCM_SHA256 X25519MLKEM768 + IE 8 Win 7 No connection + IE 11 Win 7 TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + IE 11 Win 8.1 TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + IE 11 Win Phone 8.1 TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + IE 11 Win 10 TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + Edge 15 Win 10 TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 253 bit ECDH (X25519) + Edge 101 Win 10 21H2 TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Edge 133 Win 11 23H2 TLSv1.3 TLS_AES_128_GCM_SHA256 X25519MLKEM768 + Safari 18.4 (iOS 18.4) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Safari 15.4 (macOS 12.3.1) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Safari 18.4 (macOS 15.4) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Java 7u25 No connection + Java 8u442 (OpenJDK) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Java 11.0.2 (OpenJDK) TLSv1.3 TLS_AES_128_GCM_SHA256 256 bit ECDH (P-256) + Java 17.0.3 (OpenJDK) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Java 21.0.6 (OpenJDK) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + go 1.17.8 TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + LibreSSL 3.3.6 (macOS) TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 253 bit ECDH (X25519) + OpenSSL 1.0.2e TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + OpenSSL 1.1.1d (Debian) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + OpenSSL 3.0.15 (Debian) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + OpenSSL 3.5.0 (git) TLSv1.3 TLS_AES_128_GCM_SHA256 X25519MLKEM768 + Apple Mail (16.0) TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + Thunderbird (91.9) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + + + Rating (experimental) + + Rating specs (not complete) SSL Labs's 'SSL Server Rating Guide' (version 2009r from 2025-05-16) + Specification documentation https://github.com/ssllabs/research/wiki/SSL-Server-Rating-Guide + Protocol Support (weighted) 100 (30) + Key Exchange (weighted) 100 (30) + Cipher Strength (weighted) 90 (36) + Final Score 96 + Overall Grade A+ + + Done 2026-11-18 18:05:17 [ 150s] -->> 127.0.0.1:30028 (localhost) <<-- + + diff --git a/bench/conformance/ianitor-h2spec-failed.txt b/bench/conformance/ianitor-h2spec-failed.txt new file mode 100644 index 0000000..e69de29 diff --git a/bench/conformance/ianitor-h2spec.txt b/bench/conformance/ianitor-h2spec.txt new file mode 100644 index 0000000..d1322df --- /dev/null +++ b/bench/conformance/ianitor-h2spec.txt @@ -0,0 +1,261 @@ +Generic tests for HTTP/2 server + 1. Starting HTTP/2 + 1: Sends a client connection preface ✔ 1: Sends a client connection preface + + 2. Streams and Multiplexing + 1: Sends a PRIORITY frame on idle stream ✔ 1: Sends a PRIORITY frame on idle stream + 2: Sends a WINDOW_UPDATE frame on half-closed (remote) stream ✔ 2: Sends a WINDOW_UPDATE frame on half-closed (remote) stream + 3: Sends a PRIORITY frame on half-closed (remote) stream ✔ 3: Sends a PRIORITY frame on half-closed (remote) stream + 4: Sends a RST_STREAM frame on half-closed (remote) stream ✔ 4: Sends a RST_STREAM frame on half-closed (remote) stream + 5: Sends a PRIORITY frame on closed stream ✔ 5: Sends a PRIORITY frame on closed stream + + 3. Frame Definitions + 3.1. DATA + 1: Sends a DATA frame ✔ 1: Sends a DATA frame + 2: Sends multiple DATA frames ✔ 2: Sends multiple DATA frames + 3: Sends a DATA frame with padding ✔ 3: Sends a DATA frame with padding + + 3.2. HEADERS + 1: Sends a HEADERS frame ✔ 1: Sends a HEADERS frame + 2: Sends a HEADERS frame with padding ✔ 2: Sends a HEADERS frame with padding + 3: Sends a HEADERS frame with priority ✔ 3: Sends a HEADERS frame with priority + + 3.3. PRIORITY + 1: Sends a PRIORITY frame with priority 1 ✔ 1: Sends a PRIORITY frame with priority 1 + 2: Sends a PRIORITY frame with priority 256 ✔ 2: Sends a PRIORITY frame with priority 256 + 3: Sends a PRIORITY frame with stream dependency ✔ 3: Sends a PRIORITY frame with stream dependency + 4: Sends a PRIORITY frame with exclusive ✔ 4: Sends a PRIORITY frame with exclusive + 5: Sends a PRIORITY frame for an idle stream, then send a HEADER frame for a lower stream ID ✔ 5: Sends a PRIORITY frame for an idle stream, then send a HEADER frame for a lower stream ID + + 3.4. RST_STREAM + 1: Sends a RST_STREAM frame ✔ 1: Sends a RST_STREAM frame + + 3.5. SETTINGS + 1: Sends a SETTINGS frame ✔ 1: Sends a SETTINGS frame + + 3.7. PING + 1: Sends a PING frame ✔ 1: Sends a PING frame + + 3.8. GOAWAY + 1: Sends a GOAWAY frame ✔ 1: Sends a GOAWAY frame + + 3.9. WINDOW_UPDATE + 1: Sends a WINDOW_UPDATE frame with stream ID 0 ✔ 1: Sends a WINDOW_UPDATE frame with stream ID 0 + 2: Sends a WINDOW_UPDATE frame with stream ID 1 ✔ 2: Sends a WINDOW_UPDATE frame with stream ID 1 + + 3.10. CONTINUATION + 1: Sends a CONTINUATION frame ✔ 1: Sends a CONTINUATION frame + 2: Sends multiple CONTINUATION frames ✔ 2: Sends multiple CONTINUATION frames + + 4. HTTP Message Exchanges + 1: Sends a GET request ✔ 1: Sends a GET request + 2: Sends a HEAD request ✔ 2: Sends a HEAD request + 3: Sends a POST request ✔ 3: Sends a POST request + 4: Sends a POST request with trailers ✔ 4: Sends a POST request with trailers + + 5. HPACK + 1: Sends a indexed header field representation ✔ 1: Sends a indexed header field representation + 2: Sends a literal header field with incremental indexing - indexed name ✔ 2: Sends a literal header field with incremental indexing - indexed name + 3: Sends a literal header field with incremental indexing - indexed name (with Huffman coding) ✔ 3: Sends a literal header field with incremental indexing - indexed name (with Huffman coding) + 4: Sends a literal header field with incremental indexing - new name ✔ 4: Sends a literal header field with incremental indexing - new name + 5: Sends a literal header field with incremental indexing - new name (with Huffman coding) ✔ 5: Sends a literal header field with incremental indexing - new name (with Huffman coding) + 6: Sends a literal header field without indexing - indexed name ✔ 6: Sends a literal header field without indexing - indexed name + 7: Sends a literal header field without indexing - indexed name (with Huffman coding) ✔ 7: Sends a literal header field without indexing - indexed name (with Huffman coding) + 8: Sends a literal header field without indexing - new name ✔ 8: Sends a literal header field without indexing - new name + 9: Sends a literal header field without indexing - new name (huffman encoded) ✔ 9: Sends a literal header field without indexing - new name (huffman encoded) + 10: Sends a literal header field never indexed - indexed name ✔ 10: Sends a literal header field never indexed - indexed name + 11: Sends a literal header field never indexed - indexed name (huffman encoded) ✔ 11: Sends a literal header field never indexed - indexed name (huffman encoded) + 12: Sends a literal header field never indexed - new name ✔ 12: Sends a literal header field never indexed - new name + 13: Sends a literal header field never indexed - new name (huffman encoded) ✔ 13: Sends a literal header field never indexed - new name (huffman encoded) + 14: Sends a dynamic table size update ✔ 14: Sends a dynamic table size update + 15: Sends multiple dynamic table size update ✔ 15: Sends multiple dynamic table size update + +Hypertext Transfer Protocol Version 2 (HTTP/2) + 3. Starting HTTP/2 + 3.5. HTTP/2 Connection Preface + 1: Sends client connection preface ✔ 1: Sends client connection preface + 2: Sends invalid connection preface ✔ 2: Sends invalid connection preface + + 4. HTTP Frames + 4.1. Frame Format + 1: Sends a frame with unknown type ✔ 1: Sends a frame with unknown type + 2: Sends a frame with undefined flag ✔ 2: Sends a frame with undefined flag + 3: Sends a frame with reserved field bit ✔ 3: Sends a frame with reserved field bit + + 4.2. Frame Size + 1: Sends a DATA frame with 2^14 octets in length ✔ 1: Sends a DATA frame with 2^14 octets in length + 2: Sends a large size DATA frame that exceeds the SETTINGS_MAX_FRAME_SIZE ✔ 2: Sends a large size DATA frame that exceeds the SETTINGS_MAX_FRAME_SIZE + 3: Sends a large size HEADERS frame that exceeds the SETTINGS_MAX_FRAME_SIZE ✔ 3: Sends a large size HEADERS frame that exceeds the SETTINGS_MAX_FRAME_SIZE + + 4.3. Header Compression and Decompression + 1: Sends invalid header block fragment ✔ 1: Sends invalid header block fragment + 2: Sends a PRIORITY frame while sending the header blocks ✔ 2: Sends a PRIORITY frame while sending the header blocks + 3: Sends a HEADERS frame to another stream while sending the header blocks ✔ 3: Sends a HEADERS frame to another stream while sending the header blocks + + 5. Streams and Multiplexing + 5.1. Stream States + 1: idle: Sends a DATA frame ✔ 1: idle: Sends a DATA frame + 2: idle: Sends a RST_STREAM frame ✔ 2: idle: Sends a RST_STREAM frame + 3: idle: Sends a WINDOW_UPDATE frame ✔ 3: idle: Sends a WINDOW_UPDATE frame + 4: idle: Sends a CONTINUATION frame ✔ 4: idle: Sends a CONTINUATION frame + 5: half closed (remote): Sends a DATA frame ✔ 5: half closed (remote): Sends a DATA frame + 6: half closed (remote): Sends a HEADERS frame ✔ 6: half closed (remote): Sends a HEADERS frame + 7: half closed (remote): Sends a CONTINUATION frame ✔ 7: half closed (remote): Sends a CONTINUATION frame + 8: closed: Sends a DATA frame after sending RST_STREAM frame ✔ 8: closed: Sends a DATA frame after sending RST_STREAM frame + 9: closed: Sends a HEADERS frame after sending RST_STREAM frame ✔ 9: closed: Sends a HEADERS frame after sending RST_STREAM frame + 10: closed: Sends a CONTINUATION frame after sending RST_STREAM frame ✔ 10: closed: Sends a CONTINUATION frame after sending RST_STREAM frame + 11: closed: Sends a DATA frame ✔ 11: closed: Sends a DATA frame + 12: closed: Sends a HEADERS frame ✔ 12: closed: Sends a HEADERS frame + 13: closed: Sends a CONTINUATION frame ✔ 13: closed: Sends a CONTINUATION frame + + 5.1.1. Stream Identifiers + 1: Sends even-numbered stream identifier ✔ 1: Sends even-numbered stream identifier + 2: Sends stream identifier that is numerically smaller than previous ✔ 2: Sends stream identifier that is numerically smaller than previous + + 5.1.2. Stream Concurrency + 1: Sends HEADERS frames that causes their advertised concurrent stream limit to be exceeded ✔ 1: Sends HEADERS frames that causes their advertised concurrent stream limit to be exceeded + + 5.3. Stream Priority + 5.3.1. Stream Dependencies + 1: Sends HEADERS frame that depend on itself ✔ 1: Sends HEADERS frame that depend on itself + 2: Sends PRIORITY frame that depend on itself ✔ 2: Sends PRIORITY frame that depend on itself + + 5.4. Error Handling + 5.4.1. Connection Error Handling + 1: Sends an invalid PING frame for connection close ✔ 1: Sends an invalid PING frame for connection close + + 5.5. Extending HTTP/2 + 1: Sends an unknown extension frame ✔ 1: Sends an unknown extension frame + 2: Sends an unknown extension frame in the middle of a header block ✔ 2: Sends an unknown extension frame in the middle of a header block + + 6. Frame Definitions + 6.1. DATA + 1: Sends a DATA frame with 0x0 stream identifier ✔ 1: Sends a DATA frame with 0x0 stream identifier + 2: Sends a DATA frame on the stream that is not in "open" or "half-closed (local)" state ✔ 2: Sends a DATA frame on the stream that is not in "open" or "half-closed (local)" state + 3: Sends a DATA frame with invalid pad length ✔ 3: Sends a DATA frame with invalid pad length + + 6.2. HEADERS + 1: Sends a HEADERS frame without the END_HEADERS flag, and a PRIORITY frame ✔ 1: Sends a HEADERS frame without the END_HEADERS flag, and a PRIORITY frame + 2: Sends a HEADERS frame to another stream while sending a HEADERS frame ✔ 2: Sends a HEADERS frame to another stream while sending a HEADERS frame + 3: Sends a HEADERS frame with 0x0 stream identifier ✔ 3: Sends a HEADERS frame with 0x0 stream identifier + 4: Sends a HEADERS frame with invalid pad length ✔ 4: Sends a HEADERS frame with invalid pad length + + 6.3. PRIORITY + 1: Sends a PRIORITY frame with 0x0 stream identifier ✔ 1: Sends a PRIORITY frame with 0x0 stream identifier + 2: Sends a PRIORITY frame with a length other than 5 octets ✔ 2: Sends a PRIORITY frame with a length other than 5 octets + + 6.4. RST_STREAM + 1: Sends a RST_STREAM frame with 0x0 stream identifier ✔ 1: Sends a RST_STREAM frame with 0x0 stream identifier + 2: Sends a RST_STREAM frame on a idle stream ✔ 2: Sends a RST_STREAM frame on a idle stream + 3: Sends a RST_STREAM frame with a length other than 4 octets ✔ 3: Sends a RST_STREAM frame with a length other than 4 octets + + 6.5. SETTINGS + 1: Sends a SETTINGS frame with ACK flag and payload ✔ 1: Sends a SETTINGS frame with ACK flag and payload + 2: Sends a SETTINGS frame with a stream identifier other than 0x0 ✔ 2: Sends a SETTINGS frame with a stream identifier other than 0x0 + 3: Sends a SETTINGS frame with a length other than a multiple of 6 octets ✔ 3: Sends a SETTINGS frame with a length other than a multiple of 6 octets + + 6.5.2. Defined SETTINGS Parameters + 1: SETTINGS_ENABLE_PUSH (0x2): Sends the value other than 0 or 1 ✔ 1: SETTINGS_ENABLE_PUSH (0x2): Sends the value other than 0 or 1 + 2: SETTINGS_INITIAL_WINDOW_SIZE (0x4): Sends the value above the maximum flow control window size ✔ 2: SETTINGS_INITIAL_WINDOW_SIZE (0x4): Sends the value above the maximum flow control window size + 3: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value below the initial value ✔ 3: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value below the initial value + 4: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value above the maximum allowed frame size ✔ 4: SETTINGS_MAX_FRAME_SIZE (0x5): Sends the value above the maximum allowed frame size + 5: Sends a SETTINGS frame with unknown identifier ✔ 5: Sends a SETTINGS frame with unknown identifier + + 6.5.3. Settings Synchronization + 1: Sends multiple values of SETTINGS_INITIAL_WINDOW_SIZE ✔ 1: Sends multiple values of SETTINGS_INITIAL_WINDOW_SIZE + 2: Sends a SETTINGS frame without ACK flag ✔ 2: Sends a SETTINGS frame without ACK flag + + 6.7. PING + 1: Sends a PING frame ✔ 1: Sends a PING frame + 2: Sends a PING frame with ACK ✔ 2: Sends a PING frame with ACK + 3: Sends a PING frame with a stream identifier field value other than 0x0 ✔ 3: Sends a PING frame with a stream identifier field value other than 0x0 + 4: Sends a PING frame with a length field value other than 8 ✔ 4: Sends a PING frame with a length field value other than 8 + + 6.8. GOAWAY + 1: Sends a GOAWAY frame with a stream identifier other than 0x0 ✔ 1: Sends a GOAWAY frame with a stream identifier other than 0x0 + + 6.9. WINDOW_UPDATE + 1: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 ✔ 1: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 + 2: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 on a stream ✔ 2: Sends a WINDOW_UPDATE frame with a flow control window increment of 0 on a stream + 3: Sends a WINDOW_UPDATE frame with a length other than 4 octets ✔ 3: Sends a WINDOW_UPDATE frame with a length other than 4 octets + + 6.9.1. The Flow-Control Window + 1: Sends SETTINGS frame to set the initial window size to 1 and sends HEADERS frame ✔ 1: Sends SETTINGS frame to set the initial window size to 1 and sends HEADERS frame + 2: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 ✔ 2: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 + 3: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream ✔ 3: Sends multiple WINDOW_UPDATE frames increasing the flow control window to above 2^31-1 on a stream + + 6.9.2. Initial Flow-Control Window Size + 1: Changes SETTINGS_INITIAL_WINDOW_SIZE after sending HEADERS frame ✔ 1: Changes SETTINGS_INITIAL_WINDOW_SIZE after sending HEADERS frame + 2: Sends a SETTINGS frame for window size to be negative 2: Sends a SETTINGS frame for window size to be negative + 3: Sends a SETTINGS_INITIAL_WINDOW_SIZE settings with an exceeded maximum window size value ✔ 3: Sends a SETTINGS_INITIAL_WINDOW_SIZE settings with an exceeded maximum window size value + + 6.10. CONTINUATION + 1: Sends multiple CONTINUATION frames preceded by a HEADERS frame ✔ 1: Sends multiple CONTINUATION frames preceded by a HEADERS frame + 2: Sends a CONTINUATION frame followed by any frame other than CONTINUATION ✔ 2: Sends a CONTINUATION frame followed by any frame other than CONTINUATION + 3: Sends a CONTINUATION frame with 0x0 stream identifier ✔ 3: Sends a CONTINUATION frame with 0x0 stream identifier + 4: Sends a CONTINUATION frame preceded by a HEADERS frame with END_HEADERS flag ✔ 4: Sends a CONTINUATION frame preceded by a HEADERS frame with END_HEADERS flag + 5: Sends a CONTINUATION frame preceded by a CONTINUATION frame with END_HEADERS flag ✔ 5: Sends a CONTINUATION frame preceded by a CONTINUATION frame with END_HEADERS flag + 6: Sends a CONTINUATION frame preceded by a DATA frame ✔ 6: Sends a CONTINUATION frame preceded by a DATA frame + + 7. Error Codes + 1: Sends a GOAWAY frame with unknown error code ✔ 1: Sends a GOAWAY frame with unknown error code + 2: Sends a RST_STREAM frame with unknown error code ✔ 2: Sends a RST_STREAM frame with unknown error code + + 8. HTTP Message Exchanges + 8.1. HTTP Request/Response Exchange + 1: Sends a second HEADERS frame without the END_STREAM flag ✔ 1: Sends a second HEADERS frame without the END_STREAM flag + + 8.1.2. HTTP Header Fields + 1: Sends a HEADERS frame that contains the header field name in uppercase letters ✔ 1: Sends a HEADERS frame that contains the header field name in uppercase letters + + 8.1.2.1. Pseudo-Header Fields + 1: Sends a HEADERS frame that contains a unknown pseudo-header field ✔ 1: Sends a HEADERS frame that contains a unknown pseudo-header field + 2: Sends a HEADERS frame that contains the pseudo-header field defined for response ✔ 2: Sends a HEADERS frame that contains the pseudo-header field defined for response + 3: Sends a HEADERS frame that contains a pseudo-header field as trailers ✔ 3: Sends a HEADERS frame that contains a pseudo-header field as trailers + 4: Sends a HEADERS frame that contains a pseudo-header field that appears in a header block after a regular header field ✔ 4: Sends a HEADERS frame that contains a pseudo-header field that appears in a header block after a regular header field + + 8.1.2.2. Connection-Specific Header Fields + 1: Sends a HEADERS frame that contains the connection-specific header field ✔ 1: Sends a HEADERS frame that contains the connection-specific header field + 2: Sends a HEADERS frame that contains the TE header field with any value other than "trailers" ✔ 2: Sends a HEADERS frame that contains the TE header field with any value other than "trailers" + + 8.1.2.3. Request Pseudo-Header Fields + 1: Sends a HEADERS frame with empty ":path" pseudo-header field ✔ 1: Sends a HEADERS frame with empty ":path" pseudo-header field + 2: Sends a HEADERS frame that omits ":method" pseudo-header field ✔ 2: Sends a HEADERS frame that omits ":method" pseudo-header field + 3: Sends a HEADERS frame that omits ":scheme" pseudo-header field ✔ 3: Sends a HEADERS frame that omits ":scheme" pseudo-header field + 4: Sends a HEADERS frame that omits ":path" pseudo-header field ✔ 4: Sends a HEADERS frame that omits ":path" pseudo-header field + 5: Sends a HEADERS frame with duplicated ":method" pseudo-header field ✔ 5: Sends a HEADERS frame with duplicated ":method" pseudo-header field + 6: Sends a HEADERS frame with duplicated ":scheme" pseudo-header field ✔ 6: Sends a HEADERS frame with duplicated ":scheme" pseudo-header field + 7: Sends a HEADERS frame with duplicated ":path" pseudo-header field ✔ 7: Sends a HEADERS frame with duplicated ":path" pseudo-header field + + 8.1.2.6. Malformed Requests and Responses + 1: Sends a HEADERS frame with the "content-length" header field which does not equal the DATA frame payload length ✔ 1: Sends a HEADERS frame with the "content-length" header field which does not equal the DATA frame payload length + 2: Sends a HEADERS frame with the "content-length" header field which does not equal the sum of the multiple DATA frames payload length ✔ 2: Sends a HEADERS frame with the "content-length" header field which does not equal the sum of the multiple DATA frames payload length + + 8.2. Server Push + 1: Sends a PUSH_PROMISE frame ✔ 1: Sends a PUSH_PROMISE frame + +HPACK: Header Compression for HTTP/2 + 2. Compression Process Overview + 2.3. Indexing Tables + 2.3.3. Index Address Space + 1: Sends a header field representation with invalid index ✔ 1: Sends a header field representation with invalid index + + 4. Dynamic Table Management + 4.2. Maximum Table Size + 1: Sends a dynamic table size update at the end of header block ✔ 1: Sends a dynamic table size update at the end of header block + + 5. Primitive Type Representations + 5.2. String Literal Representation + 1: Sends a Huffman-encoded string literal representation with padding longer than 7 bits ✔ 1: Sends a Huffman-encoded string literal representation with padding longer than 7 bits + 2: Sends a Huffman-encoded string literal representation padded by zero ✔ 2: Sends a Huffman-encoded string literal representation padded by zero + 3: Sends a Huffman-encoded string literal representation containing the EOS symbol ✔ 3: Sends a Huffman-encoded string literal representation containing the EOS symbol + + 6. Binary Format + 6.1. Indexed Header Field Representation + 1: Sends a indexed header field representation with index 0 ✔ 1: Sends a indexed header field representation with index 0 + + 6.3. Dynamic Table Size Update + 1: Sends a dynamic table size update larger than the value of SETTINGS_HEADER_TABLE_SIZE ✔ 1: Sends a dynamic table size update larger than the value of SETTINGS_HEADER_TABLE_SIZE + +Finished in 0.4058 seconds +145 tests, 144 passed, 1 skipped, 0 failed diff --git a/bench/conformance/ianitor-testssl.json b/bench/conformance/ianitor-testssl.json new file mode 100644 index 0000000..01aa74c --- /dev/null +++ b/bench/conformance/ianitor-testssl.json @@ -0,0 +1,1103 @@ +[ + { + "id" : "service", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "HTTP" + } +, { + "id" : "pre_128cipher", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "No 128 cipher limit bug" + } +, { + "id" : "SSLv2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "not offered" + } +, { + "id" : "SSLv3", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "not offered" + } +, { + "id" : "TLS1", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "TLS1_1", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "TLS1_2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "offered" + } +, { + "id" : "TLS1_3", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "offered with final" + } +, { + "id" : "NPN", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "ALPN_HTTP2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "h2" + } +, { + "id" : "ALPN", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "http/1.1" + } +, { + "id" : "cipherlist_NULL", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_aNULL", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_EXPORT", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_LOW", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cwe" : "CWE-327", + "finding" : "not offered" + } +, { + "id" : "cipherlist_3DES_IDEA", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "cwe" : "CWE-310", + "finding" : "not offered" + } +, { + "id" : "cipherlist_OBSOLETED", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "cwe" : "CWE-310", + "finding" : "not offered" + } +, { + "id" : "cipherlist_STRONG_NOFS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "cipherlist_STRONG_FS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "offered" + } +, { + "id" : "cipher_order-tls1_2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "NOT a cipher order configured" + } +, { + "id" : "cipher-tls1_2_xc02c", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "TLSv1.2 xc02c ECDHE-ECDSA-AES256-GCM-SHA384 ECDH 253 AESGCM 256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + } +, { + "id" : "cipher-tls1_2_xcca9", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "TLSv1.2 xcca9 ECDHE-ECDSA-CHACHA20-POLY1305 ECDH 253 ChaCha20 256 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256" + } +, { + "id" : "cipher-tls1_2_xc02b", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "TLSv1.2 xc02b ECDHE-ECDSA-AES128-GCM-SHA256 ECDH 253 AESGCM 128 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + } +, { + "id" : "supportedciphers_TLSv1_2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "ECDHE-ECDSA-AES256-GCM-SHA384 ECDHE-ECDSA-CHACHA20-POLY1305 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "cipher_order-tls1_3", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "NOT a cipher order configured" + } +, { + "id" : "cipher-tls1_3_x1302", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "TLSv1.3 x1302 TLS_AES_256_GCM_SHA384 ECDH 253 AESGCM 256 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "cipher-tls1_3_x1303", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "TLSv1.3 x1303 TLS_CHACHA20_POLY1305_SHA256 ECDH 253 ChaCha20 256 TLS_CHACHA20_POLY1305_SHA256" + } +, { + "id" : "cipher-tls1_3_x1301", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "TLSv1.3 x1301 TLS_AES_128_GCM_SHA256 ECDH 253 AESGCM 128 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "supportedciphers_TLSv1_3", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "cipher_order", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "NOT a cipher order configured" + } +, { + "id" : "FS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "offered" + } +, { + "id" : "FS_ciphers", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256 ECDHE-ECDSA-AES256-GCM-SHA384 ECDHE-ECDSA-CHACHA20-POLY1305 TLS_AES_128_GCM_SHA256 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "FS_ECDHE_curves", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "prime256v1 secp384r1 X25519" + } +, { + "id" : "FS_TLS12_sig_algs", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "ECDSA+SHA256" + } +, { + "id" : "FS_TLS13_sig_algs", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "ECDSA+SHA256" + } +, { + "id" : "TLS_extensions", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "'server name/#0' 'application layer protocol negotiation/#16' 'extended master secret/#23' 'supported versions/#43' 'key share/#51' 'renegotiation info/#65281'" + } +, { + "id" : "TLS_session_ticket", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "valid for 86400 seconds only (= 60 days" + } +, { + "id" : "cert_notBefore", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "1975-01-01 00:00" + } +, { + "id" : "cert_notAfter", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "4096-01-01 00:00" + } +, { + "id" : "cert_extlifeSpan", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "HIGH", + "finding" : "774680 days" + } +, { + "id" : "cert_eTLS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "not present" + } +, { + "id" : "cert_crlDistributionPoints", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "cert_ocspURL", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "cert_revocation", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "HIGH", + "finding" : "Neither CRL nor OCSP URI provided" + } +, { + "id" : "OCSP_stapling", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "not offered" + } +, { + "id" : "cert_mustStapleExtension", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "DNS_CAArecord", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "LOW", + "finding" : "--" + } +, { + "id" : "certificate_transparency", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "--" + } +, { + "id" : "certs_countServer", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "1" + } +, { + "id" : "certs_list_ordering_problem", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "no" + } +, { + "id" : "cert_caIssuers", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "Ianitor Pair Test CA" + } +, { + "id" : "intermediate_cert_badOCSP", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "intermediate certificate(s) is/are ok" + } +, { + "id" : "HTTP_status_code", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "200 OK ('/')" + } +, { + "id" : "HTTP_clock_skew", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "0 seconds from localtime" + } +, { + "id" : "HTTP_headerTime", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "1795021254" + } +, { + "id" : "HSTS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "LOW", + "finding" : "not offered" + } +, { + "id" : "HPKP", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "No support for HTTP Public Key Pinning" + } +, { + "id" : "banner_server", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "No Server banner line in header, interesting!" + } +, { + "id" : "banner_application", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "No application banner found" + } +, { + "id" : "cookie_count", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "0 at '/'" + } +, { + "id" : "security_headers", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "MEDIUM", + "finding" : "--" + } +, { + "id" : "banner_reverseproxy", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "cwe" : "CWE-200", + "finding" : "--" + } +, { + "id" : "heartbleed", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2014-0160", + "cwe" : "CWE-119", + "finding" : "not vulnerable, no heartbeat extension" + } +, { + "id" : "CCS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2014-0224", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "ticketbleed", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2016-9244", + "cwe" : "CWE-200", + "finding" : "no session ticket extension" + } +, { + "id" : "ROBOT", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2017-17382 CVE-2017-17427 CVE-2017-17428 CVE-2017-13098 CVE-2017-1000385 CVE-2017-13099 CVE-2016-6883 CVE-2012-5081 CVE-2017-6168", + "cwe" : "CWE-203", + "finding" : "not vulnerable, no RSA key transport cipher" + } +, { + "id" : "secure_renego", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cwe" : "CWE-310", + "finding" : "supported" + } +, { + "id" : "secure_client_renego", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2011-1473", + "cwe" : "CWE-310", + "finding" : "not vulnerable, mitigated" + } +, { + "id" : "CRIME_TLS", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2012-4929", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "BREACH", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2013-3587", + "cwe" : "CWE-310", + "finding" : "not vulnerable, no gzip/deflate/compress/br HTTP compression - only supplied '/' tested" + } +, { + "id" : "POODLE_SSL", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2014-3566", + "cwe" : "CWE-310", + "finding" : "not vulnerable, no SSLv3" + } +, { + "id" : "fallback_SCSV", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "no protocol below TLS 1.2 offered" + } +, { + "id" : "SWEET32", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2016-2183 CVE-2016-6329", + "cwe" : "CWE-327", + "finding" : "not vulnerable" + } +, { + "id" : "FREAK", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2015-0204", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "DROWN", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2016-0800 CVE-2016-0703", + "cwe" : "CWE-310", + "finding" : "not vulnerable on this host and port" + } +, { + "id" : "DROWN_hint", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "cve" : "CVE-2016-0800 CVE-2016-0703", + "cwe" : "CWE-310", + "finding" : "no RSA certificate, can't be used with SSLv2 elsewhere" + } +, { + "id" : "LOGJAM", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2015-4000", + "cwe" : "CWE-310", + "finding" : "not vulnerable, no DH EXPORT ciphers," + } +, { + "id" : "LOGJAM-common_primes", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2015-4000", + "cwe" : "CWE-310", + "finding" : "no DH key with <= TLS 1.2" + } +, { + "id" : "BEAST", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2011-3389", + "cwe" : "CWE-20", + "finding" : "not vulnerable, no SSL3 or TLS1" + } +, { + "id" : "LUCKY13", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2013-0169", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "winshock", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2014-6321", + "cwe" : "CWE-94", + "finding" : "not vulnerable" + } +, { + "id" : "RC4", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "cve" : "CVE-2013-2566 CVE-2015-2808", + "cwe" : "CWE-310", + "finding" : "not vulnerable" + } +, { + "id" : "clientsimulation-android_70", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-android_81", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-android_90", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_X", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_11_12", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_13_14", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-android_15", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-chrome_101_win10", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-chromium_137_win11", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-firefox_100_win10", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-firefox_137_win11", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-ie_8_win7", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "No connection" + } +, { + "id" : "clientsimulation-ie_11_win7", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384" + } +, { + "id" : "clientsimulation-ie_11_win81", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384" + } +, { + "id" : "clientsimulation-ie_11_winphone81", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256" + } +, { + "id" : "clientsimulation-ie_11_win10", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384" + } +, { + "id" : "clientsimulation-edge_15_win10", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384" + } +, { + "id" : "clientsimulation-edge_101_win10_21h2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-edge_133_win11_23h2", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-safari_184_ios_184", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-safari_154_osx_1231", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-safari_184_osx_154", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-java_7u25", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "No connection" + } +, { + "id" : "clientsimulation-java_80442", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "clientsimulation-java_1102", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-java_1703", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "clientsimulation-java_2106", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "clientsimulation-go_1178", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "clientsimulation-libressl_336", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_CHACHA20_POLY1305_SHA256" + } +, { + "id" : "clientsimulation-openssl_102e", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384" + } +, { + "id" : "clientsimulation-openssl_111d", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "clientsimulation-openssl_315", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "clientsimulation-openssl_350", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_256_GCM_SHA384" + } +, { + "id" : "clientsimulation-apple_mail_16_0", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384" + } +, { + "id" : "clientsimulation-thunderbird_91_9", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "TLSv1.3 TLS_AES_128_GCM_SHA256" + } +, { + "id" : "rating_spec", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "SSL Labs's 'SSL Server Rating Guide' (version 2009r from 2025-05-16)" + } +, { + "id" : "rating_doc", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "https://github.com/ssllabs/research/wiki/SSL-Server-Rating-Guide" + } +, { + "id" : "protocol_support_score", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "100" + } +, { + "id" : "protocol_support_score_weighted", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "30" + } +, { + "id" : "key_exchange_score", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "100" + } +, { + "id" : "key_exchange_score_weighted", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "30" + } +, { + "id" : "cipher_strength_score", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "90" + } +, { + "id" : "cipher_strength_score_weighted", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "36" + } +, { + "id" : "final_score", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "96" + } +, { + "id" : "overall_grade", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "OK", + "finding" : "A+" + } +, { + "id" : "scanTime", + "ip" : "localhost/127.0.0.1", + "port" : "24056", + "severity" : "INFO", + "finding" : "131" + } +] diff --git a/bench/conformance/ianitor-testssl.txt b/bench/conformance/ianitor-testssl.txt new file mode 100644 index 0000000..a01b320 --- /dev/null +++ b/bench/conformance/ianitor-testssl.txt @@ -0,0 +1,196 @@ + + Start 2026-11-18 18:00:21 -->> 127.0.0.1:24056 (localhost) <<-- + + A record via: supplied IP "127.0.0.1" + rDNS (127.0.0.1): localhost. kubernetes.docker.internal. + Service detected: HTTP + + Testing protocols via sockets except NPN+ALPN + + SSLv2 not offered (OK) + SSLv3 not offered (OK) + TLS 1 not offered + TLS 1.1 not offered + TLS 1.2 offered (OK) + TLS 1.3 offered (OK): final + NPN/SPDY not offered + ALPN/HTTP2 h2, http/1.1 (offered) + + Testing cipher categories + + NULL ciphers (no encryption) not offered (OK) + Anonymous NULL Ciphers (no authentication) not offered (OK) + Export ciphers (w/o ADH+NULL) not offered (OK) + LOW: 64 Bit + DES, RC[2,4], MD5 (w/o export) not offered (OK) + Triple DES Ciphers / IDEA not offered + Obsoleted CBC ciphers (AES, ARIA etc.) not offered + Strong encryption (AEAD ciphers) with no FS not offered + Forward Secrecy strong encryption (AEAD ciphers) offered (OK) + + + Testing server's cipher preferences + +Hexcode Cipher Suite Name (OpenSSL) KeyExch. Encryption Bits Cipher Suite Name (IANA/RFC) +----------------------------------------------------------------------------------------------------------------------------- +SSLv2 + - +SSLv3 + - +TLSv1 + - +TLSv1.1 + - +TLSv1.2 (no server order, thus listed by strength) + xc02c ECDHE-ECDSA-AES256-GCM-SHA384 ECDH 253 AESGCM 256 TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 + xcca9 ECDHE-ECDSA-CHACHA20-POLY1305 ECDH 253 ChaCha20 256 TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256 + xc02b ECDHE-ECDSA-AES128-GCM-SHA256 ECDH 253 AESGCM 128 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 +TLSv1.3 (no server order, thus listed by strength) + x1302 TLS_AES_256_GCM_SHA384 ECDH 253 AESGCM 256 TLS_AES_256_GCM_SHA384 + x1303 TLS_CHACHA20_POLY1305_SHA256 ECDH 253 ChaCha20 256 TLS_CHACHA20_POLY1305_SHA256 + x1301 TLS_AES_128_GCM_SHA256 ECDH 253 AESGCM 128 TLS_AES_128_GCM_SHA256 + + Has server cipher order? no + (limited sense as client will pick) + + Testing robust forward secrecy (FS) -- omitting Null Authentication/Encryption, 3DES, RC4 + + FS is offered (OK) TLS_AES_256_GCM_SHA384 + TLS_CHACHA20_POLY1305_SHA256 + ECDHE-ECDSA-AES256-GCM-SHA384 + ECDHE-ECDSA-CHACHA20-POLY1305 + TLS_AES_128_GCM_SHA256 + ECDHE-ECDSA-AES128-GCM-SHA256 + Elliptic curves offered: prime256v1 secp384r1 X25519 + TLS 1.2 sig_algs offered: ECDSA+SHA256 + TLS 1.3 sig_algs offered: ECDSA+SHA256 + + Testing server defaults (Server Hello) + + TLS extensions (standard) "server name/#0" + "application layer protocol negotiation/#16" + "extended master secret/#23" + "supported versions/#43" "key share/#51" + "renegotiation info/#65281" + Session Ticket RFC 5077 hint 86400 seconds, session tickets keys seems to be rotated < daily + SSL Session ID support yes + Session Resumption Tickets: yes, ID: yes + TLS clock skew Random values, no fingerprinting possible + Certificate Compression none + Client Authentication none + Signature Algorithm ECDSA with SHA256 + Server key size EC 256 bits (curve P-256) + Server key usage Digital Signature + Server extended key usage TLS Web Server Authentication + Serial 29F7BED5DF8BBC472F523278F287E910BD19DC07 (OK: length 20) + Fingerprints SHA1 76D4AE2FBE2B32E3C3380B7FAFFC515CF672FE23 + SHA256 0D5E04B7C6D8AD0D952CD17CE75AF5B0263F167F8179214877C8B1D58A7B54AA + Common Name (CN) localhost (request w/o SNI didn't succeed, usual for EC certificates) + subjectAltName (SAN) localhost + Trust (hostname) Ok via SAN and CN (SNI mandatory) + Chain of trust Ok + EV cert (experimental) no + Certificate Validity (UTC) 755730 >= 60 days (1975-01-01 00:00 --> 4096-01-01 00:00) + >= 10 years is way too long + ETS/"eTLS", visibility info not present + Certificate Revocation List -- + OCSP URI -- + NOT ok -- neither CRL nor OCSP URI provided + OCSP stapling not offered + OCSP must staple extension -- + DNS CAA RR (experimental) not offered + Certificate Transparency -- + Certificates provided 1 + Issuer Ianitor Pair Test CA + Intermediate Bad OCSP (exp.) Ok + + + Testing HTTP header response @ "/" + + HTTP Status Code 200 OK + HTTP clock skew 0 sec from localtime + Strict Transport Security not offered + Public Key Pinning -- + Server banner (no "Server" line in header, interesting!) + Application banner -- + Cookie(s) (none issued at "/") + Security headers -- + Reverse Proxy banner -- + + + Testing vulnerabilities + + Heartbleed (CVE-2014-0160) not vulnerable (OK), no heartbeat extension + CCS (CVE-2014-0224) not vulnerable (OK) + Ticketbleed (CVE-2016-9244), experiment. not vulnerable (OK), no session ticket extension + ROBOT Server does not support any cipher suites that use RSA key transport + Secure Renegotiation (RFC 5746) supported (OK) + Secure Client-Initiated Renegotiation not vulnerable (OK) -- mitigated (1 successful reneg within 10 in 33s(timeout)) + CRIME, TLS (CVE-2012-4929) not vulnerable (OK) + BREACH (CVE-2013-3587) no gzip/deflate/compress/br HTTP compression (OK) - only supplied "/" tested + POODLE, SSL (CVE-2014-3566) not vulnerable (OK), no SSLv3 support + TLS_FALLBACK_SCSV (RFC 7507) No fallback possible (OK), no protocol below TLS 1.2 offered + SWEET32 (CVE-2016-2183, CVE-2016-6329) not vulnerable (OK) + FREAK (CVE-2015-0204) not vulnerable (OK) + DROWN (CVE-2016-0800, CVE-2016-0703) not vulnerable on this host and port (OK) + no RSA certificate, thus certificate can't be used with SSLv2 elsewhere + LOGJAM (CVE-2015-4000), experimental not vulnerable (OK): no DH EXPORT ciphers, no DH key detected with <= TLS 1.2 + BEAST (CVE-2011-3389) not vulnerable (OK), no SSL3 or TLS1 + LUCKY13 (CVE-2013-0169), experimental not vulnerable (OK) + Winshock (CVE-2014-6321), experimental not vulnerable (OK) + RC4 (CVE-2013-2566, CVE-2015-2808) no RC4 ciphers detected (OK) + + + Running client simulations (HTTP) via sockets + + Browser Protocol Cipher Suite Name (OpenSSL) Forward Secrecy +------------------------------------------------------------------------------------------------ + Android 7.0 (native) TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + Android 8.1 (native) TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 253 bit ECDH (X25519) + Android 9.0 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 10.0 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 11/12 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 13/14 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Android 15 (native) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Chrome 101 (Win 10) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Chromium 137 (Win 11) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Firefox 100 (Win 10) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Firefox 137 (Win 11) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + IE 8 Win 7 No connection + IE 11 Win 7 TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384 256 bit ECDH (P-256) + IE 11 Win 8.1 TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384 256 bit ECDH (P-256) + IE 11 Win Phone 8.1 TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256 256 bit ECDH (P-256) + IE 11 Win 10 TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384 256 bit ECDH (P-256) + Edge 15 Win 10 TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384 253 bit ECDH (X25519) + Edge 101 Win 10 21H2 TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Edge 133 Win 11 23H2 TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Safari 18.4 (iOS 18.4) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Safari 15.4 (macOS 12.3.1) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Safari 18.4 (macOS 15.4) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + Java 7u25 No connection + Java 8u442 (OpenJDK) TLSv1.3 TLS_AES_256_GCM_SHA384 253 bit ECDH (X25519) + Java 11.0.2 (OpenJDK) TLSv1.3 TLS_AES_128_GCM_SHA256 256 bit ECDH (P-256) + Java 17.0.3 (OpenJDK) TLSv1.3 TLS_AES_256_GCM_SHA384 253 bit ECDH (X25519) + Java 21.0.6 (OpenJDK) TLSv1.3 TLS_AES_256_GCM_SHA384 253 bit ECDH (X25519) + go 1.17.8 TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + LibreSSL 3.3.6 (macOS) TLSv1.3 TLS_CHACHA20_POLY1305_SHA256 253 bit ECDH (X25519) + OpenSSL 1.0.2e TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384 256 bit ECDH (P-256) + OpenSSL 1.1.1d (Debian) TLSv1.3 TLS_AES_256_GCM_SHA384 253 bit ECDH (X25519) + OpenSSL 3.0.15 (Debian) TLSv1.3 TLS_AES_256_GCM_SHA384 253 bit ECDH (X25519) + OpenSSL 3.5.0 (git) TLSv1.3 TLS_AES_256_GCM_SHA384 253 bit ECDH (X25519) + Apple Mail (16.0) TLSv1.2 ECDHE-ECDSA-AES256-GCM-SHA384 256 bit ECDH (P-256) + Thunderbird (91.9) TLSv1.3 TLS_AES_128_GCM_SHA256 253 bit ECDH (X25519) + + + Rating (experimental) + + Rating specs (not complete) SSL Labs's 'SSL Server Rating Guide' (version 2009r from 2025-05-16) + Specification documentation https://github.com/ssllabs/research/wiki/SSL-Server-Rating-Guide + Protocol Support (weighted) 100 (30) + Key Exchange (weighted) 100 (30) + Cipher Strength (weighted) 90 (36) + Final Score 96 + Overall Grade A+ + + Done 2026-11-18 18:02:27 [ 131s] -->> 127.0.0.1:24056 (localhost) <<-- + + diff --git a/bench/conformance/run.json b/bench/conformance/run.json new file mode 100644 index 0000000..f82bab6 --- /dev/null +++ b/bench/conformance/run.json @@ -0,0 +1 @@ +{"build":"release","caddy_version":"unknown","edge_threads":2} diff --git a/scripts/conformance.sh b/scripts/conformance.sh index 9507c1f..800c7a3 100755 --- a/scripts/conformance.sh +++ b/scripts/conformance.sh @@ -51,7 +51,8 @@ for engine in ianitor caddy; do summary=$(grep -Eo '[0-9]+ tests, [0-9]+ passed, [0-9]+ skipped, [0-9]+ failed' "$out/$engine-h2spec.txt" | tail -1) printf '%-10s %-8s %s\n' "$engine" h2spec "${summary:-no summary (see $out/$engine-h2spec.txt)}" # The failed cases, by id, for the comparison below. - grep -E '^\s+×' -B0 "$out/$engine-h2spec.txt" | sed -E 's/^\s+× //' | sort >"$out/$engine-h2spec-failed.txt" || true + # (only the "Failures:" section: h2spec redraws progress lines with carriage returns above it) + sed -n '/^Failures:/,$p' "$out/$engine-h2spec.txt" | grep '×' | sed -E 's/^[[:space:]]*× //' | sort >"$out/$engine-h2spec-failed.txt" || true "$testssl" --quiet --color 0 --warnings off --ip 127.0.0.1 --add-ca "$(jq -r .ca "$info")" \ --jsonfile "$out/$engine-testssl.json" --overwrite "https://localhost:$p" \