Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 157e54f

Browse files
committedNov 26, 2023
feat : optimize wireguard client kernel mode impls
1 parent 2570855 commit 157e54f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+5808
-73
lines changed
 

Diff for: ‎.github/docker/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ WORKDIR /root
1010
COPY .github/docker/files/config.json /etc/xray/config.json
1111
COPY --from=build /src/xray /usr/bin/xray
1212
RUN set -ex \
13-
&& apk add --no-cache tzdata ca-certificates \
13+
&& apk add --no-cache tzdata ca-certificates iptables \
1414
&& mkdir -p /var/log/xray /usr/share/xray \
1515
&& chmod +x /usr/bin/xray \
1616
&& wget -O /usr/share/xray/geosite.dat https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/geosite.dat \

Diff for: ‎go.mod

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ require (
2929
google.golang.org/protobuf v1.31.0
3030
gvisor.dev/gvisor v0.0.0-20231104011432-48a6d7d5bd0b
3131
h12.io/socks v1.0.3
32+
kernel.org/pub/linux/libs/security/libcap/cap v1.2.69
3233
lukechampine.com/blake3 v1.2.1
3334
)
3435

@@ -45,6 +46,8 @@ require (
4546
github.com/google/pprof v0.0.0-20231101202521-4ca4178f5c7a // indirect
4647
github.com/klauspost/compress v1.17.2 // indirect
4748
github.com/klauspost/cpuid/v2 v2.2.6 // indirect
49+
github.com/kr/text v0.2.0 // indirect
50+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
4851
github.com/onsi/ginkgo/v2 v2.13.1 // indirect
4952
github.com/pmezard/go-difflib v1.0.0 // indirect
5053
github.com/quic-go/qtls-go1-20 v0.4.1 // indirect
@@ -58,6 +61,8 @@ require (
5861
golang.org/x/tools v0.15.0 // indirect
5962
golang.zx2c4.com/wintun v0.0.0-20230126152724-0fa3db229ce2 // indirect
6063
google.golang.org/genproto/googleapis/rpc v0.0.0-20231106174013-bbf56f31fb17 // indirect
64+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect
6165
gopkg.in/yaml.v2 v2.4.0 // indirect
6266
gopkg.in/yaml.v3 v3.0.1 // indirect
67+
kernel.org/pub/linux/libs/security/libcap/psx v1.2.69 // indirect
6368
)

0 commit comments

Comments
 (0)
Please sign in to comment.