FastNetMon community CLI and API

Current version of FastNetMon Community includes basic command line interface and gRPC based API.

Enable API in configuration file /etc/fastnetmon.conf:

enable_api = on

You could ban IP this way:

/opt/fastnetmon/fastnetmon_api_client ban

You could unban IP this way:

/opt/fastnetmon/fastnetmon_api_client unban

You could check list of blocked hosts this way:

/opt/fastnetmon/fastnetmon_api_client get_banlist

Sample output: