antirez / antirez/hping

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

Open
#76 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
1.7k
Forks
364
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.