476 B
476 B
We have API built on top of gRPC framework
Enable API in configuration file:
# Enable gRPC api (required for fastnetmon_api_client tool)
enable_api = on
You could ban IP:
/opt/fastnetmon/fastnetmon_api_client ban 192.168.1.1
You could unban IP:
/opt/fastnetmon/fastnetmon_api_client unban 192.168.1.1
You could check banlist:
/opt/fastnetmon/fastnetmon_api_client get_banlist
Sample output:
192.168.1.1/32