tailscale/tstest/natlab
David Anderson 45578b47f3 tstest/natlab: refactor PacketHandler into a larger interface.
The new interface lets implementors more precisely distinguish
local traffic from forwarded traffic, and applies different
forwarding logic within Machines for each type. This allows
Machines to be packet forwarders, which didn't quite work
with the implementation of Inject.

Signed-off-by: David Anderson <danderson@tailscale.com>
2020-07-15 14:38:33 -07:00
..
firewall.go tstest/natlab: refactor PacketHandler into a larger interface. 2020-07-15 14:38:33 -07:00
nat.go tstest/natlab: refactor PacketHandler into a larger interface. 2020-07-15 14:38:33 -07:00
natlab_test.go tstest/natlab: refactor PacketHandler into a larger interface. 2020-07-15 14:38:33 -07:00
natlab.go tstest/natlab: refactor PacketHandler into a larger interface. 2020-07-15 14:38:33 -07:00