antirez / antirez/hping

hping3 --fast is 100pps and -u10000 or 10pps and -u100000, currently in contradiction

Đang mở
#76 0 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ả

[`usage.c:24`](https://github.com/antirez/hping/blob/master/usage.c#L24) says the`--fast alias for -i u10000 (10 packets for second)\n"`; however
[`parseoptions.c:505`](https://github.com/antirez/hping/blob/master/parseoptions.c#L505) says `usec_delay.it_interval.tv_usec = 100000;`

If I understood correctly, these numbers assume packet submission time is negligible; hence the `usage.c` or `parseoptions.c` disagree - both should be 10 packets for second (and `-u100000`) or 100 packets for second (and `-u10000`).

Thanks for `hping`!

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.