mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2026-04-07 17:57:03 +02:00
* test: split out test fixtures for long ipv6 traceroute for consistency * refactor(jc/parsers/traceroute): remove duplicate ParseError class * refactor(jc/parsers/traceroute): pre-process data in _loads() for easy-to-reuse * refactor(jc/parsers/traceroute): split hop serialization into separate function to reuse * refactor(jc/parsers/traceroute): simplify numeric conversion and make it reusable for traceroute_s * fix(jc/parsers/traceroute): stricter regex to match traceroute headers only * feat(jc/parsers/traceroute_s): v1.0 implementation * fix(jc/parsers/traceroute): revert "_" prefix in function and class names * fixup! fix(jc/parsers/traceroute): revert "_" prefix in function and class names * chore(jc/parsers/traceroute): update the author information
231 lines
4.5 KiB
JSON
231 lines
4.5 KiB
JSON
[
|
|
{
|
|
"type": "header",
|
|
"destination_ip": "104.18.42.178",
|
|
"destination_name": "10xhostings.com",
|
|
"max_hops": 30,
|
|
"data_bytes": 40
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 1,
|
|
"probes": []
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 2,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": null,
|
|
"name": null,
|
|
"rtt": 0.894
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": null,
|
|
"name": null,
|
|
"rtt": 0.89
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": null,
|
|
"name": null,
|
|
"rtt": 0.876
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 3,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "204.141.42.25",
|
|
"name": "204.141.42.25",
|
|
"rtt": 2.818
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "204.141.42.25",
|
|
"name": "204.141.42.25",
|
|
"rtt": 2.825
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "204.141.42.25",
|
|
"name": "204.141.42.25",
|
|
"rtt": 2.825
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 4,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "204.141.42.9",
|
|
"name": "204.141.42.9",
|
|
"rtt": 1.014
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "204.141.42.9",
|
|
"name": "204.141.42.9",
|
|
"rtt": 1.017
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "204.141.42.9",
|
|
"name": "204.141.42.9",
|
|
"rtt": 1.082
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 5,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "128.241.1.145",
|
|
"name": "xe-0-0-46-2.a00.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 30.105
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "128.241.1.145",
|
|
"name": "xe-0-0-46-2.a00.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 30.125
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "128.241.1.145",
|
|
"name": "xe-0-0-46-2.a00.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 30.125
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 6,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "129.250.5.117",
|
|
"name": "ae-9.r04.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 32.346
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "129.250.5.117",
|
|
"name": "ae-9.r04.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 31.946
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "129.250.5.117",
|
|
"name": "ae-9.r04.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 31.96
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 7,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "129.250.5.86",
|
|
"name": "ae-0.a01.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 32.836
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "129.250.5.86",
|
|
"name": "ae-0.a01.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 32.749
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "129.250.5.86",
|
|
"name": "ae-0.a01.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 32.743
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 8,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "131.103.117.86",
|
|
"name": "ae-0.cloudflare.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 44.601
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "131.103.117.86",
|
|
"name": "ae-0.cloudflare.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 42.886
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "131.103.117.86",
|
|
"name": "ae-0.cloudflare.sttlwa01.us.bb.gin.ntt.net",
|
|
"rtt": 42.874
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "hop",
|
|
"hop": 9,
|
|
"probes": [
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "104.18.42.178",
|
|
"name": "104.18.42.178",
|
|
"rtt": 29.614
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "104.18.42.178",
|
|
"name": "104.18.42.178",
|
|
"rtt": 29.69
|
|
},
|
|
{
|
|
"annotation": null,
|
|
"asn": null,
|
|
"ip": "104.18.42.178",
|
|
"name": "104.18.42.178",
|
|
"rtt": 30.461
|
|
}
|
|
]
|
|
}
|
|
]
|