wgengine/filter: add "Accept" TCP log lines to verbose logging (#12525)

Changes "Accept" TCP logs to display in verbose logs only,
and removes lines from default logging behavior.

Updates #12158

Signed-off-by: Keli Velazquez <keli@tailscale.com>
pull/12562/head
Keli 5 months ago committed by GitHub
parent 730f0368d0
commit bd50a3457d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -312,7 +312,7 @@ func (f *Filter) logRateLimit(runflags RunFlags, q *packet.Parsed, dir direction
verdict = "Drop"
runflags &= HexdumpDrops
} else if r == Accept && (runflags&LogAccepts) != 0 && acceptBucket.Allow() {
verdict = "Accept"
verdict = "[v1] Accept"
runflags &= HexdumpAccepts
}

Loading…
Cancel
Save