which seems rather realistic

I thought you were saying groups of four hexadecimal digits in real-world IPv6 addresses more often start with 0 than not. I extrapolated that interpretation: "yet another distribution obeying Benford's law", I thought: https://en.wikipedia.org/wiki/Benford%27s_law

Magic Banana's efficient script

Writing the prefixes with simple commands (rather than sed), may save some CPU cycles: $ prefix=2a02:2788; sample_size=1048576; od -A n -N $(expr 12 \* $sample_size) -xw12 /dev/urandom | tr ' ' : | paste -d ''

Reply via email to