prometheus-community / pro-bing

A library for creating continuous probers
MIT License
309 stars 52 forks source link

Set outbound interface, like `ping -I` option #32

Open ilolicon opened 1 year ago

ilolicon commented 1 year ago

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

SuperQ commented 1 year ago

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

bluecmd commented 9 months ago

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

HsimWong commented 1 month ago

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

bluecmd commented 1 month ago

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