prometheus-community / pro-bing

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

Allow setting TTL #27

Open Hipska opened 1 year ago

Hipska commented 1 year ago

This in order to implement traceroute-like tools..

SuperQ commented 1 year ago

TTL is already supported.

SuperQ commented 1 year ago

A traceroute tool would be interesting. I've been thinking about a "traceroute discovery" option for the smokeping_prober.

Hipska commented 2 months ago

@SuperQ seems like the app keeps hanging when you set a low TTL, the Run method never returns.. https://gist.github.com/Hipska/6c19e707445029cae8abfac098405032

tt2468 commented 2 months ago

I'm building a tool to run some automated pings on Windows. I'm not even using ctx, I see that it simply blocks forever when setting a TTL of 1 and calling Run().

EDIT: Same behavior on WSL/ubuntu