/ao-firewalld

Java API for managing firewalld.

Primary LanguageJavaGNU Lesser General Public License v3.0LGPL-3.0

project: current stable management: production packaging: active
java: >= 8 semantic versioning: 2.0.0 license: LGPL v3

Build Maven Central Quality Gate Status Lines of Code
Reliability Rating Security Rating Maintainability Rating Coverage

Java API for managing firewalld.

Project Links

Features

  • Clean programmatic access to firewalld.
  • Supports fine-grained control over specific port and IP address combinations.
  • Manages sets of services because firewalld is limited to only one <destination /> per service.
  • Optimizes arbitrary sets of ports and IP addresses into a minimal set of service files.
  • Small footprint, minimal dependencies - not part of a big monolithic package.

Motivation

The AOServ Platform allows opening ports on a per-IP basis. firewalld service files are limited to a single <destination /> per service file. To selectively open ports on a per-IP basis, additional service files must be managed. This is tedious if done manually. We would rather firewalld support multiple <service /> tags with multiple <destination /> per service file, but this is not currently a feature.

Our server configuration process, AOServ Daemon, is written in the Java programming language. We desire a clean interface to firewalld without having to operate with firewall-cmd and other commands directly.

Evaluated Alternatives

We were unable to find any existing implementations via GitHub, The Central Repository, or Google Search.

Contact Us

For questions or support, please contact us:

Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact