mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 10:56:52 +01:00
Log probes at debug, skip tunnel lookups on lighthouses, per-case recovery bounds, changelog
This commit is contained in:
1 parent
44e3365d4f
commit
c543718ee0
4 files changed
+42
-8
No files matched your search
@@ -508,6 +508,11 @@ func (f *Interface) flushSendBatch(sb *batch.SendBatch, q int) {
|
||||
f.metricTxDropped.Inc(int64(dropped))
|
||||
}
|
||||
|
||||
if f.lightHouse == nil || f.lightHouse.amLighthouse {
|
||||
// Lighthouses never probe, see remoteUnreachable, so skip finding the tunnels
|
||||
return
|
||||
}
|
||||
|
||||
// A tunnel's packets tend to fail together, so skip straight past a repeat of the one before. The first 8 bytes
|
||||
// of a header say whose packet it is, the counter after them changes with every packet.
|
||||
var last batch.Failure
|
||||
|
||||
Reference in new issue
Block a user