friwall/web
Timotej Lazar 048195c45c Always combine IP set data with static network definitions from NetBox
Before we relied on the combined data being present in ipsets.json
when generating a new config, but ipsets.json is only updated through
the form at /ipsets. So submitting any other form after changing
NetBox definitions might crash when trying to find an entry from
networks.json in ipsets.json.

Now we introduce a helper functon to always read both files and
combine the prefixes fron networks.json with ipsets.json. This way it
is not necessary to save a new ipsets.json before other changes.

Also don’t crash when enumerating networks for each VPN group.
2024-08-14 11:25:07 +02:00
..
static vpn: add support for custom keys 2024-07-31 09:43:32 +02:00
templates vpn: add support for custom keys 2024-07-31 09:43:32 +02:00
__init__.py Fix default wg_dns setting 2024-07-31 09:26:51 +02:00
auth.py Get OIDC end_session_endpoint from server metadata 2023-09-14 10:09:45 +02:00
config.py Set blueprint paths in main app 2023-12-04 09:46:37 +01:00
db.py Simplify database locking 2023-05-19 09:30:28 +02:00
errors.py Switch to OIDC authentication 2023-09-07 11:46:57 +02:00
ipsets.py Always combine IP set data with static network definitions from NetBox 2024-08-14 11:25:07 +02:00
rules.py Always combine IP set data with static network definitions from NetBox 2024-08-14 11:25:07 +02:00
system.py Always combine IP set data with static network definitions from NetBox 2024-08-14 11:25:07 +02:00
vpn.py Always combine IP set data with static network definitions from NetBox 2024-08-14 11:25:07 +02:00