What version of nebula are you using? (nebula -version)
master
What operating system are you using?
not relevant
Describe the Bug
|
for n := b.current + 1; n < i; n++ { |
|
b.bits[n%b.length] = false |
|
} |
In this if statement, the b.bits entries that are being set to false should first be checked to see if any are already false, and if so the lostCounter should be incremented for each.
This means any case where you lose more than 1 packet, you risk not counting older packet loss that it skips over.
Logs from affected hosts
not relevant
Config files from affected hosts
not relevant
What version of
nebulaare you using? (nebula -version)master
What operating system are you using?
not relevant
Describe the Bug
nebula/bits.go
Lines 66 to 68 in 3f6a7cb
In this if statement, the
b.bitsentries that are being set tofalseshould first be checked to see if any are alreadyfalse, and if so thelostCountershould be incremented for each.This means any case where you lose more than 1 packet, you risk not counting older packet loss that it skips over.
Logs from affected hosts
not relevant
Config files from affected hosts
not relevant