diff options
| author | Denton Gentry <dgentry@tailscale.com> | 2023-11-24 07:26:50 -0800 |
|---|---|---|
| committer | Denton Gentry <denny@geekhold.com> | 2023-11-27 12:46:28 -0800 |
| commit | 67f3b2a525f58e44351f2b34ea1600b3d82c850c (patch) | |
| tree | f81121a313d4e63d9ae5991b3c55704cb50f7a47 /control/controlknobs | |
| parent | b247435d66bdb60da308c7640bc0ff20acdc5d56 (diff) | |
| download | tailscale-67f3b2a525f58e44351f2b34ea1600b3d82c850c.tar.xz tailscale-67f3b2a525f58e44351f2b34ea1600b3d82c850c.zip | |
tsnet: add CapturePcap method for debugging
Application code can call the tsnet s.CapturePcap(filename) method
to write all packets, sent and received, to a pcap file. The cleartext
packets are written, outside the Wireguard tunnel. This is expected
to be useful for debugging.
Updates https://github.com/tailscale/tailscale/issues/9707
Signed-off-by: Denton Gentry <dgentry@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
