Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmuc-mesh-vpn-wireguard: use urandom instead awk #36

Conversation

grische
Copy link

@grische grische commented Mar 26, 2024

awk's srand() uses only second-precision for its initial time-based seed.
That leads to many routers getting the same random number.

Replacing with busybox' hexdump and /dev/urandom that provides much better
random numbers.

Backport of freifunk-gluon#101

awk's srand() uses only second-precision for its initial time-based seed.
That leads to many routers getting the same random number.

Replacing with busybox' hexdump and /dev/urandom that provides much better
random numbers.
@grische
Copy link
Author

grische commented Apr 9, 2024

Not necessary after freifunkMUC/site-ffm#397

@grische grische closed this Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant