Skip to content

A peer traceroute/ping tool #258

Open

Description

@0xB10C

(I don't consider this as high-priority at the moment; it's a nice to have)

Based on some of the discussions in https://delvingbitcoin.org/t/eclipsing-bitcoin-nodes-with-bgp-interception-attacks/1965/4, a tool that does traceroutes to peers and stores the following information:

  • the number of hops to reach the peer
  • the number of path changes per time
  • the path, and check if the path goes through the same AS
  • ...

Additionally:

  • Keep track of the ICMP ping of the peers and compare it with the Bitcoin protocol ping timings

Activity

  1. added
    enhancement
    on Sep 17, 2025
  2. jurraca commented on Sep 17, 2025

    @jurraca
    Contributor

    was just experimenting with this.
    Looking at scamper or mtr for traceroute. There is mtr-exporter that exports Prometheus metrics.
    Combining with routinator, we can check that the origin AS is indeed the one with a valid ROA for that peer. We can also check that the ROA is "minimal" to avoid the MaxLength attack referenced in the post (paper).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions