Statistics Summary Output to Stderr, why?
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 25/100
- issue の種類
- ドキュメント
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- c
- 領域
- cli, networking
調査の方向性
statistics.c の 32-39 行目を読み、hping がパケット結果とサマリー出力をどのように分離しているかを調べる。現在の stdout と stderr の挙動を issue の Mac OS X ping の例と比較する。完了条件は、設計上の理由を文書化するか、意図された出力ストリームを明確にすること。
索引モデルが issue の本文から書いたものです。
説明
First, fantastic utility, it has come in great handy!
I've been invoking hping in a context, where I do two things:
capture both the Stdout where each packet result is logged
and
capture statistics of the entire set of packets.
I noticed hping's statistics are piped to stderr, and for a point of comparison I checked that Mac OS X's ping logs the summary at the end of Stdout.
So I became curious, whether there's a specific design motivation for logging statistics on Stderr rather than at the end of Stdout? :)
https://github.com/antirez/hping/blob/master/statistics.c#L32-L39
- 主要言語
- 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 日以内に返信