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 ==...")
 
(Blanked the page)
Tag: Blanking
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
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 ==
 
 
=== 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
 
 
<pre>
 
# copy file over, make executable, run
 
chmod +x install.sh
 
./install.sh
 
 
#you may be prompted to install fail2ban
 
</pre>
 
 
Notes:
 
* if an IP is added, then it records in the log "ddosban.log"
 
 
View is script has run (example for ubuntu):
 
 
<pre>
 
grep -i cron /var/log/syslog | grep ddosban
 
</pre>
 
 
View IPS that were banned
 
# View the "ddosban.log"
 
# Run "sudo iptables -L" to see current bans
 

Latest revision as of 21:18, 16 November 2018