antirez / antirez/hping

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

Aperta
#23 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C
Stelle
1.7k
Fork
364
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.