38 Commits (a255a08ea61ba918ddeeacfdfbc3ca5e489481aa)

Author SHA1 Message Date
Brad Fitzpatrick 79755d3ce5 tstest/natlab: add Firewall.Reset method to drop firewall state 4 years ago
Josh Soref d4811f11a0 all: fix spelling mistakes 4 years ago
Brad Fitzpatrick 8725b14056 all: migrate more code code to net/netip directly 4 years ago
Brad Fitzpatrick a12aad6b47 all: convert more code to use net/netip directly 4 years ago
Brad Fitzpatrick 6a396731eb all: use various net/netip parse funcs directly 4 years ago
Brad Fitzpatrick 7eaf5e509f net/netaddr: start migrating to net/netip via new netaddr adapter package 4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{} 4 years ago
slowy07 ac0353e982 fix: typo spelling grammar 5 years ago
David Crawshaw 297b3d6fa4 staticcheck.conf: turn off noisy lint errors 5 years ago
Josh Bleecher Snyder 25df067dd0 all: adapt to opaque netaddr types 5 years ago
Josh Bleecher Snyder d31eff8473 tstest/natlab: use net.ErrClosed 5 years ago
Josh Bleecher Snyder 138055dd70 tstest/natlab: use net.ErrClosed instead of a new error 5 years ago
David Anderson f794493b4f wgengine/magicsock: explicitly check path discovery, add a firewall test. 6 years ago
David Anderson 5a370d545a tstest/natlab: drop packets that can't be routed in a LAN. 6 years ago
David Anderson 45578b47f3 tstest/natlab: refactor PacketHandler into a larger interface. 6 years ago
David Anderson 23123907c0 tstest/natlab: add a configurable SNAT44 translator. 6 years ago
David Anderson 39ecb37fd6 tstest/natlab: support different firewall selectivities. 6 years ago
David Anderson 88e8456e9b wgengine/magicsock: add a connectivity test for facing firewalls. 6 years ago
David Anderson b3d65ba943 tstest/natlab: refactor, expose a Packet type. 6 years ago
David Anderson 5eedbcedd1 tstest/natlab: add a stateful firewall. 6 years ago
David Anderson 0ed9f62ed0 tstest/natlab: provide inbound interface to HandlePacket. 6 years ago
Brad Fitzpatrick 6c74065053 wgengine/magicsock, tstest/natlab: start hooking up natlab to magicsock 6 years ago
David Anderson 0aea087766 tstest/natlab: add PacketHandler and Inject. 6 years ago
David Anderson 73db7e99ab tstest/natlab: make Machine constructible directly. 6 years ago
David Anderson d94593e884 tstest/natlab: unregister conn4 if registration of conn6 fails. 6 years ago
David Anderson d7bc4ec029 tstest/natlab: use common helper for conn registration. 6 years ago
David Anderson 80a14c49c6 tstest/natlab: add comments to conns4/conns6. 6 years ago
David Anderson c53b154171 tstest/natlab: use &Network in test. 6 years ago
David Anderson 622c0d0cb3 tstest/natlab: print trace data when NATLAB_TRACE is set. 6 years ago
David Anderson 1d4f9852a7 tstest/natlab: correctly handle dual-stacked PacketConns. 6 years ago
David Anderson 771eb05bcb tstest/natlab: first network attached becomes the default route. 6 years ago
David Anderson f2e5da916a tstest/natlab: allow sensible default construction of networks. 6 years ago
Brad Fitzpatrick 97910ce712 tstest/natlab: remove unused PacketConner type 6 years ago
Brad Fitzpatrick 14b4213c17 tstest/natlab: add missing tests from earlier commits 6 years ago
Brad Fitzpatrick 3f4f1cfe66 tstest/natlab: basic NAT-free packet delivery works 6 years ago
Brad Fitzpatrick a477e70632 tstest/natlab: network address allocation 6 years ago
Brad Fitzpatrick bb1a9e4700 tstest/natlab: bit more of in-memory network testing package 6 years ago
Brad Fitzpatrick 23c93da942 tstest/natlab: start of in-memory network testing package 6 years ago