(Non-conformance) Stateless Cookie Exchange
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- c
- 領域
- networking, security
調査の方向性
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.
索引モデルが 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 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)```
- 主要言語
- C
- スター
- 122
- フォーク
- 67
- 平均マージ
- 6日 8時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-tinydtls/tinydtls のほかの issue
-
ECDHE_ECDSA ClientKeyExchange rejected as too short when DTLS_PSK_MAX_CLIENT_IDENTITY_LEN > 64対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug good first issue please retest
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
eclipse-tinydtls/tinydtls#298 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
`dtls_get_cookie`: dereference before the length check (currently masked by `dtls_create_cookie`)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
eclipse-tinydtls/tinydtls#279 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
MSVC build is broken (undeclared `DTLS_DEBUG_BUF_SIZE`)対応中かも @mrdeep1 が 11 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
eclipse-tinydtls/tinydtls#283 · コメント 5 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 57/100
eclipse-tinydtls/tinydtls#278 · コメント 3 件 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
eclipse-tinydtls/tinydtls#274 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
eclipse-tinydtls/tinydtls の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
area:gates bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
InauguralSystems/EigenScript#1782 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
intel/intel-device-plugins-for-kubernetes#2384 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
zephyrproject-rtos/zephyr#122261 ·
メンテナーはふだん 3 日以内に返信