- Replaced `data_storage.py` with `database.py` to use SQLite instead of a JSON file for data storage. - Added an `enforce_retention_policy` function to `database.py` to delete data older than 7 days. - Called this function in the main monitoring loop in `monitor_agent.py`. - Added Docker container monitoring. - Updated `.gitignore` to ignore `monitoring.db`.
20 lines
271 B
JSON
Executable File
20 lines
271 B
JSON
Executable File
|
|
{
|
|
"20": "FTP",
|
|
"21": "FTP",
|
|
"22": "SSH",
|
|
"23": "Telnet",
|
|
"25": "SMTP",
|
|
"53": "DNS",
|
|
"80": "HTTP",
|
|
"110": "POP3",
|
|
"143": "IMAP",
|
|
"443": "HTTPS",
|
|
"445": "SMB",
|
|
"587": "SMTP",
|
|
"993": "IMAPS",
|
|
"995": "POP3S",
|
|
"3306": "MySQL",
|
|
"3389": "RDP"
|
|
}
|