Open insomniacslk opened 8 years ago
current status: IPv6 support is present in the Go implementation but not yet in the C++ one
Are there any news in the meantime?
@marek22k no one has worked on IPv6 support in the C++ implementation. Meanwhile, if you need that, please use the Go implementation
I apologize if my question came across as rude - that was not my intention.
How do I install or build the Go version?
$ go version
go version go1.19.8 linux/amd64
$ go install github.com/insomniacslk/dublin-traceroute@latest
go: github.com/insomniacslk/dublin-traceroute@latest: module github.com/insomniacslk/dublin-traceroute@latest found (v0.4.2), but does not contain package github.com/insomniacslk/dublin-traceroute
$ git clone https://github.com/insomniacslk/dublin-traceroute.git
Cloning into 'dublin-traceroute'...
remote: Enumerating objects: 1899, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (51/51), done.
remote: Total 1899 (delta 173), reused 186 (delta 160), pack-reused 1679
Receiving objects: 100% (1899/1899), 9.27 MiB | 1.24 MiB/s, done.
Resolving deltas: 100% (974/974), done.
$ cd dublin-traceroute/
$ go build
go: errors parsing go.mod:
/home/marek/dublin-traceroute/go.mod:5: unknown directive: toolchain
$ go build .
go: errors parsing go.mod:
/home/marek/dublin-traceroute/go.mod:5: unknown directive: toolchain
Oh no worries, I didn't perceive it as rude.
go: errors parsing go.mod: /home/marek/dublin-traceroute/go.mod:5: unknown directive: toolchain
This is due to the new directive toolchain
introduced in Go 1.21.
You can either update your Go version to 1.21 or above, or try removing that line manually from go.mod
in the root of the repository before you build. Let me know if that works
I have now tried it with a higher Go version:
$ go install github.com/insomniacslk/dublin-traceroute@latest
go: downloading github.com/insomniacslk/dublin-traceroute v0.4.2
go: github.com/insomniacslk/dublin-traceroute@latest: module github.com/insomniacslk/dublin-traceroute@latest found (v0.4.2), but does not contain package github.com/insomniacslk/dublin-traceroute
$ go version
go version go1.22.2 linux/amd64
Oh, I'll have to fix that, I rarely use the go install
route. Meanwhile can you try the following?
cd go/dublintraceroute/cmd/dublin-traceroute
go build
./dublin-traceroute --help
and let me know if that works for you?
Dublin Traceroute is only able to work on IPv4 networks. IPv6 support is required, as IPv4 is a legacy protocol.