mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 12:06:52 +01:00
firewall: Key conntrack by the peer's first vpn address
This commit is contained in:
1 parent
56a1a94a54
commit
7aa6f6c7da
4 files changed
+10
-11
No files matched your search
+1
-1
@@ -1198,7 +1198,7 @@ func TestFirewall_ConntrackPeerRehandshake(t *testing.T) {
|
||||
RemotePort: 55000,
|
||||
Protocol: iputil.IPProtocolTCP,
|
||||
}
|
||||
key := firewall.ConntrackKey{Packet: flow, Peer: netip.MustParseAddr("2001:db8::2")}
|
||||
key := firewall.ConntrackKey{Packet: flow, Peer: netip.MustParseAddr("192.0.2.2")}
|
||||
|
||||
t.Run("inbound flow follows the peer's groups", func(t *testing.T) {
|
||||
fw := NewFirewall(l, time.Second, time.Minute, time.Hour, owner)
|
||||
|
||||
Reference in new issue
Block a user