4 ms·
I've never used traceroute, but after reading this article, I know I will. Went ahead and looked at the source for traceroute. This heading comment is quite gr
by seeknotfind 3y ago
I've never used traceroute, but after reading this article, I know I will.
Went ahead and looked at the source for traceroute. This heading comment is quite great and informative as well:
https://github.com/openbsd/src/blob/master/usr.sbin/traceroute/traceroute.c#L66C1-L66C1 https://github.com/openbsd/src/blob/master/usr.sbin/tracerou...
They also use the event APIs to implement the loop of traceroute. Seems like a lot of effort to me given how few events. Maybe someone else has insights why.
- somat 3y agoI am probably sharing forbidden knowledge, but look up the mtr program. It is kind of like a strange hybrid of traceroute and ping.