[blaeu-traceroute] NameError: name 'copy' is not defined
Hello,
We can’t use tags with blaeu-traceroute:
~ % blaeu-traceroute --country=JP --requested=200 --include system-anchor --format --protocol=ICMP --do_reverse_lookup 173.246.100.2
Traceback (most recent call last):
File "/usr/lib/python-exec/python3.10/blaeu-traceroute", line 159, in <module>
data["probes"][0]["tags"]["include"] = copy.copy(config.include)
NameError: name 'copy' is not defined
Doing the same with blaeu-resolve
works:
~ % blaeu-resolve --country=JP --requested=200 --include system-anchor --nsid --type SOA --nameserver=173.246.100.2 alarig.fr
Nameserver 173.246.100.2
[NSID: node-seoul1; ns1.gandi.net. hostmaster.gandi.net. 1662595200 10800 3600 604800 10800] : 4 occurrences
[NSID: node-tokyo3; ns1.gandi.net. hostmaster.gandi.net. 1662595200 10800 3600 604800 10800] : 3 occurrences
[NSID: node-singapore1; ns1.gandi.net. hostmaster.gandi.net. 1662595200 10800 3600 604800 10800] : 2 occurrences
[NSID: node-tokyo1; ns1.gandi.net. hostmaster.gandi.net. 1662595200 10800 3600 604800 10800] : 1 occurrences
[NSID: node-seattle1; ns1.gandi.net. hostmaster.gandi.net. 1662595200 10800 3600 604800 10800] : 1 occurrences
[NSID: node-singapore4; ns1.gandi.net. hostmaster.gandi.net. 1662595200 10800 3600 604800 10800] : 2 occurrences
[TIMEOUT] : 1 occurrences
Test #44878398 done at 2022-09-13T05:32:55Z
Reusing the set of probes from this test to traceroute works too:
~ % blaeu-traceroute --old_measurement 44878398 --format --protocol=ICMP --do_reverse_lookup 173.246.100.2
Measurement #44878432 Traceroute 173.246.100.2 from probes of measurement #44878398 uses 14 probes
13 probes reported
Test #44878432 done at 2022-09-13T05:35:06Z
From: 152.195.112.52 15133 EDGECAST, US
Source address: 152.195.112.52
Probe ID: 6367
1 152.195.112.49 No PTR 15133 EDGECAST, US [3.766, 0.9, 5.444]
2 63.218.251.65 No PTR 3491 BTN-ASN, US [0.734, 0.478, 0.891]
3 63.218.236.114 Bundle-Ether41.br03.seo03.pccwbtn.net 3491 BTN-ASN, US [30.943, 31.288, 31.043]
4 ['*', '*', '*']
5 ['*', '*', '*']
6 ['*', '*', '*']
7 173.246.100.2 ns-1-a.gandi.net 209453 GANDI-LIVEDNS AS for LiveDNS Anycast servers, FR [31.227, 31.068, 30.943]
[…]