MCPcopy
hub / github.com/mitmproxy/mitmproxy / TDNSFlow

Function TDNSFlow

web/src/js/__tests__/ducks/_tflow.ts:295–416  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

293 }
294}
295export function TDNSFlow(): Required<DNSFlow> {
296 return {
297 "client_conn": {
298 "alpn": "http/1.1",
299 "cert": undefined,
300 "cipher": "cipher",
301 "id": "0b4cc0a3-6acb-4880-81c0-1644084126fc",
302 "peername": [
303 "127.0.0.1",
304 22
305 ],
306 "sni": "address",
307 "sockname": [
308 "",
309 0
310 ],
311 "timestamp_end": 946681206,
312 "timestamp_start": 946681200,
313 "timestamp_tls_setup": 946681201,
314 "tls_established": true,
315 "tls_version": "TLSv1.2"
316 },
317 "comment": "",
318 "error": {
319 "msg": "error",
320 "timestamp": 946681207.0
321 },
322 "id": "5434da94-1017-42fa-872d-a189508d48e4",
323 "intercepted": false,
324 "is_replay": undefined,
325 "marked": "",
326 "modified": false,
327 "request": {
328 "additionals": [],
329 "answers": [],
330 "authoritative_answer": false,
331 "authorities": [],
332 "id": 42,
333 "op_code": "QUERY",
334 "query": true,
335 "questions": [
336 {
337 "class": "IN",
338 "name": "dns.google",
339 "type": "A"
340 }
341 ],
342 "recursion_available": false,
343 "recursion_desired": true,
344 "response_code": "NOERROR",
345 "size": 0,
346 "status_code": 200,
347 "timestamp": 946681200,
348 "truncation": false
349 },
350 "response": {
351 "additionals": [],
352 "answers": [

Callers 2

utilsSpec.tsxFile · 0.90
tutils.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…