Add in block.txt to block malicious nodes at start (#18)

* Add in download and add block.txt

Adding in this text file of IP addresses allows monerod to block known-malicious nodes on start instead of waiting for detection of their malicious behavior.

* Fix file placement to proper directory
This commit is contained in:
Seth Simmons 2020-12-18 13:57:28 +00:00 committed by GitHub
parent 9f93b9b0ab
commit 8516f1fe22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,6 +27,10 @@ RUN adduser --system --group --disabled-password monero && \
VOLUME /home/monero/.bitmonero
VOLUME /wallet
# Download and add block.txt to block known-malicious hosts
ADD https://gui.xmr.pm/files/block.txt /home/monero/block.txt
RUN chown monero:monero /home/monero/block.txt
EXPOSE 18080
EXPOSE 18081
EXPOSE 18082