antirez / antirez/hping

hping3 source address not properly randomized by --rand-source

Open
#23 2 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

I happened to run across this while writing a script to map the first and second octet of source addresses to the x and y of a 256 x 256 image. It seems there is something amiss with the random function used.
![hping3_udp_15m](https://cloud.githubusercontent.com/assets/7920511/19363312/41120288-918a-11e6-9e78-822063785b03.png)
You can see there's gaps in the random distribution. Ideally the distribution should be smooth.

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.