antirez / antirez/hping

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

Offen
#23 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
1.7k
Forks
364
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.