mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-17 07:16:52 +01:00
Fix firewall config parsing panics on empty group, null groups, and non-string groups
This commit is contained in:
1 parent
5bb0622192
commit
f62c54a4f2
3 files changed
+30
-2
No files matched your search
@@ -13,6 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
down with it. A hostinfo returned by StartHandshake had no RemoteList until the handshake loop's first
|
||||
pass attached one, and `create-tunnel -address` set the remote before that. The list is now attached when
|
||||
the handshake starts, so a pending hostinfo never exists without one.
|
||||
- A firewall rule with `group: []`, `groups:` with no value, or a `groups` entry that isn't a string, such as
|
||||
`groups: [1, 2]`, no longer crashes Nebula on startup or reload. An empty `group` array is rejected, a null
|
||||
`groups` means no groups, and non-string entries are read as strings.
|
||||
|
||||
## [1.11.1] - 2026-08-21
|
||||
|
||||
|
||||
Reference in new issue
Block a user