antirez / antirez/hping

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

未关闭
#76 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C
星标
1.7k
派生
364
PR 合并指标
30 天内没有已合并 PR

描述

[`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`!

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。