Skip to content

Commit

Permalink
Turn back on all the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Hasan6979 committed Jan 16, 2025
1 parent 30fb670 commit 388380a
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 45 deletions.
55 changes: 28 additions & 27 deletions xtask/perf/left.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#!/bin/bash

# wireguard-go wg0
# wg set wg0 \
# listen-port 51820 \
# private-key <(echo AH7jKt6M0RS21MkRG+URrfgmwvJqdhVvqtKeF4WR+E8=) \
# peer mqrc8+LD+6zvMeCtyCcIBPEYuXT74lq1Hros0Np8ZgA= \
# allowed-ips 10.0.0.2/32 \
# endpoint 176.0.0.3:51820
# ip address add dev wg0 10.0.0.1/24
# ip link set up dev wg0
wireguard-go wg0
wg set wg0 \
listen-port 51820 \
private-key <(echo AH7jKt6M0RS21MkRG+URrfgmwvJqdhVvqtKeF4WR+E8=) \
peer mqrc8+LD+6zvMeCtyCcIBPEYuXT74lq1Hros0Np8ZgA= \
allowed-ips 10.0.0.2/32 \
endpoint 176.0.0.3:51820
ip address add dev wg0 10.0.0.1/24
ip link set up dev wg0

# /neptun/base/neptun-cli --disable-drop-privileges wg1
# wg set wg1 \
# listen-port 51821 \
# private-key <(echo sKZoT3qgxDm1bWny+1ttoi00qS2KXvo1L4Zb265wr3c=) \
# peer CMWokCGH+YPN7CL2C2aAkDlnhw1blH0tKPOnEOgzrxM= \
# allowed-ips 10.0.1.2/32 \
# endpoint 176.0.0.3:51821
# ip address add dev wg1 10.0.1.1/24
# ip link set up dev wg1
/neptun/base/neptun-cli --disable-drop-privileges wg1
wg set wg1 \
listen-port 51821 \
private-key <(echo sKZoT3qgxDm1bWny+1ttoi00qS2KXvo1L4Zb265wr3c=) \
peer CMWokCGH+YPN7CL2C2aAkDlnhw1blH0tKPOnEOgzrxM= \
allowed-ips 10.0.1.2/32 \
endpoint 176.0.0.3:51821
ip address add dev wg1 10.0.1.1/24
ip link set up dev wg1

/neptun/current/neptun-cli --disable-drop-privileges wg2
wg set wg2 \
Expand All @@ -30,18 +30,19 @@ wg set wg2 \
ip address add dev wg2 10.0.2.1/24
ip link set up dev wg2

# echo
# echo "Raw network:"
# iperf3 -i 10 -t 10 --bidir -c 176.0.0.3
echo
echo "Raw network:"
iperf3 -i 10 -t 10 --bidir -c 176.0.0.3

# echo
# echo "Wireguard-go:"
# iperf3 -i 60 -t 120 --bidir -c 10.0.0.2
echo
echo "Wireguard-go:"
iperf3 -i 60 -t 120 --bidir -c 10.0.0.2

# echo
# echo "Base NepTUN:"
# iperf3 -i 60 -t 120 --bidir -c 10.0.1.2
echo
echo "Base NepTUN:"
iperf3 -i 60 -t 120 --bidir -c 10.0.1.2

echo
echo "Current NepTUN:"
ping 10.0.2.2 -c 5
iperf3 -i 60 -t 120 --bidir -c 10.0.2.2
36 changes: 18 additions & 18 deletions xtask/perf/right.sh
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
#!/bin/bash

# wireguard-go wg0
# wg set wg0 \
# listen-port 51820 \
# private-key <(echo MLBFYI9O69v8WdVodp4YucqnvW+onpD/R5kF/GE18F8=) \
# peer 7gr2QZyPpaIdlsPcZcQozgpjDdCkefZtxz12Dmpj/3Y= \
# allowed-ips 10.0.0.1/32 \
# endpoint 176.0.0.2:51820
# ip address add dev wg0 10.0.0.2/24
# ip link set up dev wg0
wireguard-go wg0
wg set wg0 \
listen-port 51820 \
private-key <(echo MLBFYI9O69v8WdVodp4YucqnvW+onpD/R5kF/GE18F8=) \
peer 7gr2QZyPpaIdlsPcZcQozgpjDdCkefZtxz12Dmpj/3Y= \
allowed-ips 10.0.0.1/32 \
endpoint 176.0.0.2:51820
ip address add dev wg0 10.0.0.2/24
ip link set up dev wg0

# /neptun/base/neptun-cli --disable-drop-privileges wg1
# wg set wg1 \
# listen-port 51821 \
# private-key <(echo WAoFbPJ6QaXXltwLqBADFkMG6qLZuivSlkIUv2Sc3lY=) \
# peer HcDZRTIcI3Yok4XTwhAScKoNkb9MIZ2wyjS1oQvZnic= \
# allowed-ips 10.0.1.1/32 \
# endpoint 176.0.0.2:51821
# ip address add dev wg1 10.0.1.2/24
# ip link set up dev wg1
/neptun/base/neptun-cli --disable-drop-privileges wg1
wg set wg1 \
listen-port 51821 \
private-key <(echo WAoFbPJ6QaXXltwLqBADFkMG6qLZuivSlkIUv2Sc3lY=) \
peer HcDZRTIcI3Yok4XTwhAScKoNkb9MIZ2wyjS1oQvZnic= \
allowed-ips 10.0.1.1/32 \
endpoint 176.0.0.2:51821
ip address add dev wg1 10.0.1.2/24
ip link set up dev wg1

/neptun/current/neptun-cli --disable-drop-privileges wg2
wg set wg2 \
Expand Down

0 comments on commit 388380a

Please sign in to comment.