mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-16 23:56:52 +01:00
Load v3 certificates and composite keys, speak v2 messages over v3 tunnels, and match ca_sha on either CA fingerprint
This commit is contained in:
1 parent
ab89556c5c
commit
5c5254dc18
6 files changed
+156
-14
No files matched your search
+2
-2
@@ -839,7 +839,7 @@ func (lh *LightHouse) innerQueryServer(addr netip.Addr, nb, out []byte) {
|
||||
for _, lhVpnAddr := range lighthouses {
|
||||
hi := lh.ifce.GetHostInfo(lhVpnAddr)
|
||||
if hi != nil {
|
||||
v = hi.ConnectionState.myCert.Version()
|
||||
v = protocolVersion(hi.ConnectionState.myCert.Version())
|
||||
} else {
|
||||
v = lh.ifce.GetCertState().initiatingVersion
|
||||
}
|
||||
@@ -1001,7 +1001,7 @@ func (lh *LightHouse) SendUpdate() {
|
||||
var v cert.Version
|
||||
hi := lh.ifce.GetHostInfo(lhVpnAddr)
|
||||
if hi != nil {
|
||||
v = hi.ConnectionState.myCert.Version()
|
||||
v = protocolVersion(hi.ConnectionState.myCert.Version())
|
||||
} else {
|
||||
v = lh.ifce.GetCertState().initiatingVersion
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user