ip-ban-list-cli
v0.2.0
Published
CLI to manage and seed an ip-ban-list
Readme
ip-ban-list-cli
CLI to manage and seed an ip-ban-list.
Install
npm i -g ip-ban-list-cliUsage
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 HyperswarmAPI
Use ip-ban-list --help for more information, ip-ban-list ban --help, etc.
Storage
By default, it uses ~/.ip-ban-list/corestore.
Set --storage [path] to use a different location.
Ban an IP address
ip-ban-list ban 203.0.113.10Unban an IP address
ip-ban-list unban 203.0.113.10Print the ban list key
ip-ban-list idSeed a ban list
ip-ban-list seedThis announces the local ban list over Hyperswarm and prints the public key
other peers can use with the ip-ban-list API package.
