This repository was archived by the owner on May 6, 2024. It is now read-only.
File tree 10 files changed +25
-372
lines changed 10 files changed +25
-372
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ IMPORT_PATH=github.com/Jigsaw-Code/outline-go-tun2socks
6
6
ELECTRON_PATH =$(IMPORT_PATH ) /outline/electron
7
7
LDFLAGS ='-s -w'
8
8
ANDROID_LDFLAGS ='-w' # Don't strip Android debug symbols so we can upload them to crash reporting tools.
9
- TUN2SOCKS_VERSION=v1.16.9
9
+ TUN2SOCKS_VERSION=v1.16.11
10
10
XGO_LDFLAGS ='-s -w -X main.version=$(TUN2SOCKS_VERSION ) '
11
11
12
12
ANDROID_BUILDDIR =$(BUILDDIR ) /android
@@ -21,7 +21,7 @@ LINUX_BUILDDIR=$(BUILDDIR)/linux
21
21
ANDROID_BUILD_CMD ="$(GOBIND ) -a -ldflags $(ANDROID_LDFLAGS ) -target=android -tags android -work -o $(ANDROID_ARTIFACT ) "
22
22
ANDROID_OUTLINE_BUILD_CMD ="$(ANDROID_BUILD_CMD ) $(IMPORT_PATH ) /outline/android $(IMPORT_PATH ) /outline/shadowsocks"
23
23
ANDROID_INTRA_BUILD_CMD ="$(ANDROID_BUILD_CMD ) $(IMPORT_PATH ) /intra $(IMPORT_PATH ) /tunnel $(IMPORT_PATH ) /tunnel/intra $(IMPORT_PATH ) /tunnel/intra/doh $(IMPORT_PATH ) /tunnel/intra/split $(IMPORT_PATH ) /tunnel/intra/protect"
24
- IOS_BUILD_CMD ="$(GOBIND ) -a -ldflags $(LDFLAGS ) -bundleid org.outline.tun2socks -target=ios/arm,ios/ arm64 -tags ios -o $(IOS_ARTIFACT ) $(IMPORT_PATH ) /outline/apple $(IMPORT_PATH ) /outline/shadowsocks"
24
+ IOS_BUILD_CMD ="$(GOBIND ) -a -ldflags $(LDFLAGS ) -bundleid org.outline.tun2socks -target=ios/arm64 -tags ios -o $(IOS_ARTIFACT ) $(IMPORT_PATH ) /outline/apple $(IMPORT_PATH ) /outline/shadowsocks"
25
25
MACOS_BUILD_CMD ="./tools/$(GOBIND ) -a -ldflags $(LDFLAGS ) -bundleid org.outline.tun2socks -target=ios/amd64 -tags ios -o $(MACOS_ARTIFACT ) $(IMPORT_PATH ) /outline/apple $(IMPORT_PATH ) /outline/shadowsocks"
26
26
WINDOWS_BUILD_CMD ="$(XGOCMD ) -ldflags $(XGO_LDFLAGS ) --targets=windows/386 -dest $(WINDOWS_BUILDDIR ) $(ELECTRON_PATH ) "
27
27
LINUX_BUILD_CMD ="$(XGOCMD ) -ldflags $(XGO_LDFLAGS ) --targets=linux/amd64 -dest $(LINUX_BUILDDIR ) $(ELECTRON_PATH ) "
Original file line number Diff line number Diff line change 1
1
module github.com/Jigsaw-Code/outline-go-tun2socks
2
2
3
- go 1.14
3
+ go 1.15
4
4
5
5
require (
6
6
github.com/Jigsaw-Code/choir v1.0.1
7
7
github.com/Jigsaw-Code/getsni v0.0.0-20190807203514-efe2dbf35d1f
8
- github.com/Jigsaw-Code/outline-ss-server v1.2.1
8
+ github.com/Jigsaw-Code/outline-ss-server v1.3.0
9
9
github.com/eycorsican/go-tun2socks v1.16.11
10
- github.com/oschwald/maxminddb-golang v1.7.0 // indirect
11
- github.com/prometheus/client_golang v1.7.1 // indirect
12
- github.com/prometheus/common v0.13.0 // indirect
13
- github.com/prometheus/procfs v0.1.3 // indirect
14
- github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 // indirect
15
- github.com/shadowsocks/go-shadowsocks2 v0.1.3 // indirect
16
10
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 // indirect
17
- golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
18
- golang.org/x/mobile v0.0.0-20200329125638-4c31acba0007 // indirect
19
- golang.org/x/net v0.0.0-20200904194848-62affa334b73
20
- golang.org/x/sys v0.0.0-20200909081042-eff7692f9009
21
- google.golang.org/protobuf v1.25.0 // indirect
11
+ golang.org/x/mobile v0.0.0-20200801112145-973feb4309de // indirect
12
+ golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0
13
+ golang.org/x/sys v0.0.0-20201007165808-a893ed343c85
22
14
)
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 6
6
"time"
7
7
8
8
oss "github.com/Jigsaw-Code/outline-go-tun2socks/shadowsocks"
9
- "github.com/Jigsaw-Code/outline-ss-server/shadowsocks "
9
+ shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client "
10
10
)
11
11
12
12
// Outline error codes. Must be kept in sync with definitions in outline-client/cordova-plugin-outline/outlinePlugin.js
Original file line number Diff line number Diff line change 6
6
"net/http"
7
7
"time"
8
8
9
- "github.com/Jigsaw-Code/outline-ss-server/shadowsocks "
9
+ shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client "
10
10
)
11
11
12
12
// TODO: make these values configurable by exposing a struct with the connectivity methods.
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
onet "github.com/Jigsaw-Code/outline-ss-server/net"
11
- "github.com/Jigsaw-Code/outline-ss-server/shadowsocks "
11
+ shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client "
12
12
)
13
13
14
14
func TestCheckUDPConnectivityWithDNS_Success (t * testing.T ) {
Original file line number Diff line number Diff line change 4
4
"net"
5
5
6
6
onet "github.com/Jigsaw-Code/outline-ss-server/net"
7
- "github.com/Jigsaw-Code/outline-ss-server/shadowsocks "
7
+ shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client "
8
8
"github.com/eycorsican/go-tun2socks/core"
9
9
)
10
10
Original file line number Diff line number Diff line change 6
6
"sync"
7
7
"time"
8
8
9
- "github.com/Jigsaw-Code/outline-ss-server/shadowsocks "
9
+ shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client "
10
10
"github.com/eycorsican/go-tun2socks/core"
11
11
)
12
12
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"github.com/eycorsican/go-tun2socks/proxy/dnsfallback"
25
25
26
26
oss "github.com/Jigsaw-Code/outline-go-tun2socks/shadowsocks"
27
- "github.com/Jigsaw-Code/outline-ss-server/shadowsocks "
27
+ shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client "
28
28
)
29
29
30
30
// OutlineTunnel represents a tunnel from a TUN device to a server.
You can’t perform that action at this time.
0 commit comments