Johnny,
This is a very cool idea that is quite useful now that HECnet has so many nodes out
there these days. You mention that the source is in C, and I was wondering where I could
find a copy of the source code? I always learn a lot when I can study bits of your source
code for things.
Thanks for all the fun stuff!
Mark
On May 1, 2024, at 9:09 PM, Johnny Billquist
<bqt(a)softjar.se> wrote:
I just wanted to let people know that I've just created a traceroute for RSX.
Available also as an RPM.
It can trace the route from yourself to somewhere, but also do tracing from one arbitrary
node to another. So you can explore the different paths in both directions.
Example:
.trd frodo
Trace DECnet route
Tracing from 1.21 (JOCKE) to 30.1 (FRODO)
1: Tot: 0 1.21 (JOCKE)
2: Cost: 5 Tot: 5 1.13 (MIM)
3: Cost: 3 Tot: 8 1.1023 (ANKE)
4: Cost: 10 Tot: 18 30.15 (CBVRP3)
5: Cost: 3 Tot: 21 30.1 (FRODO)
Hops: 5 Total cost: 21
.trd frodo pondus
Trace DECnet route
Tracing from 30.1 (FRODO) to 1.15 (PONDUS)
1: Tot: 0 30.1 (FRODO)
2: Cost: 3 Tot: 3 30.15 (CBVRP3)
3: Cost: 6 Tot: 9 1.1023 (ANKE)
4: Cost: 3 Tot: 12 1.13 (MIM)
5: Cost: 5 Tot: 17 1.15 (PONDUS)
Hops: 5 Total cost: 17
.
A couple of comments:
1. This all works by talking to the NICE server for each node along the path.
2. If a hop does not have a NICE server, it will not be possible to query beyond that
point. This typically happens if there is a CISCO router in the path.
3. Your local node needs to have a nodename of all nodes along the path, or else the
program cannot connect to the NICE server of that hop.
4. If NICE do not give a next hop for a node, the program tries to instead query about
the destination area. If that also fails, then the tracing fails. This happens with with
older versions of PyDECnet.
So in order to make some diagnosing of things on HECnet a bit easier, please update your
PyDECnet routers to a somewhat recent version everybody.
Suggestions on improvements, as well as bug resports are most welcome. The code is
written in C, and isn't that large. At the moment is's a bit hacky, but I might
eventually clean it up some. But it means if someone wants to port this, it's not
completely impossible to do so.
Johnny
--
Johnny Billquist || "I'm on a bus
|| on a psychedelic trip
email: bqt(a)softjar.se || Reading murder books
pdp is alive! || tryin' to stay hip" - B. Idol
_______________________________________________
HECnet mailing list -- hecnet(a)lists.dfupdate.se
To unsubscribe send an email to hecnet-leave(a)lists.dfupdate.se