Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

(Non-conformance) Wrapping of Record Sequence Number

オープン
#258 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
c

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
C
スター
122
フォーク
67
平均マージ
6日 8時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-tinydtls/tinydtls のほかの issue

eclipse-tinydtls/tinydtls の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。