BFD: consider adding an rx check for control packets with TTL/HL < 255
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- rust
- 領域
- networking
調査の方向性
RFC 5881 のセクション 5 から始めて、BFD 制御パケットの受信経路を追跡します。単一ホップに必要な動作と、RFC 5883 のマルチホップ例外を比較します。認証がチェックにどのような影響を与えるか、また設定可能な最小 TTL/Hop Limit がどのように機能すべきかを明確にします。スコープと設定動作が定義され、テストでカバーされれば完了です。
索引モデルが issue の本文から書いたものです。
説明
RFCs section 5881 (single-hop) mentions that TTL/Hop-Limit MUST be set to 255 and MUST be discarded if the value != 255:
5. TTL/Hop Limit Issues
If BFD authentication is not in use on a session, all BFD Control
packets for the session MUST be sent with a Time to Live (TTL) or Hop
Limit value of 255. All received BFD Control packets that are
demultiplexed to the session MUST be discarded if the received TTL or
Hop Limit is not equal to 255. A discussion of this mechanism can be
found in [GTSM].
If BFD authentication is in use on a session, all BFD Control packets
MUST be sent with a TTL or Hop Limit value of 255. All received BFD
Control packets that are demultiplexed to the session MAY be
discarded if the received TTL or Hop Limit is not equal to 255. If
the TTL/Hop Limit check is made, it MAY be done before any
cryptographic authentication takes place if this will avoid
unnecessary calculation that would be detrimental to the receiving
system.
In the context of this section, "authentication in use" means that
the system is sending BFD Control packets with the Authentication bit
set and with the Authentication Section included and that all
unauthenticated packets demultiplexed to the session are discarded,
per the BFD base specification.
We don't do any such checks today, which we should consider doing.
Also of note: this requirement is obviously not present for Multi-Hop BFD (RFC 5883), but a configurable minimum TTL/Hop Limit would make sense as a coarse security mechanism akin to BGP TTL Security.
- 主要言語
- Rust
- スター
- 100
- フォーク
- 8
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 18
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oxidecomputer/maghemite のほかの issue
-
ICMPv6 Router Solicitations are generated with invalid checksums対応中かも @taspelund が 154 日前に担当しました。 オープンBug mgd ndp rust
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
oxidecomputer/maghemite#802 ·
メンテナーはふだん 1 日以内に返信
-
ddm
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
oxidecomputer/maghemite#1039 ·
メンテナーはふだん 1 日以内に返信
-
ddm want
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
oxidecomputer/maghemite#1033 ·
メンテナーはふだん 1 日以内に返信
-
Bug ddm rust
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
oxidecomputer/maghemite#997 ·
メンテナーはふだん 1 日以内に返信
-
🤖 ddm: a withdraw removes a route that a second source still gives対応中かも @taspelund が 19 日前に担当しました。 オープンBug ddm rust
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
oxidecomputer/maghemite#996 ·
メンテナーはふだん 1 日以内に返信
oxidecomputer/maghemite の issue をすべて見る
似ている issue
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedオープンunconfirmed possible issue
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jerney-nexus/epikrise#364 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Yeachan-Heo/gajae-code#8058 ·
メンテナーはふだん 1 日以内に返信
-
bug daemon
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信