CLI to manage and seed an ip-ban-list.
npm i -g ip-ban-list-cli
ip-ban-list [command]
Commands:
ban <ip> Add an IP address to the ban list
unban <ip> Remove an IP address from the ban list
id Print the public key for the ban list
seed Seed the ban list over Hyperswarm
Use ip-ban-list --help for more information, ip-ban-list ban --help, etc.
By default, it uses ~/.ip-ban-list/corestore.
Set --storage [path] to use a different location.
ip-ban-list ban 203.0.113.10
ip-ban-list unban 203.0.113.10
ip-ban-list id
ip-ban-list seed
This announces the local ban list over Hyperswarm and prints the public key
other peers can use with the ip-ban-list API package.