Update firewall rules to filter invalid ip address.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Chevalier 17e4ff1310 Initial commit 4 years ago
.gitignore Initial commit 4 years ago
LICENSE Initial commit 4 years ago
README.md Initial commit 4 years ago
poetry.lock Initial commit 4 years ago
pyproject.toml Initial commit 4 years ago
updateBogons Initial commit 4 years ago
updateBogons.service Initial commit 4 years ago
updateBogons.timer Initial commit 4 years ago
updateBogonsOnBoot.service Initial commit 4 years ago

README.md

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.