p-quic / pquic

The PQUIC implementation, a framework that enables QUIC clients and servers to dynamically exchange protocol plugins that extend the protocol on a per-connection basis
https://pquic.org
MIT License
126 stars 20 forks source link

Invalid original_destination_connection_id #34

Open QUICTester opened 1 year ago

QUICTester commented 1 year ago

Hi,

During testing commit 841c8228, we discovered that the PQUIC server always updates/overwrites its original_destination_connection_id when processing the client's Initial packet.

According to RFC 9000, original_destination_connection_id is the value of the Destination Connection ID field from the first Initial packet sent by the client. However, when sending the packet sequence below, PQUIC will overwrite the value every time it receives a new Initial packet: 1) Initial packet that carries a Ping frame 2) Initial packet that carries a Ping frame

mpiraux commented 11 months ago

Could you test #39 as a potential fix ?

QUICTester commented 10 months ago

Yes, it is solved.