bundles/nftables: add "globally blocked ips"
This commit is contained in:
parent
5ffbe50b1e
commit
980f4cb41a
2 changed files with 9 additions and 0 deletions
|
@ -6,6 +6,10 @@ defaults = {
|
||||||
'nftables': {},
|
'nftables': {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
'nftables': {
|
||||||
|
'blocked_v4': repo.libs.firewall.global_ip4_blocklist,
|
||||||
|
'blocked_v6': repo.libs.firewall.global_ip6_blocklist,
|
||||||
|
},
|
||||||
'pacman': {
|
'pacman': {
|
||||||
'packages': {
|
'packages': {
|
||||||
'nftables': {},
|
'nftables': {},
|
||||||
|
|
|
@ -44,3 +44,8 @@ named_networks = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
global_ip4_blocklist = {
|
||||||
|
"141.98.11.0/24", # 2024-01-21, smtp login bruteforce
|
||||||
|
}
|
||||||
|
global_ip6_blocklist = set()
|
||||||
|
|
Loading…
Reference in a new issue