Skip to content

Commit

Permalink
fix(qatool): make Date header constant (ooni#1511)
Browse files Browse the repository at this point in the history
Helps with ooni/probe#2677
  • Loading branch information
bassosimone authored and Murphy-OrangeMud committed Feb 13, 2024
1 parent e3abb00 commit f9484b5
Show file tree
Hide file tree
Showing 56 changed files with 668 additions and 660 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"TCPConnectUnexplainedFailureDuringWebFetch": [],
"TCPConnectUnexplainedFailureDuringConnectivityCheck": [],
"TLSHandshakeExpectedFailure": [
40002
40001
],
"TLSHandshakeUnexpectedFailure": [],
"TLSHandshakeUnexpectedFailureDuringWebFetch": [],
Expand All @@ -49,7 +49,7 @@
"HTTPRoundTripUnexpectedFailure": [],
"HTTPRoundTripUnexplainedFailure": [],
"HTTPFinalResponseSuccessTLSWithoutControl": null,
"HTTPFinalResponseSuccessTLSWithControl": 40001,
"HTTPFinalResponseSuccessTLSWithControl": 40002,
"HTTPFinalResponseSuccessTCPWithoutControl": null,
"HTTPFinalResponseSuccessTCPWithControl": null,
"HTTPFinalResponseDiffBodyProportionFactor": 1,
Expand All @@ -64,7 +64,7 @@
"TagDepth": 0,
"Type": 3,
"Failure": "",
"TransactionID": 40001,
"TransactionID": 40002,
"TagFetchBody": true,
"DNSTransactionID": 20001,
"DNSDomain": "www.example.com",
Expand All @@ -78,7 +78,7 @@
"IPAddress": "93.184.216.34",
"IPAddressASN": 15133,
"IPAddressBogon": false,
"EndpointTransactionID": 40001,
"EndpointTransactionID": 40002,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "93.184.216.34:443",
Expand Down Expand Up @@ -121,7 +121,7 @@
"TagDepth": 0,
"Type": 2,
"Failure": "ssl_unknown_authority",
"TransactionID": 40002,
"TransactionID": 40001,
"TagFetchBody": true,
"DNSTransactionID": 1,
"DNSDomain": "www.example.com",
Expand All @@ -135,7 +135,7 @@
"IPAddress": "104.154.89.105",
"IPAddressASN": 396982,
"IPAddressBogon": false,
"EndpointTransactionID": 40002,
"EndpointTransactionID": 40001,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "104.154.89.105:443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"TCPConnectUnexplainedFailureDuringWebFetch": [],
"TCPConnectUnexplainedFailureDuringConnectivityCheck": [],
"TLSHandshakeExpectedFailure": [
40002
40001
],
"TLSHandshakeUnexpectedFailure": [],
"TLSHandshakeUnexpectedFailureDuringWebFetch": [],
Expand All @@ -53,7 +53,7 @@
"TagDepth": 0,
"Type": 2,
"Failure": "ssl_unknown_authority",
"TransactionID": 40002,
"TransactionID": 40001,
"TagFetchBody": true,
"DNSTransactionID": 1,
"DNSDomain": "www.example.com",
Expand All @@ -67,7 +67,7 @@
"IPAddress": "104.154.89.105",
"IPAddressASN": 396982,
"IPAddressBogon": false,
"EndpointTransactionID": 40002,
"EndpointTransactionID": 40001,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "104.154.89.105:443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
"depth=0",
"fetch_body=true"
],
"transaction_id": 40001
"transaction_id": 40002
}
],
"tcp_connect": [
Expand All @@ -234,7 +234,7 @@
"depth=0",
"fetch_body=true"
],
"transaction_id": 40002
"transaction_id": 40001
},
{
"ip": "93.184.216.34",
Expand All @@ -248,7 +248,7 @@
"depth=0",
"fetch_body=true"
],
"transaction_id": 40001
"transaction_id": 40002
}
],
"tls_handshakes": [
Expand All @@ -267,7 +267,7 @@
"fetch_body=true"
],
"tls_version": "",
"transaction_id": 40002
"transaction_id": 40001
},
{
"network": "tcp",
Expand All @@ -284,7 +284,7 @@
"fetch_body=true"
],
"tls_version": "TLSv1.3",
"transaction_id": 40001
"transaction_id": 40002
}
],
"x_control_request": {
Expand All @@ -301,10 +301,10 @@
]
},
"tcp_connect": [
"93.184.216.34:443",
"93.184.216.34:80",
"104.154.89.105:443",
"104.154.89.105:80"
"104.154.89.105:80",
"93.184.216.34:443",
"93.184.216.34:80"
],
"x_quic_enabled": false
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,50 +262,45 @@
"KnownTCPEndpoints": {
"40001": {
"TagDepth": 0,
"Type": 3,
"Failure": "",
"Type": 2,
"Failure": "ssl_unknown_authority",
"TransactionID": 40001,
"TagFetchBody": true,
"DNSTransactionID": 20001,
"DNSTransactionID": 1,
"DNSDomain": "www.example.com",
"DNSLookupFailure": "",
"DNSQueryType": null,
"DNSEngine": null,
"DNSResolvedAddrs": [
"93.184.216.34"
"104.154.89.105"
],
"IPAddressOrigin": "dns",
"IPAddress": "93.184.216.34",
"IPAddressASN": 15133,
"IPAddress": "104.154.89.105",
"IPAddressASN": 396982,
"IPAddressBogon": false,
"EndpointTransactionID": 40001,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "93.184.216.34:443",
"EndpointAddress": "104.154.89.105:443",
"TCPConnectFailure": "",
"TLSHandshakeFailure": "",
"TLSHandshakeFailure": "ssl_unknown_authority",
"TLSServerName": "www.example.com",
"HTTPRequestURL": "https://www.example.com/",
"HTTPFailure": "",
"HTTPResponseStatusCode": 200,
"HTTPResponseBodyLength": 1533,
"HTTPResponseBodyIsTruncated": false,
"HTTPResponseHeadersKeys": {
"Alt-Svc": true,
"Content-Length": true,
"Content-Type": true,
"Date": true
},
"HTTPRequestURL": null,
"HTTPFailure": null,
"HTTPResponseStatusCode": null,
"HTTPResponseBodyLength": null,
"HTTPResponseBodyIsTruncated": null,
"HTTPResponseHeadersKeys": null,
"HTTPResponseLocation": null,
"HTTPResponseTitle": "Default Web Page",
"HTTPResponseIsFinal": true,
"HTTPResponseTitle": null,
"HTTPResponseIsFinal": null,
"ControlDNSDomain": "www.example.com",
"ControlDNSLookupFailure": "",
"ControlDNSResolvedAddrs": [
"93.184.216.34"
],
"ControlTCPConnectFailure": "",
"ControlTLSHandshakeFailure": "",
"ControlTLSHandshakeFailure": "ssl_unknown_authority",
"ControlHTTPFailure": "",
"ControlHTTPResponseStatusCode": 200,
"ControlHTTPResponseBodyLength": 1533,
Expand All @@ -319,45 +314,50 @@
},
"40002": {
"TagDepth": 0,
"Type": 2,
"Failure": "ssl_unknown_authority",
"Type": 3,
"Failure": "",
"TransactionID": 40002,
"TagFetchBody": true,
"DNSTransactionID": 1,
"DNSTransactionID": 20001,
"DNSDomain": "www.example.com",
"DNSLookupFailure": "",
"DNSQueryType": null,
"DNSEngine": null,
"DNSResolvedAddrs": [
"104.154.89.105"
"93.184.216.34"
],
"IPAddressOrigin": "dns",
"IPAddress": "104.154.89.105",
"IPAddressASN": 396982,
"IPAddress": "93.184.216.34",
"IPAddressASN": 15133,
"IPAddressBogon": false,
"EndpointTransactionID": 40002,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "104.154.89.105:443",
"EndpointAddress": "93.184.216.34:443",
"TCPConnectFailure": "",
"TLSHandshakeFailure": "ssl_unknown_authority",
"TLSHandshakeFailure": "",
"TLSServerName": "www.example.com",
"HTTPRequestURL": null,
"HTTPFailure": null,
"HTTPResponseStatusCode": null,
"HTTPResponseBodyLength": null,
"HTTPResponseBodyIsTruncated": null,
"HTTPResponseHeadersKeys": null,
"HTTPRequestURL": "https://www.example.com/",
"HTTPFailure": "",
"HTTPResponseStatusCode": 200,
"HTTPResponseBodyLength": 1533,
"HTTPResponseBodyIsTruncated": false,
"HTTPResponseHeadersKeys": {
"Alt-Svc": true,
"Content-Length": true,
"Content-Type": true,
"Date": true
},
"HTTPResponseLocation": null,
"HTTPResponseTitle": null,
"HTTPResponseIsFinal": null,
"HTTPResponseTitle": "Default Web Page",
"HTTPResponseIsFinal": true,
"ControlDNSDomain": "www.example.com",
"ControlDNSLookupFailure": "",
"ControlDNSResolvedAddrs": [
"93.184.216.34"
],
"ControlTCPConnectFailure": "",
"ControlTLSHandshakeFailure": "ssl_unknown_authority",
"ControlTLSHandshakeFailure": "",
"ControlHTTPFailure": "",
"ControlHTTPResponseStatusCode": 200,
"ControlHTTPResponseBodyLength": 1533,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@
}
],
"KnownTCPEndpoints": {
"40002": {
"40001": {
"TagDepth": 0,
"Type": 2,
"Failure": "ssl_unknown_authority",
"TransactionID": 40002,
"TransactionID": 40001,
"TagFetchBody": true,
"DNSTransactionID": 1,
"DNSDomain": "www.example.com",
Expand All @@ -73,7 +73,7 @@
"IPAddress": "104.154.89.105",
"IPAddressASN": 396982,
"IPAddressBogon": false,
"EndpointTransactionID": 40002,
"EndpointTransactionID": 40001,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "104.154.89.105:443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"HTTPRoundTripUnexpectedFailure": [],
"HTTPRoundTripUnexplainedFailure": [],
"HTTPFinalResponseSuccessTLSWithoutControl": null,
"HTTPFinalResponseSuccessTLSWithControl": 40002,
"HTTPFinalResponseSuccessTLSWithControl": 40001,
"HTTPFinalResponseSuccessTCPWithoutControl": null,
"HTTPFinalResponseSuccessTCPWithControl": null,
"HTTPFinalResponseDiffBodyProportionFactor": 1,
Expand All @@ -62,7 +62,7 @@
"TagDepth": 0,
"Type": 3,
"Failure": "",
"TransactionID": 40002,
"TransactionID": 40001,
"TagFetchBody": true,
"DNSTransactionID": 1,
"DNSDomain": "www.example.com",
Expand All @@ -76,7 +76,7 @@
"IPAddress": "130.192.182.17",
"IPAddressASN": 137,
"IPAddressBogon": false,
"EndpointTransactionID": 40002,
"EndpointTransactionID": 40001,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "130.192.182.17:443",
Expand Down Expand Up @@ -119,7 +119,7 @@
"TagDepth": 0,
"Type": 2,
"Failure": "",
"TransactionID": 40001,
"TransactionID": 40002,
"TagFetchBody": true,
"DNSTransactionID": 20001,
"DNSDomain": "www.example.com",
Expand All @@ -133,7 +133,7 @@
"IPAddress": "93.184.216.34",
"IPAddressASN": 15133,
"IPAddressBogon": false,
"EndpointTransactionID": 40001,
"EndpointTransactionID": 40002,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "93.184.216.34:443",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"HTTPRoundTripUnexpectedFailure": [],
"HTTPRoundTripUnexplainedFailure": [],
"HTTPFinalResponseSuccessTLSWithoutControl": null,
"HTTPFinalResponseSuccessTLSWithControl": 40002,
"HTTPFinalResponseSuccessTLSWithControl": 40001,
"HTTPFinalResponseSuccessTCPWithoutControl": null,
"HTTPFinalResponseSuccessTCPWithControl": null,
"HTTPFinalResponseDiffBodyProportionFactor": 1,
Expand All @@ -54,7 +54,7 @@
"TagDepth": 0,
"Type": 3,
"Failure": "",
"TransactionID": 40002,
"TransactionID": 40001,
"TagFetchBody": true,
"DNSTransactionID": 1,
"DNSDomain": "www.example.com",
Expand All @@ -68,7 +68,7 @@
"IPAddress": "130.192.182.17",
"IPAddressASN": 137,
"IPAddressBogon": false,
"EndpointTransactionID": 40002,
"EndpointTransactionID": 40001,
"EndpointProto": "tcp",
"EndpointPort": "443",
"EndpointAddress": "130.192.182.17:443",
Expand Down
Loading

0 comments on commit f9484b5

Please sign in to comment.