Post
Topic
Board Announcements (Altcoins)
Re: [XMR] Monero - A secure, private, untraceable cryptocurrency
by
elrippos friend
on 27/12/2020, 20:24:04 UTC
I have been fighting this attack for days. The only way I can keep my node running is to restart it every hour or so, even with the block list.  I have conceded defeat and  shut down. Hoping for a fix in an updated release, but the effectiveness of this attack is certainly worrisome.

Just built a script in crontab to kill all hourly, update the tor list from github and restart all again  Wink

My script seems to work, which kills all monerod processes every hour and restarts that every hour and minute

1. I built a srcipt that is called every hour and one minute in the crontab
Code:
#!/bin/bash
rm -fR tor-exit-nodes.*
wget https://github.com/SecOps-Institute/Tor-IP-Addresses/blob/master/tor-exit-nodes.lst
cd /home/user/monero-x86_64-linux-gnu-v0.17.1.7
sudo -u user ./monerod --detach --rpc-bind-ip 0.0.0.0 --confirm-external-bind --hide-my-port --ban-list /home/user/tor-exit-nodes.lst
exit 0

2. in /etc/crontab i added two lines
Code:
0 *    * * *    root    killall -9 monerod
1 *    * * *    user    /home/user/monerorestart.bash &>/dev/null

Still after 45min my meomory is more or less exhausted, so the ban list does not seem to do what it is supposed to, but it's worht the try