hping packet mess when running same test on same machine
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- c
- 領域
- cli, networking
調査の方向性
rtt.c の rtt() から始め、同じマシン上の 2 つのコンソールで提供された hping3 コマンドを実行して動作を再現してください。現在のプロセスに属さないパケットがどのように処理されるかを確認してください。完了条件は、それらのパケットが rtt=0.0 ms を生成しなくなり、有効な応答は引き続きそのタイミングを報告することです。
索引モデルが issue の本文から書いたものです。
説明
I noticed something related to hping3. Run the following command on the same machine on two different consoles:
sudo hping3 www.times.com -S -p 80
You will see a number of results with "rtt=0.0 ms" on both consoles, that they wouldn't be there if you were running only one command.
I think this is due to both processes catching each other's tcp packets. Since, they figure out they didn't send them, they print a rtt=0.0 ms.
The problem is in the function rtt() in rtt.c where it does *ms_delay = 0. Currently an hping3 process prints a 0.0 when it receives a packet that doesn't belong to it. However, I think in this case the packet should be ignored, and print nothing.
I would like to hear if there is a strong reason why it currently prints 0.0.
- 主要言語
- C
- スター
- 1.7k
- フォーク
- 367
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
antirez/hping のほかの issue
-
fix typo: "tramitted" --> "transmitted"対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
Website different?オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
IPV6 Support?オープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
似ている issue
-
http_fetch tests: the two no-child rows fail, not skip, where a task's children file does not exist対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea:http kind:gate-defect
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
InauguralSystems/EigenScript#2397 ·
メンテナーはふだん 1 日以内に返信
-
Add SECURITY.mdオープンenhancement
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
modem: ppp: CMUX DLCI receive buffer overruns on large downlink packets対応中かも @pedrohqr が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
zephyrproject-rtos/zephyr#126195 ·
メンテナーはふだん 3 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
ly05010419/MacNativeGames#2271 ·
メンテナーはふだん 1 日以内に返信