Pool Operations

From Veriblock Wiki
Revision as of 20:40, 16 November 2018 by VeriBlockTim (talk | contribs) (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 ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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: TODO

# 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