Update firewall rules to filter invalid ip address.
Go to file
2022-05-12 09:41:45 +02:00
.gitignore Initial commit 2022-05-12 07:39:30 +00:00
LICENSE Initial commit 2022-05-12 07:39:30 +00:00
poetry.lock Initial commit 2022-05-12 09:41:45 +02:00
pyproject.toml Initial commit 2022-05-12 09:41:45 +02:00
README.md Initial commit 2022-05-12 09:41:45 +02:00
updateBogons Initial commit 2022-05-12 09:41:45 +02:00
updateBogons.service Initial commit 2022-05-12 09:41:45 +02:00
updateBogons.timer Initial commit 2022-05-12 09:41:45 +02:00
updateBogonsOnBoot.service Initial commit 2022-05-12 09:41:45 +02:00

updateBogons

This script fetches a list of bogons from team cymru (see https://team-cymru.com/community-services/bogon-reference/) and updates the corresponding sets in the firewall.

The bogon list is downloaded then compared to the current list stored on the disk (got from the previous run). If the two list differ the corresponding nftables set is flushed then filled with the new list. This operation is atomic.