Bitcoin Forum
June 21, 2024, 06:46:07 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how ban ip for long time in my node?  (Read 848 times)
vlamer (OP)
Member
**
Offline Offline

Activity: 101
Merit: 11

N.E.E.T


View Profile WWW
May 13, 2016, 04:50:05 PM
Last edit: May 13, 2016, 05:29:49 PM by vlamer
 #1

I find a bash script to ban ip list,like this :
Code:
#!/bin/bash
for x in $(cat hardfork.txt)
do
    bitcoin-cli setban $x add
done
Can I get  IP list node of hardfork? please give me the list. I can not write them down one by one from https://bitnodes.21.co  ..
and how I banned nodes hardfork in my peer list for long time or forever?

very thanks for helping ..  Wink

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1520


No I dont escrow anymore.


View Profile WWW
November 06, 2016, 09:17:26 AM
 #2

I find a bash script to ban ip list,like this :
Code:
#!/bin/bash
for x in $(cat hardfork.txt)
do
    bitcoin-cli setban $x add
done
Can I get  IP list node of hardfork? please give me the list. I can not write them down one by one from https://bitnodes.21.co  ..
and how I banned nodes hardfork in my peer list for long time or forever?

very thanks for helping ..  Wink

You can add a time in seconds after the "add". There are 31536000 seconds per year, should probably be enough for now.

Im not really here, its just your imagination.
BTC_Universe
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
November 12, 2016, 11:12:47 AM
 #3

Try blocking the IP in your router's settings. If you use a hosting company they should have this in your control panel.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!