Skip to content

s2n-quic MTU probing is sending too many packets when probing a low MTU #3143

Description

@maddeleine

Security issue notifications

If you discover a potential security issue in s2n-quic we ask that you notify
AWS Security via our vulnerability reporting page. Please do not create a public github issue.

Problem:

We've noticed that if s2n-quic is configured with an initial MTU of 8940 and the network MTU is 1450, there will be a lot of packets sent, ~100, to fully probe this value. This seems like a mistake, a basic s2n-quic handshake only sends ~10 packets, so seeing 100 packets with the handshake + probing seems wrong. Since the MTU algorithm is a binary search, in order to probe from 8940 to 1450 MTU, there should be ~9 rounds of probing. With 3 probe retries we expect ~30 packets sent for fully probing this MTU. But we're sending way more than that. Minimally, we should investigate what's going on here. This matters because there are limits on the amount of packets that can be received by a given host, and with this packet count it puts us in danger of going above that limit.

Need By Date:

N/A

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions