Add path validation lifecycle qlog event #23
gives qlog a way to record the endpoint’s validation state.
I'm not sure if "started" is needed here, but that's an opinion only held lightly.
Approved these changes.
I am not sure about that one. The validation really is by tuple, not by path. We already have a "migration state updated" event in the main QUIC schema:
Validation is not listed per se, but it is pretty much the same as "migration_complete".
Could we log the tuple being validated alongside path_id? Migration can change the tuple under one Path ID, and a new Path ID can reuse a validated tuple. migration_complete implies the old path was discarded, but it can stay active when an additional path is validated. RFC 10069 §3.1, §3.1.2, qlog §5.21.
CDDL allows only one rule name to the left of =. QUICPathValidationUpdated already has its own definition above. RFC 8610, Appendix B.
QUICPathStatusUpdated = {
Thank you for making the local endpoint’s validation outcome explicit. I’ve left three inline suggestions on identifying the tuple, keeping the CDDL parseable, and interpreting the outcome.
Could succeeded require receiving a matching PATH_RESPONSE, and failed mean the endpoint gave up an outstanding validation attempt? A match can validate the address while the 1200-byte MTU check is still pending. PATH_ABANDON can close an unused Path ID, so its error code alone says why the path closed. RFC 9000 §8.2.3, §8.2.4, RFC 10069 §3.1, §3.4, §4.2.1.
path abandoned is not a validation failure. It is recorded in its own event, so we should not duplicate it here.
This should be tied to the section of 10069 defining validation. But I am dubious that we need a new event here, because we already have the quic event "migration_state_updated. We should not create duplicates of the quic level events. We may want to extend them with new information if needed. Don't we say that these events should carry a path ID in the event header?
We usually say "initiated". But we really should not attach this to the path. This is a tuple event.
I don't think we should create a multipath event for the validation. Validation is per tuple, and we already have an event in the quic log definition. We should reuse that event, extend it if necessary, but not create our own.
Only trying to change my review here, as said elsewhere I agree that that this is a 4-tuple event and not directly a multipath concern. Multipath only needs to map a 4-tuple to a path at all times.
Yes can so. Reworking the examples.
yes when it described a known path.
ok dropping the new event and reusing existing quic:migration_state_updated event.
If we still need an explicit validation outcome for the added path case, can we discuss extending the base QUIC qlog schema ?
noted
check the "Logging validation during migration" section
I added a use case for NAT rebinding
we could've done that yes but following the review feedback, I revised the PR to use the existing migration_state_updated event for probing during migration. I’ll open an issue in quicwg/qlog and start a discussion thread about how to log explicit tuple validation outcomes
aah I see it already exists https://github.com/quicwg/qlog/issues/659#issue-6521668431
thank you @huitema
flub
altanai
Add
quic:path_validation_updatedto report local path validation transitions, including optional trigger, failure reason, and PATH_ABANDON error code. Register the event type alongside the existing multipath path lifecycle events.