Skip to content

Commit

Permalink
hostupdate notes
Browse files Browse the repository at this point in the history
  • Loading branch information
JackDoanRivian committed Sep 20, 2024
1 parent e59be7f commit fd96826
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lighthouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit fd96826

Please sign in to comment.