Remove MikroTik block list script and enhance scan.py for firewall synchronization

- Deleted the existing MikroTik block list script (mikrotik-block.rsc) which contained whitelisted and blocked IP addresses.
- Updated scan.py to include options for synchronizing the MikroTik blocked list after scanning.
- Added functionality to preview firewall changes without applying them.
- Integrated the MikrotikFirewall class to manage the synchronization of blocked IPs with the MikroTik device.
This commit is contained in:
zwitschi committed 2026-08-04 18:38:08 +02:00
1 parent 0f51c40e44
commit 0e2c69579a
5 files changed
+389 -621

No files matched your search

+47 -1
View File
@@ -864,5 +864,51 @@
"209.99.190.99": "209.99.184.0/21",
"20.104.18.253": "20.64.0.0/10",
"178.128.176.132": "178.128.176.0/20",
"81.171.74.60": "81.171.74.0/24"
"81.171.74.60": "81.171.74.0/24",
"72.146.33.199": "72.144.0.0/14",
"147.93.169.104": "147.93.168.0/22",
"34.39.210.94": "34.39.128.0/17",
"20.215.185.25": "20.192.0.0/10",
"23.180.120.146": "23.180.120.0/24",
"167.99.204.6": "167.99.192.0/20",
"172.213.153.79": "172.208.0.0/13",
"20.203.243.122": "20.192.0.0/10",
"194.26.192.156": "194.26.192.0/24",
"74.248.16.78": "74.248.0.0/15",
"34.141.160.140": "34.141.160.0/20",
"34.83.69.198": "34.83.64.0/20",
"2600:3000:1305:4212::82": "2600:3000::/32",
"64.226.123.37": "64.226.112.0/20",
"172.213.218.74": "172.208.0.0/13",
"159.65.10.116": "159.65.0.0/20",
"162.141.167.71": "162.141.167.0/24",
"20.91.203.45": "20.64.0.0/10",
"80.94.92.167": "80.94.92.0/24",
"194.102.104.29": "194.102.104.0/24",
"143.244.162.58": "143.244.160.0/20",
"4.223.73.90": "4.208.0.0/12",
"136.107.217.8": "136.107.128.0/17",
"20.203.179.12": "20.192.0.0/10",
"4.184.238.149": "4.176.0.0/12",
"20.52.217.208": "20.48.0.0/12",
"20.218.243.163": "20.192.0.0/10",
"34.125.219.56": "34.125.208.0/20",
"163.7.13.115": "163.7.13.0/24",
"34.26.219.248": "34.26.0.0/16",
"2.57.122.13": "2.57.122.0/24",
"34.95.238.121": "34.95.224.0/20",
"20.208.41.112": "20.192.0.0/10",
"182.88.226.154": "182.88.0.0/14",
"2602:fa59:10:712::1": "2602:fa59::/40",
"34.84.59.119": "34.84.48.0/20",
"2a04:c300:400::6f": "2a04:c300::/29",
"45.146.55.165": "45.146.55.0/24",
"85.204.70.94": "85.204.70.0/24",
"157.245.63.62": "157.245.48.0/20",
"23.178.112.210": "23.178.112.0/24",
"221.13.93.71": "221.13.64.0/19",
"163.7.13.111": "163.7.13.0/24",
"222.176.200.251": "222.176.0.0/13",
"123.163.114.150": "123.160.0.0/14",
"136.64.132.60": "136.64.0.0/15"
}