blaeu issueshttps://framagit.org/bortzmeyer/blaeu/-/issues2023-09-28T09:35:41Zhttps://framagit.org/bortzmeyer/blaeu/-/issues/22[blaeu-resolve] IWBN to display EDE codes2023-09-28T09:35:41ZStéphane Bortzmeyerstephane+frama@bortzmeyer.org[blaeu-resolve] IWBN to display EDE codesExtended DNS Errors (RFC 8914)Extended DNS Errors (RFC 8914)Stéphane Bortzmeyerstephane+frama@bortzmeyer.orgStéphane Bortzmeyerstephane+frama@bortzmeyer.orghttps://framagit.org/bortzmeyer/blaeu/-/issues/21[resolve] Implement "resolve_on_probe"2023-07-27T09:19:53ZStéphane Bortzmeyerstephane+frama@bortzmeyer.org[resolve] Implement "resolve_on_probe"Currently, `blaeu_resolve`, unlike `blaeu_cert`, does not implement the `resolve_on_probe` flag, which is annoying when testing a name server which resolves to different IP addresses.Currently, `blaeu_resolve`, unlike `blaeu_cert`, does not implement the `resolve_on_probe` flag, which is annoying when testing a name server which resolves to different IP addresses.Stéphane Bortzmeyerstephane+frama@bortzmeyer.orgStéphane Bortzmeyerstephane+frama@bortzmeyer.orghttps://framagit.org/bortzmeyer/blaeu/-/issues/20[resolve] HTTP error status 400 when trying to use AS 55112023-05-18T14:37:50ZLaurent Cheylus[resolve] HTTP error status 400 when trying to use AS 5511I'm trying to test DNS resolution for `uptobox.com` domain (according to your article https://www.bortzmeyer.org/uptobox-orange.html).
If I try to set [AS 5511 (Orange SA)](https://bgp.tools/as/5511), I have the following error : `HTTP ...I'm trying to test DNS resolution for `uptobox.com` domain (according to your article https://www.bortzmeyer.org/uptobox-orange.html).
If I try to set [AS 5511 (Orange SA)](https://bgp.tools/as/5511), I have the following error : `HTTP Error 400`
```bash
$ blaeu-resolve --requested 100 --as 5511 --type A uptobox.com
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/Blaeu.py", line 355, in __init__
conn = urllib.request.urlopen(request, self.json_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 525, in open
response = meth(req, response)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 634, in http_response
response = self.parent.error(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 563, in error
return self._call_chain(*args)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 643, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/blaeu-resolve", line 213, in <module>
measurement = Blaeu.Measurement(data,
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/Blaeu.py", line 361, in __init__
raise RequestSubmissionError("Status %s, reason \"%s : %s\"" % \
Blaeu.RequestSubmissionError: Status 400, reason "Bad Request : b'{"error":{"detail":"There was a problem with your request","status":400,"title":"Bad Request","code":102,"errors":[{"source":{"pointer":"/probes/0/value"},"detail":"Your selected ASN is not covered by our network."}]}}'"
```
Infos about `blaeu-resolve` :
```bash
$ blaeu-resolve --version
Blaeu version 1.1.9
$ python -V
Python 3.11.2
```https://framagit.org/bortzmeyer/blaeu/-/issues/18blaeu-traceroute wants a dst even when we render an old mesurement2020-11-19T07:50:57Zalarigblaeu-traceroute wants a dst even when we render an old mesurementE.g.
```
~ % blaeu-traceroute --format --do_reverse_lookup --measurement-ID 28215047
Usage: /usr/lib/python-exec/python3.7/blaeu-traceroute target-IP-address-or-name
General options are:
--verbose or -v : makes the program more ...E.g.
```
~ % blaeu-traceroute --format --do_reverse_lookup --measurement-ID 28215047
Usage: /usr/lib/python-exec/python3.7/blaeu-traceroute target-IP-address-or-name
General options are:
--verbose or -v : makes the program more talkative
--help or -h : this message
--displayprobes or -o : display the probes numbers (WARNING: big lists)
--country=2LETTERSCODE or -c 2LETTERSCODE : limits the measurements to one country (default is world-wide)
--area=AREACODE or -a AREACODE : limits the measurements to one area such as North-Central (default is world-wide)
--asn=ASnumber or -n ASnumber : limits the measurements to one AS (default is all ASes)
--prefix=IPprefix or -f IPprefix : limits the measurements to one IP prefix (default is all prefixes) WARNING: it must be an *exact* prefix in the global routing table
--probes=N or -s N : selects the probes by giving explicit ID (one ID or a comma-separated list)
--requested=N or -r N : requests N probes (default is 5)
--percentage=X or -p X : stops the program as soon as X % of the probes reported a result (default is 0.90)
--measurement-ID=N or -m N : do not start a measurement, just analyze a former one
--old_measurement MSMID or -g MSMID : uses the probes of measurement MSMID
--include TAGS or -i TAGS : limits the measurements to probes with these tags (a comma-separated list)
--exclude TAGS or -e TAGS : excludes from measurements the probes with these tags (a comma-separated list)
--port=N or -t N : destination port for TCP (default is 80)
--size=N or -z N : number of bytes in the packet (default is 64 bytes)
--ipv4 or -4 : uses IPv4 (default is IPv6, except if the parameter or option is an IP address, then it is automatically found)
--machinereadable or -b : machine-readable output, to be consumed by tools like grep or cut
Also:
--format or -k : downloads the results and format them in a traditional traceroute way
--protocol=PROTO or -j PROTO : uses this protocol (UDP, TCP or ICMP, default is UDP)
--do_lookup or -d : Enables IP lookup feature (default is disabled, may become interactive if the machine has several addresses)
--do_reverse_lookup or -l : Enables reverse IP lookup feature for hops
--first_hop=N or -y N : TTL/max hop count for the first hop (default 1)
--max_hops=N or -x N : TTL/max hop count for the last hop (default 32)
zsh: exit 1 blaeu-traceroute --format --do_reverse_lookup --measurement-ID 28215047
~ % blaeu-traceroute --format --do_reverse_lookup --measurement-ID 28215047 127.0.0.1
Test #28215047 done at 2020-11-18T08:56:55Z
From: 151.62.209.131 1267 ASN-WINDTRE IUNET, EU
Source address: 192.168.1.192
Probe ID: 19815
1 192.168.1.1 No PTR NA NA [0.927, 0.544, 0.491]
2 151.6.165.16 No PTR 1267 ASN-WINDTRE IUNET, EU [10.84, 8.841, 9.432]
[…]
```
`127.0.0.1` was there only to foolish blaeuhttps://framagit.org/bortzmeyer/blaeu/-/issues/17Wrong exception handling when 0 suitable probes found2020-04-22T08:53:01ZLinasWrong exception handling when 0 suitable probes foundSelected ASN with no probes:
```
# blaeu-reach --as 201133 --requested=10 --tests=10 --verbose 149.14.10.126
Blaeu version 1.1.5
{'definitions': [{'packets': 10, 'af': 4, 'target': '149.14.10.126', 'size': 64, 'description': 'Ping 149.1...Selected ASN with no probes:
```
# blaeu-reach --as 201133 --requested=10 --tests=10 --verbose 149.14.10.126
Blaeu version 1.1.5
{'definitions': [{'packets': 10, 'af': 4, 'target': '149.14.10.126', 'size': 64, 'description': 'Ping 149.14.10.126 from AS #201133', 'type': 'ping'}], 'probes': [{'tags': {'include': ['system-ipv4-works']}, 'value': '201133', 'requested': 10, 'type': 'asn'}], 'is_oneoff': True}
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/Blaeu.py", line 354, in __init__
conn = urllib.request.urlopen(request, self.json_data)
File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.5/urllib/request.py", line 472, in open
response = meth(req, response)
File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python3.5/urllib/request.py", line 510, in error
return self._call_chain(*args)
File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
result = func(*args)
File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 400: Bad Request
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/blaeu-reach", line 111, in <module>
measurement = Blaeu.Measurement(data)
File "/usr/local/lib/python3.5/dist-packages/Blaeu.py", line 361, in __init__
(e.code, e.reason, e.read()))
Blaeu.RequestSubmissionError: Status 400, reason "Bad Request : b'{"error":{"detail":"There was a problem with your request","status":400,"title":"Bad Request","code":102,"errors":[{"source":{"pointer":"/probes/0/value"},"detail":"Your selected ASN is not covered by our network."}]}}'"
```https://framagit.org/bortzmeyer/blaeu/-/issues/14IWBN to have HTTP measurements2018-06-16T11:08:14ZStéphane Bortzmeyerstephane+frama@bortzmeyer.orgIWBN to have HTTP measurementshttps://atlas.ripe.net/docs/api/v2/reference/#!/measurements/Http_Type_Measurement_List_POST
Remember it will work only towards anchors.https://atlas.ripe.net/docs/api/v2/reference/#!/measurements/Http_Type_Measurement_List_POST
Remember it will work only towards anchors.Stéphane Bortzmeyerstephane+frama@bortzmeyer.orgStéphane Bortzmeyerstephane+frama@bortzmeyer.orghttps://framagit.org/bortzmeyer/blaeu/-/issues/13IWBN to have NTP measurements2018-06-16T11:06:28ZStéphane Bortzmeyerstephane+frama@bortzmeyer.orgIWBN to have NTP measurementshttps://atlas.ripe.net/docs/api/v2/reference/#!/measurements/Ntp_Type_Measurement_List_POSThttps://atlas.ripe.net/docs/api/v2/reference/#!/measurements/Ntp_Type_Measurement_List_POSTStéphane Bortzmeyerstephane+frama@bortzmeyer.orgStéphane Bortzmeyerstephane+frama@bortzmeyer.orghttps://framagit.org/bortzmeyer/blaeu/-/issues/8[resolve] Get the data in the authority section2018-04-16T08:29:34ZStéphane Bortzmeyerstephane+frama@bortzmeyer.org[resolve] Get the data in the authority sectionCurrently, blaeu-resolve only displays data in the Answer section. It would be cool to analyze the Authority one, for instance when using --nameserver AUTH --type NS.
```
% blaeu-resolve --nameserver b0.org.afilias-nst.org. --type NS fr...Currently, blaeu-resolve only displays data in the Answer section. It would be cool to analyze the Authority one, for instance when using --nameserver AUTH --type NS.
```
% blaeu-resolve --nameserver b0.org.afilias-nst.org. --type NS framagit.org
Nameserver b0.org.afilias-nst.org.
[] : 5 occurrences
Test #12177584 done at 2018-04-16T08:28:33Z
```Stéphane Bortzmeyerstephane+frama@bortzmeyer.orgStéphane Bortzmeyerstephane+frama@bortzmeyer.orghttps://framagit.org/bortzmeyer/blaeu/-/issues/7Implement the tagging feature2018-04-15T13:23:16ZStéphane Bortzmeyerstephane+frama@bortzmeyer.orgImplement the tagging featureIt would be could to add a tag to the measurements we create https://labs.ripe.net/Members/chris_amin/ripe-atlas-measurement-taggingIt would be could to add a tag to the measurements we create https://labs.ripe.net/Members/chris_amin/ripe-atlas-measurement-taggingStéphane Bortzmeyerstephane+frama@bortzmeyer.orgStéphane Bortzmeyerstephane+frama@bortzmeyer.org