antirez / antirez/hping

Increase interfaces limit to 4096

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

説明

Hello,

Hping3 fails to lookup for interfaces with index greater to 16 because the internal buffer to store interfaces is 16 entries large.
This result in hping3 not being usable for interfaces after this limit.
On todays computers we can have way more interfaces.
Can you increase the limit to a higher value (like 4096 for example) ?

In file 'getifname.':
`- struct ifreq ibuf[16],`
`+ struct ifreq ibuf[4096],`

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

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

評価

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

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

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