mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Disallow netmasks in devices' ip to prevent overlaps in firewall (#1140)
* fix: disallow netmasks in devices' ip to prevent overlaps in firewall /32 is still allowed for ipv4 and /128 is still allowed for ipv6. No migration is needed since netmasks for devices ips were broken before-hand. * chore: rename `validate_single_ip` function and reword its error message * Update pre-commit to allow slash * fix restore cache * Refactor a bit * Fix clobbered restore-keys * Break cache Co-authored-by: Jamil Bou Kheir <jamilbk@users.noreply.github.com>
This commit is contained in:
1
.github/workflows/static_analysis.yml
vendored
1
.github/workflows/static_analysis.yml
vendored
@@ -33,7 +33,6 @@ jobs:
|
||||
key: ${{ runner.os }}-mix-otp-25-${{ hashFiles('**/mix.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-mix-otp-25-${{ hashFiles('**/mix.lock') }}
|
||||
${{ runner.os }}-mix-otp-25-
|
||||
- uses: actions/cache@v3.0.11
|
||||
name: Setup ruby cache
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user