mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-25 10:41:14 +00:00
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>
This commit is contained in:
parent
730f0368d0
commit
bd50a3457d
@ -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…
x
Reference in New Issue
Block a user