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

Commit

Permalink
Merge pull request #64 from Jigsaw-Code/alalama-ss-update
Browse files Browse the repository at this point in the history
Update outline-ss-server to v1.3.0
  • Loading branch information
alalamav authored Oct 7, 2020
2 parents 9b609c0 + 3854375 commit e39f0d2
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 372 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ IMPORT_PATH=github.com/Jigsaw-Code/outline-go-tun2socks
ELECTRON_PATH=$(IMPORT_PATH)/outline/electron
LDFLAGS='-s -w'
ANDROID_LDFLAGS='-w' # Don't strip Android debug symbols so we can upload them to crash reporting tools.
TUN2SOCKS_VERSION=v1.16.9
TUN2SOCKS_VERSION=v1.16.11
XGO_LDFLAGS='-s -w -X main.version=$(TUN2SOCKS_VERSION)'

ANDROID_BUILDDIR=$(BUILDDIR)/android
Expand All @@ -21,7 +21,7 @@ LINUX_BUILDDIR=$(BUILDDIR)/linux
ANDROID_BUILD_CMD="$(GOBIND) -a -ldflags $(ANDROID_LDFLAGS) -target=android -tags android -work -o $(ANDROID_ARTIFACT)"
ANDROID_OUTLINE_BUILD_CMD="$(ANDROID_BUILD_CMD) $(IMPORT_PATH)/outline/android $(IMPORT_PATH)/outline/shadowsocks"
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"
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"
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"
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"
WINDOWS_BUILD_CMD="$(XGOCMD) -ldflags $(XGO_LDFLAGS) --targets=windows/386 -dest $(WINDOWS_BUILDDIR) $(ELECTRON_PATH)"
LINUX_BUILD_CMD="$(XGOCMD) -ldflags $(XGO_LDFLAGS) --targets=linux/amd64 -dest $(LINUX_BUILDDIR) $(ELECTRON_PATH)"
Expand Down
18 changes: 5 additions & 13 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,22 +1,14 @@
module github.com/Jigsaw-Code/outline-go-tun2socks

go 1.14
go 1.15

require (
github.com/Jigsaw-Code/choir v1.0.1
github.com/Jigsaw-Code/getsni v0.0.0-20190807203514-efe2dbf35d1f
github.com/Jigsaw-Code/outline-ss-server v1.2.1
github.com/Jigsaw-Code/outline-ss-server v1.3.0
github.com/eycorsican/go-tun2socks v1.16.11
github.com/oschwald/maxminddb-golang v1.7.0 // indirect
github.com/prometheus/client_golang v1.7.1 // indirect
github.com/prometheus/common v0.13.0 // indirect
github.com/prometheus/procfs v0.1.3 // indirect
github.com/riobard/go-bloom v0.0.0-20200614022211-cdc8013cb5b3 // indirect
github.com/shadowsocks/go-shadowsocks2 v0.1.3 // indirect
github.com/songgao/water v0.0.0-20200317203138-2b4b6d7c09d8 // indirect
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
golang.org/x/mobile v0.0.0-20200329125638-4c31acba0007 // indirect
golang.org/x/net v0.0.0-20200904194848-62affa334b73
golang.org/x/sys v0.0.0-20200909081042-eff7692f9009
google.golang.org/protobuf v1.25.0 // indirect
golang.org/x/mobile v0.0.0-20200801112145-973feb4309de // indirect
golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0
golang.org/x/sys v0.0.0-20201007165808-a893ed343c85
)
363 changes: 12 additions & 351 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion outline/shadowsocks/connectivity.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"time"

oss "github.com/Jigsaw-Code/outline-go-tun2socks/shadowsocks"
"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
)

// Outline error codes. Must be kept in sync with definitions in outline-client/cordova-plugin-outline/outlinePlugin.js
Expand Down
2 changes: 1 addition & 1 deletion shadowsocks/connectivity.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"time"

"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
)

// TODO: make these values configurable by exposing a struct with the connectivity methods.
Expand Down
2 changes: 1 addition & 1 deletion shadowsocks/connectivity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

onet "github.com/Jigsaw-Code/outline-ss-server/net"
"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
)

func TestCheckUDPConnectivityWithDNS_Success(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion shadowsocks/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net"

onet "github.com/Jigsaw-Code/outline-ss-server/net"
"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
"github.com/eycorsican/go-tun2socks/core"
)

Expand Down
2 changes: 1 addition & 1 deletion shadowsocks/udp.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync"
"time"

"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
"github.com/eycorsican/go-tun2socks/core"
)

Expand Down
Binary file modified tools/gomobile
Binary file not shown.
2 changes: 1 addition & 1 deletion tunnel/outline.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"github.com/eycorsican/go-tun2socks/proxy/dnsfallback"

oss "github.com/Jigsaw-Code/outline-go-tun2socks/shadowsocks"
"github.com/Jigsaw-Code/outline-ss-server/shadowsocks"
shadowsocks "github.com/Jigsaw-Code/outline-ss-server/client"
)

// OutlineTunnel represents a tunnel from a TUN device to a server.
Expand Down

0 comments on commit e39f0d2

Please sign in to comment.