pro-bing icon indicating copy to clipboard operation
pro-bing copied to clipboard

Set outbound interface, like `ping -I` option

Open ilolicon opened this issue 2 years ago • 5 comments

Hello,

I attempted to implement a useful feature - sending data packets from a specific network interface, similar to what the "ping" command's "-I" option does in Linux. Hoping I did it correctly. Test successfully passed on Linux OS.

Thanks!

The issues related to this feature:

go-ping/ping#111

go-ping/ping#204

ilolicon avatar Apr 12 '23 03:04 ilolicon

This needs a DCO sign-off. You can use git commit -s --amend to add it.

SuperQ avatar Apr 12 '23 05:04 SuperQ

FWIW, I would like to see this feature added in order to use VRF with this library.

bluecmd avatar Nov 10 '23 18:11 bluecmd

I need this feature really bad. Can anyone merge this?

HsimWong avatar Jul 19 '24 03:07 HsimWong

The PR needs to be rebased if it is to have any chance of getting merged.

bluecmd avatar Jul 19 '24 07:07 bluecmd

Checking on this PR? I could use it. Is it dead?

dan-sherwin avatar Sep 27 '24 02:09 dan-sherwin

Hi, any updates on this PR? It is quite useful when debugging the network on hosts with multiple net interfaces.

liuweiky avatar Oct 18 '24 08:10 liuweiky

I need this to use link-local IPv6 addresses

MatthieuCoder avatar Oct 29 '24 11:10 MatthieuCoder

At least the PR has conflicts, @ilolicon can you resolve them?

Hipska avatar Oct 29 '24 11:10 Hipska

If someone would like to fork this code and submit a new PR, feel free.

SuperQ avatar Oct 29 '24 11:10 SuperQ

At least the PR has conflicts, @ilolicon can you resolve them?

Sorry, I was too busy recently and didn't pay attention to the news. It seems that @MatthieuCoder has resolved the conflict.

ilolicon avatar Oct 30 '24 10:10 ilolicon

Resolved #123

HsimWong avatar Nov 05 '24 09:11 HsimWong