Daemon that listens for AMQP messages to add IP addresses and ports to FirewallD. IP addresses expire and are removed automatically after a configurable timeout.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ruel Tmeizeh - RuhNet fbe05cff39 Support both temporary and permanent firewall, depending on server type. 2 weeks ago
.gitignore Initial Commit 1 year ago
README.md Merged in pbx-2488-automate-rpm-package-building (pull request #1) 5 months ago
amqp.go Release version. 1 year ago
bitbucket-pipelines.yml Merged in pbx-2488-automate-rpm-package-building (pull request #1) 5 months ago
cache.go Release version. 1 year ago
config.go Initial Commit 1 year ago
firewall.go Support both temporary and permanent firewall, depending on server type. 2 weeks ago
go.mod Added README and updated go.mod for compatibility with older versions 10 months ago
go.sum Initial Commit 1 year ago
kazoo_firewall_agent.service Initial Commit 1 year ago
kazoo_firewall_agent_config.json.sample Initial Commit 1 year ago
kfa.spec Merged in pbx-2488-automate-rpm-package-building (pull request #1) 5 months ago
main.go Support both temporary and permanent firewall, depending on server type. 2 weeks ago
message.json Initial Commit 1 year ago
util.go Initial Commit 1 year ago

README.md

Kazoo Firewall Agent

Used in conjunction with call_shield Kazoo application.

Installation

Build

  • You must have go v1.20 or later installed.
  • clone the repo in the usual way
cd kazoo_firewall_agent
go build

Install

mkdir -p /opt/kazoo_firewall_agent
cp ./kazoo_firewall_agent /opt/kazoo_firewall_agent
cp ./kazoo_firewall_agent.service /etc/systemd/system/
cp ./kazoo_firewall_agent_config.json.sample /opt/kazoo_firewall_agent/kazoo_firewall_agent_config.json
systemctl daemon-reload

Enable the Service

-> Make sure you have FirewallD installed and running.

systemctl enable kazoo_firewall_agent
systemctl start kazoo_firewall_agent