Shadowsocks-libev: ss-server提示This system doesn't provide enough entropy to quickly generate high-quality ...

Created on 19 Mar 2017  ·  5Comments  ·  Source: shadowsocks/shadowsocks-libev

What version of shadowsocks-libev are you using?

3.0.4

What operating system are you using?

debian 4.9.14-040914-generic(AWS开的服务器)

What did you do?

ss-server运行命令提示如下:
This system doesn't provide enough entropy to quickly generate high-quality random numbers
Installing the rng-utils/rng-tools or haveged packages may help.
On virtualized Linux environments, also consider using virtio-rng.
The service will not start until enough entropy has been collected.

不太懂来问问,什么原因?

question

Most helpful comment

Just install the rng-tool and use command rngd -r /dev/urandom

All 5 comments

As it said,

This system doesn't provide enough entropy to quickly generate high-quality random numbers
Installing the rng-utils/rng-tools or haveged packages may help.
On virtualized Linux environments, also consider using virtio-rng.
The service will not start until enough entropy has been collected.

Just install the rng-tool and use command rngd -r /dev/urandom

I'd like to recommend haveged, rather than rng-tool

@rogers0
How would you do it with haveged? Following command should work on Debian and Redhat based systems to install it:
yum install haveged -y 2>/dev/null||sudo apt-get install haveged -y 2>/dev/null
service haveged status shown it is running, but the ss-server continue to complain. Until i installed and ran rngd command suggested by Galaxy0419

The alert message is gone when I set a paranoid long password

Was this page helpful?
0 / 5 - 0 ratings