14 lines
712 B
Python
14 lines
712 B
Python
# Intrusion Detection System — shared utilities
|
|
#
|
|
# Modules:
|
|
# constants.py central configuration, paths, env vars
|
|
# files.py filesystem & I/O helpers
|
|
# ip_utils.py IP address parsing, validation, whitelist lookup
|
|
# models.py data models (Request, IPStats) + aggregate()
|
|
# reporting.py text rendering, table formatting
|
|
# utils.py shared CLI arg parser
|
|
# whitelists.py whitelist CIDR download, caching, validation
|
|
# whois.py WHOIS subnet queries, IP consolidation
|
|
# blocklist_history.py git-backed cumulative blocklist reconstruction
|
|
# retention.py report file retention & pruning
|