Skip to content

Commit

Permalink
run e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo Conforti committed Nov 21, 2024
1 parent 6f105bf commit 964d406
Show file tree
Hide file tree
Showing 15 changed files with 54 additions and 50 deletions.
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
"cSpell.words": [
"AEIMQUYcgkosw",
"Annotable",
"bgcolor",
"bufferutil",
"ccache",
"cloudimg",
"codegen",
"compat",
"Conforti",
"Datatypes",
"debhelper",
"Devcontainer",
"devcontainers",
Expand All @@ -25,6 +27,7 @@
"inet",
"installtunnelservice",
"interruptible",
"Keepalive",
"lans",
"leonitous",
"leonitousconforti",
Expand All @@ -47,6 +50,7 @@
"pwsh",
"runneradmin",
"rushstack",
"scrollamount",
"setcap",
"struct",
"Tailscale",
Expand Down
14 changes: 7 additions & 7 deletions e2e/generate-lan-hub-and-spoke-access/A-alice-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[Interface]
ListenPort = 41820
Address = 192.168.10.1/24
PrivateKey = UE5GTRXvRlm0ngiLIpxYC8rOWr90vpXHXrOH3FpqEFk=
PrivateKey = kHYzvVk9HlK4Gj3BauzUi3UENzB0WqxJmm/p1H0cNGI=

[Peer]
PublicKey = IRMg3FvS1hwdZYCh3z0jjxp0gY2i6TabXcUj/TOILXs=
PresharedKey = TaLmt134ML98dkVIxPtGE21DFyAsrHQTkEzGu2lGF+E=
PublicKey = naCIjjfKkZEKQ0byBHmDO8MwVJJ8njzZ7WEhpM0u2Xo=
PresharedKey = FuyacEeUVeynXOPG2AaLnyQoE8rhmNh8gZI+zYqQn7o=
AllowedIPs = 192.168.10.100/32

[Peer]
PublicKey = yYjcDYJJpr3Y5nmpTsxelNmgClYZXN6USZOAEbn271E=
PresharedKey = /Hvo1t7dPBjOLFkURrFaQx0G8RciSlyzV3ju1llmr1Y=
PublicKey = YWPm5RaH75MvYnp5hDoXmoZwBmvOckBf9I72+oHQvnc=
PresharedKey = 9OXdKdXaII0nW9qA1lZO6JUI//kcuDjuhAx7WwvwE78=
AllowedIPs = 192.168.10.2/32

[Peer]
PublicKey = MrP8poUY31A/DPtHqRX0nXqJQ4fJw9SatyB7J8euhlY=
PresharedKey = ymkUGsYUa9bjvlXu91+LhveI3PPBPKtKQQBG9t03uk0=
PublicKey = IjIYzZpq4WSmOiXyXTBRK/j55Wm0mPwT6NpyYbIjjVY=
PresharedKey = Bp10lSapi3kX4wy0sPuZkRinJ41MulcMr5M7OVzAPLA=
AllowedIPs = 192.168.10.3/32
6 changes: 3 additions & 3 deletions e2e/generate-lan-hub-and-spoke-access/B-bob-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.100/24
PrivateKey = +Kr+oFNf0RIQukwR09YS2Rv5nrA6npxa6Ag16Ds5524=
PrivateKey = 4OX0n0ZJUp3MYxqXVkN/qaKQx73wXaZLkSUoKI+6N3g=

[Peer]
PublicKey = BNwYfjUrhd7ZAOocR9xZCd7KMw+bh3FhyR9sQJkzu3Y=
PresharedKey = TaLmt134ML98dkVIxPtGE21DFyAsrHQTkEzGu2lGF+E=
PublicKey = 6WSwJ1ELuD0wVNNo8+fS9OTe6HMTfcNEcmJzqBtcMDc=
PresharedKey = FuyacEeUVeynXOPG2AaLnyQoE8rhmNh8gZI+zYqQn7o=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.2/32, 10.0.1.0/24
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.2/24
PrivateKey = COHD4qQVLO6N9A0E6F8hZ8vbecyLi8SH00wifVxNg1Y=
PrivateKey = iMl+20i/+dd1fcJXfAxYPf5p5e1P89mkEVgmBxy+jEg=

[Peer]
PublicKey = BNwYfjUrhd7ZAOocR9xZCd7KMw+bh3FhyR9sQJkzu3Y=
PresharedKey = /Hvo1t7dPBjOLFkURrFaQx0G8RciSlyzV3ju1llmr1Y=
PublicKey = 6WSwJ1ELuD0wVNNo8+fS9OTe6HMTfcNEcmJzqBtcMDc=
PresharedKey = 9OXdKdXaII0nW9qA1lZO6JUI//kcuDjuhAx7WwvwE78=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.100/32, 10.0.1.0/24
6 changes: 3 additions & 3 deletions e2e/generate-lan-hub-and-spoke-access/D-dave-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.3/24
PrivateKey = aDIez6lbcG1IFCcAidk4fdcRb51bEZumunpH6WVnY1U=
PrivateKey = SJGVnXLYRsWhRfNAYdJmmviYNyRhMHBashijtAyxlHI=

[Peer]
PublicKey = BNwYfjUrhd7ZAOocR9xZCd7KMw+bh3FhyR9sQJkzu3Y=
PresharedKey = ymkUGsYUa9bjvlXu91+LhveI3PPBPKtKQQBG9t03uk0=
PublicKey = 6WSwJ1ELuD0wVNNo8+fS9OTe6HMTfcNEcmJzqBtcMDc=
PresharedKey = Bp10lSapi3kX4wy0sPuZkRinJ41MulcMr5M7OVzAPLA=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 192.168.10.2/32, 192.168.10.100/32, 10.0.1.0/24
6 changes: 3 additions & 3 deletions e2e/generate-remote-access-to-lan/A-alice-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[Interface]
ListenPort = 41820
Address = 192.168.10.1/24
PrivateKey = uJj1o1dEjodhIeX20oHQzmzP/s37FRL1MzrFoA686VQ=
PrivateKey = aHV5R9FZTjNs3kuFqZ1arwNkBwkrNbXmjX86I7nxAnI=

[Peer]
PublicKey = r3AeIDHNB0iK7JrR8TzJ4feMNaJbxDdbcrl8oF+AY10=
PresharedKey = pm0opcImy1VQ8dWa/pa6TCdqsQaik0pPC2LUgjMwbdI=
PublicKey = Yf3BHJF36Z1lcdEFzCZsNUmhCka4Et/j1+J29hbc2yw=
PresharedKey = D+PbLVwD/TAHMUhE0dOrPYD+k01xj6LMeczw5IM/mU4=
AllowedIPs = 192.168.10.2/32
6 changes: 3 additions & 3 deletions e2e/generate-remote-access-to-lan/B-bob-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.2/24
PrivateKey = aHV5B8PNQak4gLSVPFioN/hJH56fCLbDp6eXBRWIw30=
PrivateKey = gC2T0qFK1PJNzKVPO33TZSpPqrY/30thwQxRpwB6yHA=

[Peer]
PublicKey = yjdvcQ3QoA9rPRTWQVWrWxeSBiQE7WYCMRY7Agkj7EI=
PresharedKey = pm0opcImy1VQ8dWa/pa6TCdqsQaik0pPC2LUgjMwbdI=
PublicKey = Cn2mQ6khXG7sUrQpOOFxrVGL9JS25AOQfQx7DygJQB8=
PresharedKey = D+PbLVwD/TAHMUhE0dOrPYD+k01xj6LMeczw5IM/mU4=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 10.0.2.0/24
6 changes: 3 additions & 3 deletions e2e/generate-remote-access-to-server/A-alice-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[Interface]
ListenPort = 51820
Address = 192.168.10.1/24
PrivateKey = mPIhg+PlZZh3g1lAdkKKc9tSANuQlLE8Rc4jK/98fVM=
PrivateKey = 0MiAj7bKtKVcAVPduyGnCFAoYOPkUF9UKe2D3ffwn1s=

[Peer]
PublicKey = qwz7GaTC7S2huPSsjmmZyx7+sUWl4VyWk4/sPFdZi00=
PresharedKey = yR20CUUera4QhlUkQ+ocP+/h5LlY49HO8wC7QXxoHC4=
PublicKey = DX7U+O7odZcpE3pfzKcn0OMSzB598buchf9pOqca63I=
PresharedKey = 9aU28h4Wx9mJyjrzESdwgQl1k3rqkJfCiVQ7VU/oSZg=
AllowedIPs = 192.168.10.2/32
6 changes: 3 additions & 3 deletions e2e/generate-remote-access-to-server/B-bob-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.2/24
PrivateKey = qHbuh5xpCCHwTpJOiFKhS3J8PO3yYt7lH74SPc3fs0I=
PrivateKey = MLDmvl+6Q21dGFzbyYSJ3Yt1x5JWJK2dHaEN9XjCmms=

[Peer]
PublicKey = 9r7+KBnKco1OpYxzwoVv8X5xeVMmtVF5Rh1/axaB3zM=
PresharedKey = yR20CUUera4QhlUkQ+ocP+/h5LlY49HO8wC7QXxoHC4=
PublicKey = 9VXv5N093vDSa7B956mK2Dct8puPHJRgEaEkkbjM3gI=
PresharedKey = 9aU28h4Wx9mJyjrzESdwgQl1k3rqkJfCiVQ7VU/oSZg=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32
14 changes: 7 additions & 7 deletions e2e/generate-server-hub-and-spoke-access/A-alice-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[Interface]
ListenPort = 51820
Address = 192.168.10.1/24
PrivateKey = sKtU7tq6L5EbHs5qEBZpjOh/jhRc4RPod1se1Niok1U=
PrivateKey = KAvAADZa93UiPlG/w1pr+qRLsKco7trHVR5VyNUp2no=

[Peer]
PublicKey = zhQS2D/Z3+eVlP7McDy/bwl34BbPPD4MCpCUPoXX6xg=
PresharedKey = PrbT+LnXf27N1xZk5H5k6+WLLQ41IoKeeoWUZkJz4Ss=
PublicKey = NF4k9+Aa6RryahGnct8vu6i94nejoNwm6bbfmIYvrAQ=
PresharedKey = /sOGH2KU5io8Rp7uUuoZllyxzduJvCeHNrEwlmv4y+o=
AllowedIPs = 192.168.10.100/32

[Peer]
PublicKey = GBlgzFZR6BYiRM2Sm1MueQKYXX8PN6VEBx/SLo26MU8=
PresharedKey = 6Li9DDsqwHukvVnzfx5cjevFpadHoDH1C2O0+PGudcM=
PublicKey = CK/g9EmXKCew3ZIWrMFqbMOvEe1R0K2SUV/3nzvcSVY=
PresharedKey = Ck6eUhbME2m8kzX6Hu75oAZZJWYHLb/oV0+DxKtZSPs=
AllowedIPs = 192.168.10.2/32

[Peer]
PublicKey = 7L9fSfWhVu6I2Q3ojU7cepPpXLVhSGlnhX6H7muWeiA=
PresharedKey = gXTguTOZnBLWZRPLbldQvhTr2URnh2EN7XOl9802JQ4=
PublicKey = 6sM9Fv1T8SM7x5Z0Shtf+inrM/drqU5OHF+MLhcCOHo=
PresharedKey = x8+F1rjwcAtLeCE/SYzSka05cKEyif8ITQf60aTMx9k=
AllowedIPs = 192.168.10.3/32
6 changes: 3 additions & 3 deletions e2e/generate-server-hub-and-spoke-access/B-bob-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.100/24
PrivateKey = gMEQVzs1I1IHL75UJJ+DD/CWDbESPdlT7Kki9nr0IXE=
PrivateKey = gPC1U8ZB89ObJ74kR3kOR7QbP27a98r6+8mjvx+fml0=

[Peer]
PublicKey = 9SOnYe7mEmU9qAcYI0MIdQMPxxsab2+YEx90/9wx6y8=
PresharedKey = PrbT+LnXf27N1xZk5H5k6+WLLQ41IoKeeoWUZkJz4Ss=
PublicKey = pjSWGJtJqk6NbwJAIJwT0+D+rME58SY3vLktBkM7CTs=
PresharedKey = /sOGH2KU5io8Rp7uUuoZllyxzduJvCeHNrEwlmv4y+o=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.2/32
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.2/24
PrivateKey = ABZ17BZI4gTZbLou9dzrDOfe/wSZSZDp7TxLMNEzPVE=
PrivateKey = uCtvvz593b8v5+q+AgFNuVWMyBapKG9TTyRoBaUOJ0A=

[Peer]
PublicKey = 9SOnYe7mEmU9qAcYI0MIdQMPxxsab2+YEx90/9wx6y8=
PresharedKey = 6Li9DDsqwHukvVnzfx5cjevFpadHoDH1C2O0+PGudcM=
PublicKey = pjSWGJtJqk6NbwJAIJwT0+D+rME58SY3vLktBkM7CTs=
PresharedKey = Ck6eUhbME2m8kzX6Hu75oAZZJWYHLb/oV0+DxKtZSPs=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 192.168.10.3/32, 192.168.10.100/32
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 0
Address = 192.168.10.3/24
PrivateKey = iDMJ4yDm79jXXs/9K/CLMTSh8EeGRH3NcK43QqxBOkk=
PrivateKey = AMt0GYYGndw9Ub6DdHsWAJ9I8GFxgt5RHXgAyNGS7X0=

[Peer]
PublicKey = 9SOnYe7mEmU9qAcYI0MIdQMPxxsab2+YEx90/9wx6y8=
PresharedKey = gXTguTOZnBLWZRPLbldQvhTr2URnh2EN7XOl9802JQ4=
PublicKey = pjSWGJtJqk6NbwJAIJwT0+D+rME58SY3vLktBkM7CTs=
PresharedKey = x8+F1rjwcAtLeCE/SYzSka05cKEyif8ITQf60aTMx9k=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32, 192.168.10.2/32, 192.168.10.100/32
6 changes: 3 additions & 3 deletions e2e/generate-server-to-server-access/A-alice-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 51820
Address = 192.168.10.1/24
PrivateKey = QIHKKYBg+7vvJ+ymFnyXkr027fXujxBA3e7zEjVyIlg=
PrivateKey = GGJUeyH9gTPFF3xzWO0QarGvEuCDHMAaJbZlyIc3wUc=

[Peer]
PublicKey = nv7jGlWA93AT2DEKEUcyvt1xBfWEuV/I2/D06afFrGs=
PresharedKey = Nl9eCrxdL+5QSG0QNntF+IlkP9Ma89K+pFykdH1ZmC4=
PublicKey = O19SeHS+fRE1zgK65sJed7Nsb0seLwc/FSI4JgXtz0I=
PresharedKey = g1uh7QAsk8HG0QrQgVjZPLGNYI2Io4F4L3KVSPT5J5o=
Endpoint = 10.0.0.3:51820
AllowedIPs = 192.168.10.2/32
6 changes: 3 additions & 3 deletions e2e/generate-server-to-server-access/B-bob-wireguard.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[Interface]
ListenPort = 51820
Address = 192.168.10.2/24
PrivateKey = 8IcaH3TVavUwda9s0thdnKUQVU+kyF7i59w8epdCSkQ=
PrivateKey = 8K1uaL5JPTyN6W7zUJq01WRyOjGlKJJA6scmaiAZG24=

[Peer]
PublicKey = M4dsQQY9y2fMi2CSaaErgEqlSx5heVqxPcHClV7Qn0A=
PresharedKey = Nl9eCrxdL+5QSG0QNntF+IlkP9Ma89K+pFykdH1ZmC4=
PublicKey = vgamMnTQCifJBAOxuQJyqGVLPMUO8JgkTshObsOrOAs=
PresharedKey = g1uh7QAsk8HG0QrQgVjZPLGNYI2Io4F4L3KVSPT5J5o=
Endpoint = 10.0.0.2:51820
AllowedIPs = 192.168.10.1/32

0 comments on commit 964d406

Please sign in to comment.