antirez / antirez/hping

Wrong byte order in the sequence number of ICMP echo requests (Little Endian)

オープン
#19 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
1.7k
フォーク
364
PR マージ指標
30日以内にマージされた PR はありません

説明

In sendicmp.c the sequence number header field of ICMP echo requests is set to _icmp_seq which is a counter. However in little-endian architectures (x86) we need to change the byte order to big-endian so that it meets the network order convention. We can use htons(_icmp_seq) for this.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

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

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