From fd9682634b7840803ba8d3a31c9808221d8cc3ce Mon Sep 17 00:00:00 2001 From: Jack Doan Date: Fri, 20 Sep 2024 15:24:10 -0400 Subject: [PATCH] hostupdate notes --- lighthouse.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lighthouse.go b/lighthouse.go index 623ed0b9e..ab81d3c66 100644 --- a/lighthouse.go +++ b/lighthouse.go @@ -1170,6 +1170,9 @@ func (lhh *LightHouseHandler) handleHostUpdateNotification(n *NebulaMeta, vpnAdd useVersion = 2 } + //todo hosts with only v2 certs cannot provide their ipv6 addr when contacting the lighthouse via v4? + //todo why do we care about the vpnip in the packet? We know where it came from, right? + if detailsVpnIp != vpnAddrs[0] { if lhh.l.Level >= logrus.DebugLevel { lhh.l.WithField("vpnAddrs", vpnAddrs).WithField("answer", detailsVpnIp).Debugln("Host sent invalid update")