antirez / antirez/hping

Increase interfaces limit to 4096

Đang mở
#65 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C
Star
1.7k
Fork
364
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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],`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.