-
Notifications
You must be signed in to change notification settings - Fork 58
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 the InterfaceName
option to Pinger
#123
Conversation
It seems like the test fails on permissions. |
Indeed, as the tests work locally, I wonder if it's a permission issue on CircleCI's end. |
As @ilolicon pointed out, the tests run just fine on a local hosts & using the circleci local cli:
|
Seems like using another interface did not fix the issue regarding permissions, |
We can try switching from Docker to Machine mode for CI. |
I would like that. |
Interface
option to Pinger
InterfaceName
option to Pinger
Do I need to pull the changes on |
Permission denied still, I'll look into it tomorrow |
2179d40
to
77e1065
Compare
8774fc5
to
757e52e
Compare
Yea, the only problem with the machine image is it doesn't directly control the Go version. |
Indeed, I read online that this could be solved by running docker in the machine executor, this might require more configuration. |
hold on I have a last thing to change |
…t specifies the device that needs to be used to send and receive ICMP echo requests and response. This allows usage of `pro-bing` with linux VRFs, and IPv6 link-local addresses. Squashed commit of the following: commit 7385672 Author: Matthieu Pignolet <matthieu@matthieu-dev.xyz> Date: Tue Oct 29 16:11:33 2024 +0400 Renaming the `Interface` Pinger property to `InterfaceDevice` to avoid conflict with the `interface` keyword. Signed-off-by: Matthieu Pignolet <matthieu@matthieu-dev.xyz> commit 978c60e Author: Matthieu Pignolet <matthieu@matthieu-dev.xyz> Date: Tue Oct 29 15:59:36 2024 +0400 Add the `Interface` option to `Pinger` This allows using `pro-bing` to use VRFs interfaces and IPv6 link-local addresses. Originally from @ilolicon in prometheus-community#32. commit 16f9286 Author: Matthieu Pignolet <matthieu@matthieu-dev.xyz> Date: Tue Oct 29 15:46:13 2024 +0400 Remove the un-used function in te `packetConn` interface that did not get removed during the merging process commit 88bb1f5 Author: ilolicon <97431110@qq.com> Date: Wed Apr 12 16:23:06 2023 +0800 Refactoring the variable name `Iface` to `Interface` and `ifaceIndex` to `ifIndex`(keeping it consistent with `ControlMessage`) Signed-off-by: ilolicon <97431110@qq.com> commit 887b4e2 Author: ilolicon <97431110@qq.com> Date: Wed Apr 12 10:39:36 2023 +0800 feat: interface binding Signed-off-by: ilolicon <97431110@qq.com> Signed-off-by: Matthieu Pignolet <matthieu@matthieu-dev.xyz>
now ready! |
… `net.InterfaceByName` naming convention Sgguestd by @Hipska Signed-off-by: Matthieu Pignolet <matthieu@matthieu-dev.xyz>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. We can fix the Go version matrix later. For now we can live with the version provide in the machine image.
This is a rebase of #32 to match the current HEAD on main.
This allows using
pro-bing
to use VRFs interfaces and IPv6 link-local addresses.