Skip to main content

Linux firewall audit tool — check iptables/nftables rules, detect open ports, and generate security reports

Project description

dargslan-firewall-audit

Linux Firewall Audit Tool — Audit iptables/nftables rules, detect security gaps, check default policies, and generate compliance reports.

PyPI version

Installation

pip install dargslan-firewall-audit

Usage

from dargslan_firewall_audit import FirewallAudit

audit = FirewallAudit()
report = audit.full_audit()
print(f"Score: {report['score']}/100")
print(f"Issues: {len(report['issues'])}")
sudo dargslan-fwaudit           # Full audit
sudo dargslan-fwaudit --json    # JSON output
sudo dargslan-fwaudit --fix     # Show fix suggestions

Checks

  • Default INPUT/FORWARD policy (should be DROP)
  • SSH rate limiting rules
  • Open ports without firewall rules
  • ICMP flood protection
  • IP forwarding status
  • Logging configuration

Resources

MIT — Dargslan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dargslan_firewall_audit-1.0.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dargslan_firewall_audit-1.0.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file dargslan_firewall_audit-1.0.0.tar.gz.

File metadata

  • Download URL: dargslan_firewall_audit-1.0.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for dargslan_firewall_audit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4797fa62d306f6ac922f01e14b7f4e4ae3ccaf20d906237edee336ff48273cf7
MD5 90a40ef720ede81a64754d07f1cf255c
BLAKE2b-256 4931ea79bd342933fce5034e3634643f39a25be2ff4cb55a0bd24cc48b7be1d4

See more details on using hashes here.

File details

Details for the file dargslan_firewall_audit-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for dargslan_firewall_audit-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d36b8ddd3f1d5757e748c36e795538b2e46afb9d55b55d96f4a6ab5a51cc50c0
MD5 2e771a3d467b927bbc7f5223ce851332
BLAKE2b-256 8d9ab0e6430f7b09691e43036de02db8d74d27a1752b8db9d8b9063e5abcce47

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page