Repository navigation
Add DTLS 1.3 feature discovery - #189
Conversation
Updates protocol-version, cipher-suite, and named-group discovery, Includes DTLS 1.3 support in probe requirements and scan reports.
mmaehren
left a comment
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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.
| if (config.getHighestProtocolVersion().isDTLS13()) { | ||
| trace.addTlsAction(new SendAction(new AckMessage())); | ||
| } |
There was a problem hiding this comment.
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.
| if (config.getHighestProtocolVersion().isDTLS13()) { | ||
| workflowTrace.addTlsAction(new SendAction(new AckMessage())); | ||
| } |
There was a problem hiding this comment.
(see comment in CipherSuite probe )
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