mirror of
https://github.com/juanfont/headscale.git
synced 2026-11-24 06:06:29 +09:00
policy/v2, servertest: record via exit grants beside other rules
v93-v97: one member in two via exit grants. v98: a capability grant to "*" beside one; main drops its exit routes, SaaS keeps them. Updates #3562
This commit is contained in:
1 parent
56b5d2286c
commit
06d2c0aa91
8 files changed
+102049
No files matched your search
@@ -157,6 +157,12 @@ var grantSkipReasons = map[string]string{
|
||||
"via-grant-v60": "FILTER_ADDRESS_FORM: same addresses, different wire form and rule order",
|
||||
"via-grant-v61": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v62": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v93": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v94": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v95": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v96": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v97": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
"via-grant-v98": "FILTER_ADDRESS_FORM: same addresses, different wire form",
|
||||
|
||||
// Checks keyed <test_id>/<node>/filter: a listed check that matches
|
||||
// fails, so a fix must delete its entry. Contiguous pinned addresses;
|
||||
|
||||
+14858
File diff suppressed because it is too large.
Load diff
+14858
File diff suppressed because it is too large.
Load diff
+14594
File diff suppressed because it is too large.
Load diff
+14783
File diff suppressed because it is too large.
Load diff
+21371
File diff suppressed because it is too large.
Load diff
+21573
File diff suppressed because it is too large.
Load diff
@@ -89,6 +89,12 @@ var viaCompatTests = []struct {
|
||||
{"via-grant-v90", "port via and capability without via as two grants, non-via primary"},
|
||||
{"via-grant-v91", "port and capability via in one grant, non-via primary"},
|
||||
{"via-grant-v92", "port via with an empty capability map"},
|
||||
{"via-grant-v93", "one member in two via exit grants, plus rules to each via exit node"},
|
||||
{"via-grant-v94", "v93 with a user source"},
|
||||
{"via-grant-v95", "one member in two via exit grants, no other rule"},
|
||||
{"via-grant-v96", "one member in two via exit grants, plus a rule to a private subnet"},
|
||||
{"via-grant-v97", "one member in two via exit grants, plus a rule to everything"},
|
||||
{"via-grant-v98", "via exit steering plus a capability grant to *"},
|
||||
}
|
||||
|
||||
// routesMapCompatTests lists routes captures replayed through the mapper.
|
||||
|
||||
Reference in new issue
Block a user