Documentation
¶
Overview ¶
Package tcp proxies TCP connections between a WireGuard peer and a destination accessible by the machine where Wiretap is running.
Adapted from https://github.com/tailscale/tailscale/blob/2cf6e127907641bdb9eb5cd8e8cf14e968b571d7/wgengine/netstack/netstack.go Adapted from https://github.com/sandialabs/wiretap/blob/21e6aba408e2fd3a059fa299ee040f1ff2ea7293/src/transport/tcp/tcp.go Copyright (c) Tailscale Inc & AUTHORS SPDX-License-Identifier: BSD-3-Clause
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(c Config) func(*tcp.ForwarderRequest)
Handler manages a single TCP flow.
Types ¶
Click to show internal directories.
Click to hide internal directories.