Skip to content
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

Add IPv6 support #5

Open
insomniacslk opened this issue Feb 4, 2016 · 7 comments
Open

Add IPv6 support #5

insomniacslk opened this issue Feb 4, 2016 · 7 comments

Comments

@insomniacslk
Copy link
Owner

Dublin Traceroute is only able to work on IPv4 networks. IPv6 support is required, as IPv4 is a legacy protocol.

@insomniacslk
Copy link
Owner Author

current status: IPv6 support is present in the Go implementation but not yet in the C++ one

@marek22k
Copy link

marek22k commented Apr 1, 2024

Are there any news in the meantime?

@insomniacslk
Copy link
Owner Author

@marek22k no one has worked on IPv6 support in the C++ implementation. Meanwhile, if you need that, please use
the Go implementation

@marek22k
Copy link

marek22k commented Apr 5, 2024

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

@insomniacslk
Copy link
Owner Author

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

@marek22k
Copy link

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

@insomniacslk
Copy link
Owner Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants