(Non-conformance) Stateless Cookie Exchange
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- c
- Domaine
- networking, security
Piste de recherche
Read the linked DTLS 1.2 RFC section 4.2.1 and inspect the attached handshake trace alongside the duplicate-packet log. Trace how TinyDTLS records and checks the initial ClientHello sequence number; done means the ClientKeyExchange record in the trace is not discarded as a duplicate and the stateless cookie exchange retains no initial ClientHello state.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
- Type: Non-conformance Bug
- Priority: Minor
Non-conformance Bug
Version: development branch
Expected behavior
The DTLS 1.2 RFC specifies the following requirement regarding stateless cookie exchange :
The DTLS server SHOULD generate cookies in such a way that they can be verified without retaining any per-client state on the server.
Actual behavior
TinyDTLS stores the record sequence number of the initial ClientHello and discards any subsequent records that duplicate this sequence number. However, in a truly stateless exchange, no information from the initial ClientHello should be retained. In the attached handshake trace, the record containing the ClientKeyExchange message uses the same record sequence number as the initial ClientHello. As shown in the log below, this results in the record being discarded.
Log
May 15 13:08:00 INFO received message (117 bytes), starting with 'handshake', epoch 0
May 15 13:08:00 INFO handshake message epoch 0
May 15 13:08:00 INFO got 'handshake' epoch 0 sequence 0 (42 bytes)
May 15 13:08:00 DEBG dtls_handle_message: FOUND PEER
May 15 13:08:00 DEBG bitfield is ffffffffffffffff sequence base 1 rseqn 0
May 15 13:08:00 DEBG Drop: duplicate packet arrived (bitfield)```
- Langage dominant
- C
- Étoiles
- 122
- Forks
- 67
- Merge moyen
- 7 j 4 h
- PR mergées (30 j)
- 1
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de eclipse-tinydtls/tinydtls
-
MSVC build is broken (undeclared `DTLS_DEBUG_BUF_SIZE`)Peut-être pris @mrdeep1 l’a pris il y a 35 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 25/100
eclipse-tinydtls/tinydtls#283 · 5 commentaires ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
eclipse-tinydtls/tinydtls#274 · 2 commentaires ·
-
DTLS 1.2 (RFC 6347) Compliance Observations in tinydtlsPeut-être à nouveau libre @boaks l’a pris il y a 204 jours, et aucune pull request n’est ouverte. Ouvertebug good first issue
eclipse-tinydtls/tinydtls#268 · 2 commentaires · 1 réaction · 1 personne assignée ·
-
New tag / versionOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
eclipse-tinydtls/tinydtls#261 · 6 commentaires · 1 réaction ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
eclipse-tinydtls/tinydtls#258 · 1 commentaire ·
Toutes les issues de eclipse-tinydtls/tinydtls
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
onehumanbeing/esp32-iphone-agent#118 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
area:http-gateway decision priority:low status:needs-info type:feature
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
crazy-goat/php-fpm-ng#1093 ·
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
micropython/micropython#19906 ·
Les mainteneurs répondent en général sous 1 jour
-
QOI: QOI_OP_RUN does not update the previously seen pixels, corrupting qoi_test_images/edgecase.qoiPeut-être pris @manit2004 l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
python-pillow/Pillow#10452 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Add deskpal (b1tank/deskpal)Ouvertearea:data coverage
Difficulté 1/5 Moins d'une heure Accessibilité débutants 83/100
reacher-z/Awesome-CUA#4804 ·
Les mainteneurs répondent en général sous 19 jours