Skip to content
This repository was archived by the owner on May 6, 2024. It is now read-only.

Commit e39f0d2

Browse files
authored
Merge pull request #64 from Jigsaw-Code/alalama-ss-update
Update outline-ss-server to v1.3.0
2 parents 9b609c0 + 3854375 commit e39f0d2

File tree

10 files changed

+25
-372
lines changed

10 files changed

+25
-372
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ IMPORT_PATH=github.com/Jigsaw-Code/outline-go-tun2socks
66
ELECTRON_PATH=$(IMPORT_PATH)/outline/electron
77
LDFLAGS='-s -w'
88
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
1010
XGO_LDFLAGS='-s -w -X main.version=$(TUN2SOCKS_VERSION)'
1111

1212
ANDROID_BUILDDIR=$(BUILDDIR)/android
@@ -21,7 +21,7 @@ LINUX_BUILDDIR=$(BUILDDIR)/linux
2121
ANDROID_BUILD_CMD="$(GOBIND) -a -ldflags $(ANDROID_LDFLAGS) -target=android -tags android -work -o $(ANDROID_ARTIFACT)"
2222
ANDROID_OUTLINE_BUILD_CMD="$(ANDROID_BUILD_CMD) $(IMPORT_PATH)/outline/android $(IMPORT_PATH)/outline/shadowsocks"
2323
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"
2525
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"
2626
WINDOWS_BUILD_CMD="$(XGOCMD) -ldflags $(XGO_LDFLAGS) --targets=windows/386 -dest $(WINDOWS_BUILDDIR) $(ELECTRON_PATH)"
2727
LINUX_BUILD_CMD="$(XGOCMD) -ldflags $(XGO_LDFLAGS) --targets=linux/amd64 -dest $(LINUX_BUILDDIR) $(ELECTRON_PATH)"

go.mod

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,14 @@
11
module github.com/Jigsaw-Code/outline-go-tun2socks
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/Jigsaw-Code/choir v1.0.1
77
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
99
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
1610
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
2214
)

go.sum

Lines changed: 12 additions & 351 deletions
Large diffs are not rendered by default.

outline/shadowsocks/connectivity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"time"
77

88
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"
1010
)
1111

1212
// Outline error codes. Must be kept in sync with definitions in outline-client/cordova-plugin-outline/outlinePlugin.js

shadowsocks/connectivity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"net/http"
77
"time"
88

9-
"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
9+
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
1010
)
1111

1212
// TODO: make these values configurable by exposing a struct with the connectivity methods.

shadowsocks/connectivity_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"time"
99

1010
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"
1212
)
1313

1414
func TestCheckUDPConnectivityWithDNS_Success(t *testing.T) {

shadowsocks/tcp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net"
55

66
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"
88
"github.com/eycorsican/go-tun2socks/core"
99
)
1010

shadowsocks/udp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sync"
77
"time"
88

9-
"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
9+
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
1010
"github.com/eycorsican/go-tun2socks/core"
1111
)
1212

tools/gomobile

-496 KB
Binary file not shown.

tunnel/outline.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"github.com/eycorsican/go-tun2socks/proxy/dnsfallback"
2525

2626
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"
2828
)
2929

3030
// OutlineTunnel represents a tunnel from a TUN device to a server.

0 commit comments

Comments
 (0)