Skip to content

Conversation

@Frando
Copy link
Member

@Frando Frando commented Nov 25, 2025

This records the path id remote address when sending or receiving packets. This makes debugging iroh much more useful.

qlog doesn't seem to have fields for this, there's a way to add extra fields however. This uses this. The extra fields are shown in the JSON when clicking on an event in https://qvis.quictools.info/, so this is actually usable this way even though non-standard.

Not sure what the best way forward here is, but with this we can now see the path id and src/dst remote addr for each packet when using with iroh.

Edit: The current Qlog draft adds a tuple field to record the 4-tuple in the top-level event
https://quicwg.org/qlog/draft-ietf-quic-qlog-main-schema.html#name-tuple

@Frando Frando changed the title feat: record src/dst addrs and path id feat: in qlog, also record src/dst addrs and path id for packets Nov 25, 2025
@n0bot n0bot bot added this to iroh Nov 25, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants