We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description: When a hop in a traceroute has many IPs, the parser only considers the first IP it sees and ignores the others.
Given a traceroute with a line such as:
12 http://as15169-10g-sk1.sthix.net (192.121.80.47) [*] 10.010 ms 72.14.196.42 (72.14.196.42) [AS15169] 9.182 ms 44.983 ms
we would expect jc to return (for that hop/line):
{ "hop": 12, "probes": [ { "annotation": null, "asn": null, "ip": "192.121.80.47", "name": "http://as15169-10g-sk1.sthix.net", "rtt": 10.01 }, { "annotation": null, "asn": 15169, "ip": "72.14.196.42", "name": "72.14.196.42", "rtt": 9.182 }, { "annotation": null, "asn": 15169, "ip": "72.14.196.42", "name": "72.14.196.42", "rtt": 44.983 } ] },
instead, it currently returns (please compare the IP, name, and ASN fields):
{ "hop": 12, "probes": [ { "annotation": null, "asn": 15169, "ip": "192.121.80.47", "name": "http://as15169-10g-sk1.sthix.net", "rtt": 10.01 }, { "annotation": null, "asn": 15169, "ip": "192.121.80.47", "name": "http://as15169-10g-sk1.sthix.net", "rtt": 9.182 }, { "annotation": null, "asn": 15169, "ip": "192.121.80.47", "name": "http://as15169-10g-sk1.sthix.net", "rtt": 44.983 } ] },
The example above is an extract from ./tests/fixtures/generic/traceroute1.out. I have already fixed that bug in a forked repository.
./tests/fixtures/generic/traceroute1.out
The text was updated successfully, but these errors were encountered:
Thanks for reporting this. I created a PR from your fork and will take a look at merging that in.
Sorry, something went wrong.
This is fixed in the dev branch and will make it into the next release.
dev
https://github.com/kellyjonbrazil/jc/blob/dev/jc/parsers/traceroute.py
You can test by copying the parser file above into your parser plugin folder:
$HOME/.local/share/jc/jcparsers
$HOME/Library/Application Support/jc/jcparsers
$LOCALAPPDATA\jc\jc\jcparsers
No branches or pull requests
Description: When a hop in a traceroute has many IPs, the parser only considers the first IP it sees and ignores the others.
Given a traceroute with a line such as:
we would expect jc to return (for that hop/line):
instead, it currently returns (please compare the IP, name, and ASN fields):
The example above is an extract from
./tests/fixtures/generic/traceroute1.out
. I have already fixed that bug in a forked repository.The text was updated successfully, but these errors were encountered: