Remove tcp rtt tracking from the firewall (#1114)

This commit is contained in:
Nate Brown
2024-04-11 21:44:22 -05:00
committed by GitHub
parent 7efa750aef
commit c1711bc9c5
4 changed files with 26 additions and 175 deletions

View File

@@ -404,7 +404,7 @@ func (f *Interface) decryptToTun(hostinfo *HostInfo, messageCounter uint64, out
return false
}
dropReason := f.firewall.Drop(out, *fwPacket, true, hostinfo, f.pki.GetCAPool(), localCache)
dropReason := f.firewall.Drop(*fwPacket, true, hostinfo, f.pki.GetCAPool(), localCache)
if dropReason != nil {
// NOTE: We give `packet` as the `out` here since we already decrypted from it and we don't need it anymore
// This gives us a buffer to build the reject packet in