Skip to content

Add DTLS 1.3 feature discovery - #189

Merged
mmaehren merged 4 commits into
tls-attacker:mainfrom
JoTurk:jo/dtls-13
Nov 7, 2026
Merged

mmaehren merged 4 commits into
tls-attacker:mainfrom
JoTurk:jo/dtls-13

Conversation

@JoTurk

@JoTurk JoTurk commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Hello.
Updates protocol-version, cipher-suite, and named-group discovery, Includes DTLS 1.3 support in probe requirements and scan reports. We developed this patch to use anvil to test pion/dtls in our CI pion/dtls-interop#48

Updates protocol-version, cipher-suite, and named-group discovery,
Includes DTLS 1.3 support in probe requirements and scan reports.

@mmaehren mmaehren left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey,
thanks again for the contributions! I made some minor changes (see below). Let me know if I missed any scenario where these changes should not be applied.

private List<NamedGroup> getTls13GroupsToTest() {
List<NamedGroup> groupList = getCurvesToTest();
NamedGroup.getImplemented().stream().filter(NamedGroup::isDhGroup).forEach(groupList::add);
groupList.retainAll(advertisedNamedGroups);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My understanding is that this is meant to ensure we only test groups offered by the client. We also want to test if the client accepts groups it didn't propose. Hence, I will revert this part.

Comment on lines +75 to +77
if (config.getHighestProtocolVersion().isDTLS13()) {
trace.addTlsAction(new SendAction(new AckMessage()));
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see the need to send the ACK. While it would be more RFC compliant to send it, we will tear down the connection after receiving the client FIN anyway. Sending it thus only adds a delay. I will revert this for now. Let me know if I'm missing something where sending the ACK would be crucial.

Comment on lines +147 to +149
if (config.getHighestProtocolVersion().isDTLS13()) {
workflowTrace.addTlsAction(new SendAction(new AckMessage()));
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(see comment in CipherSuite probe )

@mmaehren
mmaehren merged commit e0b39ca into tls-attacker:main Nov 7, 2026
1 check passed
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.

2 participants