Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding flights of packets to the knowledge and ability to decrypt a whole flight of packets #313

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

aeyno
Copy link
Collaborator

@aeyno aeyno commented Apr 29, 2024

This PR allows storing a flight of packet, eg. all packets that were sent by a PUT between two steps, in the knowledge. This flight could then be queried and used in a trace as a Vec<Message>. This PR also adds the ability to send a Flight of packets in a trace step, which allows to send multiple packets at once.

This is needed to make the traces less dependent of implementation choices and to be resilient if some implementations choose to fragment their packets in different ways.

The first use case is to create traces that work both for OpenSSL/WolfSSL/LibreSSL and BoringSSL, the latter fragmenting his handshake messages differently than the formers.

@maxammann maxammann self-requested a review May 3, 2024 15:55
@LCBH LCBH self-requested a review May 29, 2024 11:49
puffin/src/protocol.rs Outdated Show resolved Hide resolved
puffin/src/trace.rs Outdated Show resolved Hide resolved
tlspuffin/src/tls/fn_utils.rs Outdated Show resolved Hide resolved
tlspuffin/src/tls/fn_utils.rs Outdated Show resolved Hide resolved
tlspuffin/src/tls/fn_utils.rs Outdated Show resolved Hide resolved
tlspuffin/src/tls/fn_utils.rs Outdated Show resolved Hide resolved
tlspuffin/src/tls/seeds.rs Outdated Show resolved Hide resolved
tlspuffin/src/tls/seeds.rs Show resolved Hide resolved
tlspuffin/src/tls/seeds.rs Outdated Show resolved Hide resolved
@aeyno aeyno force-pushed the message_flights branch 5 times, most recently from bd2bd6d to 51de8e5 Compare June 3, 2024 14:53
@aeyno aeyno mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants