Difference between revisions of "Pool Operations"

From Veriblock Wiki
Jump to: navigation, search
(Created page with "See: HowTo_run_and_connect_to_PoW_Miner_pool __TOC__ == Overview == This page provides information on pool operations and is intended for pool admins. == Anti-DOS ==...")
 
Line 13: Line 13:
 
"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.
 
"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: TODO
+
Script here: http://mirror1.veriblock.org/nodecore_ddosban_v1.tar
  
 
<pre>
 
<pre>

Revision as of 20:58, 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, make executable, run
chmod +x install.sh
./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