Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

(Non-conformance) Wrapping of Record Sequence Number

Aperta
#258 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Ferma
Stack tecnologico
c

Direzione di ricerca

Start by reading the cited DTLS 1.2 RFC requirement and comparing it with the attached handshake trace, which shows the sequence-number wrap. Locate the code paths that handle the received CH2 and construct SH and SHD; the issue does not name specific files or tests. Done when the implementation no longer allows the sequence number to wrap, in accordance with the RFC.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 the wrapping of record sequence number :

As in TLS, implementations MUST either abandon an association or rehandshake prior to allowing the sequence number to wrap.

Actual behavior
When TinyDTLS receives a CH2 with the record sequence set to the highest possible value (i.e. FF FF FF FF FF FF), it repeats the record sequence number in the SH and then it increments the record sequence for SHD which results in wrapping the sequence number (i.e. SHD.sequence_number = 0).

I have attached the handshake trace for the mentioned non-conformance.

rseq_wrapping.zip

Lingua principale
C
Stelle
122
Fork
67
Merge medio
6g 8h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-tinydtls/tinydtls

Tutte le issue di eclipse-tinydtls/tinydtls

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.