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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4797fa62d306f6ac922f01e14b7f4e4ae3ccaf20d906237edee336ff48273cf7
|
|
| MD5 |
90a40ef720ede81a64754d07f1cf255c
|
|
| BLAKE2b-256 |
4931ea79bd342933fce5034e3634643f39a25be2ff4cb55a0bd24cc48b7be1d4
|
File details
Details for the file dargslan_firewall_audit-1.0.0-py3-none-any.whl.
File metadata
- Download URL: dargslan_firewall_audit-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d36b8ddd3f1d5757e748c36e795538b2e46afb9d55b55d96f4a6ab5a51cc50c0
|
|
| MD5 |
2e771a3d467b927bbc7f5223ce851332
|
|
| BLAKE2b-256 |
8d9ab0e6430f7b09691e43036de02db8d74d27a1752b8db9d8b9063e5abcce47
|