Difference between revisions of "Pool Operations"

From Veriblock Wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
<pre>
 
<pre>
# copy file over, make executable, run
+
# copy file over, run
chmod +x install.sh
+
bash ./install.sh
./install.sh
 
  
 
#you may be prompted to install fail2ban
 
#you may be prompted to install fail2ban

Revision as of 21:12, 16 November 2018

See: HowTo_run_and_connect_to_PoW_Miner_pool

Overview

This page provides information on pool operations and is intended for pool admins.

Anti-DOS

Simple ban script

"nodecore_ddosban" is a simple ban script (written for Ubuntu) that scans ss and if an IP is connecting to port 8500 to frequently, it calls fail2ban (which wraps iptables) to block that IP.

Script here: http://mirror1.veriblock.org/nodecore_ddosban_v1.tar

# copy file over, run
bash ./install.sh

#you may be prompted to install fail2ban

Notes:

  • if an IP is added, then it records in the log "ddosban.log"

View is script has run (example for ubuntu):

grep -i cron /var/log/syslog | grep ddosban

View IPS that were banned

  1. View the "ddosban.log"
  2. Run "sudo iptables -L" to see current bans