Skip to content

Commit

Permalink
Test UDP
Browse files Browse the repository at this point in the history
  • Loading branch information
jschwinger233 committed Dec 29, 2023
1 parent 140b1c8 commit cfd7799
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/kernel-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
cmd: |
set -ex
docker network create dae
docker network create --ipv6 --subnet 2001:0DB8::/112 dae
docker run -td --name v2ray --privileged --network dae -v /host:/host ubuntu:22.04 bash
docker run -td --name dae --privileged --network dae -v /host:/host -v /sys:/sys ubuntu:22.04 bash
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
cd /host
docker exec dae apt update
docker exec dae apt install -y curl
docker exec dae apt install -y curl dnsutils
vmess_link=$(base64 -w0 vmess.json)
Expand Down Expand Up @@ -163,14 +163,12 @@ jobs:
}
!
cat conf.dae
chmod 600 ./conf.dae
nohup docker exec dae /host/dae/dae run -c /host/conf.dae &> dae.log &
sleep 10s
cat dae.log
- name: Check IPv4 TCP
- name: Check WAN IPv4 TCP
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
with:
provision: 'false'
Expand All @@ -179,3 +177,13 @@ jobs:
docker exec dae curl 1.1.1.1
cat /host/v2ray.access.log | grep -q 'accepted tcp:1.1.1.1:80'
- name: Check WAN IPv4 UDP
uses: cilium/little-vm-helper@908ab1ff8a596a03cd5221a1f8602dc44c3f906d # v0.0.12
with:
provision: 'false'
cmd: |
set -ex
docker exec dae dig @8.8.8.8 one.one.one.one
cat /host/v2ray.access.log | grep -q 'accepted udp:8.8.8.8:53'

0 comments on commit cfd7799

Please sign in to comment.