-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
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
fix(dnsping): make output more actionable #1444
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Murphy-OrangeMud
pushed a commit
to Murphy-OrangeMud/probe-cli
that referenced
this pull request
Feb 13, 2024
## Checklist - [x] I have read the [contribution guidelines](https://github.com/ooni/probe-cli/blob/master/CONTRIBUTING.md) - [x] reference issue for this pull request: ooni/probe#2650 - [x] if you changed anything related to how experiments work and you need to reflect these changes in the ooni/spec repository, please link to the related ooni/spec pull request: N/A - [x] if you changed code inside an experiment, make sure you bump its version number ## Description Closes ooni/probe#2650 Here's an example of the output now: ``` % ./miniooni dnsping -i udp://8.8.8.8:53/ -O Domains='www.example.com thepiratebay.net' [ 0.000028] <info> Current time: 2024-01-12 14:48:25 UTC [ 0.000125] <info> miniooni home directory: $HOME/.miniooni [ 0.000319] <info> ooniprobe-engine/v3.21.0-alpha 9b035a4 dirty=false go1.20.12 [ 0.001050] <info> Looking up OONI backends; please be patient... [ 0.001640] <info> httpsDialer: [#1] TCPConnect 162.55.247.208:443... started [ 0.047764] <info> httpsDialer: [#1] TCPConnect 162.55.247.208:443... ok [ 0.047788] <info> httpsDialer: [#1] TLSHandshake with 162.55.247.208:443 SNI=interactive.guim.co.uk ALPN=[h2 http/1.1]... started [ 0.100400] <info> httpsDialer: [#1] TLSHandshake with 162.55.247.208:443 SNI=interactive.guim.co.uk ALPN=[h2 http/1.1]... ok [ 0.100417] <info> httpsDialer: [#1] TLSVerifyCertificateChain api.ooni.io... started [ 0.102877] <info> httpsDialer: [#1] TLSVerifyCertificateChain api.ooni.io... ok [ 0.169226] <info> session: using probe services: {Address:https://api.ooni.io Type:https Front:} [ 0.169246] <info> Looking up your location; please be patient... [ 0.169272] <info> iplookup: using stun_google [ 0.170163] <info> sessionresolver: lookup stun.l.google.com using system:///... started [ 0.172175] <info> sessionresolver: lookup stun.l.google.com using system:///... ok [ 0.190530] <info> - country: IT [ 0.190545] <info> - network: Vodafone Italia S.p.A. (AS30722) [ 0.190549] <info> - resolver's IP: 91.80.36.88 [ 0.190552] <info> - resolver's network: Vodafone Italia S.p.A. (AS30722) [ 0.190587] <info> [1/1] running with input: udp://8.8.8.8:53/ [ 0.190728] <info> DNSPing #0 8.8.8.8:53 thepiratebay.net... started [ 0.190729] <info> DNSPing #0 8.8.8.8:53 www.example.com... started [ 0.201393] <info> DNSPing #0 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 0.212578] <info> DNSPing #0 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 1.191531] <info> DNSPing #1 8.8.8.8:53 thepiratebay.net... started [ 1.191527] <info> DNSPing #1 8.8.8.8:53 www.example.com... started [ 1.199034] <info> DNSPing #1 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 1.208817] <info> DNSPing #1 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 2.191812] <info> DNSPing #2 8.8.8.8:53 thepiratebay.net... started [ 2.191815] <info> DNSPing #2 8.8.8.8:53 www.example.com... started [ 2.228774] <info> DNSPing #2 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 2.228793] <info> DNSPing #2 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 3.191340] <info> DNSPing #3 8.8.8.8:53 thepiratebay.net... started [ 3.191370] <info> DNSPing #3 8.8.8.8:53 www.example.com... started [ 3.197974] <info> DNSPing #3 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 3.211675] <info> DNSPing #3 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 4.191878] <info> DNSPing #4 8.8.8.8:53 www.example.com... started [ 4.191889] <info> DNSPing #4 8.8.8.8:53 thepiratebay.net... started [ 4.203056] <info> DNSPing #4 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 4.211179] <info> DNSPing #4 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 5.191830] <info> DNSPing ooni#5 8.8.8.8:53 www.example.com... started [ 5.191830] <info> DNSPing ooni#5 8.8.8.8:53 thepiratebay.net... started [ 5.233596] <info> DNSPing ooni#5 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 5.261641] <info> DNSPing ooni#5 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 6.191596] <info> DNSPing #6 8.8.8.8:53 thepiratebay.net... started [ 6.191573] <info> DNSPing #6 8.8.8.8:53 www.example.com... started [ 6.200647] <info> DNSPing #6 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 6.208036] <info> DNSPing #6 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 7.191875] <info> DNSPing ooni#7 8.8.8.8:53 thepiratebay.net... started [ 7.191879] <info> DNSPing ooni#7 8.8.8.8:53 www.example.com... started [ 7.200336] <info> DNSPing ooni#7 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 7.213787] <info> DNSPing ooni#7 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 8.191866] <info> DNSPing ooni#8 8.8.8.8:53 thepiratebay.net... started [ 8.191900] <info> DNSPing ooni#8 8.8.8.8:53 www.example.com... started [ 8.204297] <info> DNSPing ooni#8 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 8.214435] <info> DNSPing ooni#8 8.8.8.8:53 thepiratebay.net... 83.224.65.41 [ 9.191857] <info> DNSPing ooni#9 8.8.8.8:53 www.example.com... started [ 9.191863] <info> DNSPing ooni#9 8.8.8.8:53 thepiratebay.net... started [ 9.200628] <info> DNSPing ooni#9 8.8.8.8:53 www.example.com... 93.184.216.34 2606:2800:220:1:248:1893:25c8:1946 [ 9.216799] <info> DNSPing ooni#9 8.8.8.8:53 thepiratebay.net... 83.224.65.41 Domain IPAddress ASN Org #Seen LateResponse -------------------------------------------------------------------------------------------------------------------------------------------------- www.example.com 2606:2800:220:1:248:1893:25c8:1946 15133 Edgecast Inc. 10 false www.example.com 93.184.216.34 15133 Edgecast Inc. 10 false thepiratebay.net 83.224.65.41 30722 Vodafone Italia S.p.A. 10 false [ 10.193633] <info> submitting measurement to OONI collector; please be patient... [ 10.262480] <info> New reportID: 20240112T144835Z_dnsping_IT_30722_n1_qbyxPwKoifjgp6AM [ 10.372279] <info> saving measurement to disk [ 10.373693] <info> experiment: recv 0.00 byte, sent 0.00 byte [ 10.375159] <info> whole session: recv 2.28 kbyte, sent 19.24 kbyte ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
Description
Closes ooni/probe#2650
Here's an example of the output now: