diff --git a/Dockerfile b/Dockerfile index 539c3aa7..bc6e1f43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ENV GOPROXY https://goproxy.cn RUN apk upgrade \ && apk add git \ - && go get github.com/shadowsocks/go-shadowsocks2 + && go get github.com/BarryDeng/go-shadowsocks2 FROM alpine:3.12 AS dist diff --git a/README.md b/README.md index 3670c434..2ca26d5d 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ A fresh implementation of Shadowsocks in Go. -GoDoc at https://godoc.org/github.com/shadowsocks/go-shadowsocks2/ +GoDoc at https://godoc.org/github.com/BarryDeng/go-shadowsocks2/ -![Build and test](https://github.com/shadowsocks/go-shadowsocks2/workflows/Build%20and%20test/badge.svg) +![Build and test](https://github.com/BarryDeng/go-shadowsocks2/workflows/Build%20and%20test/badge.svg) ## Features @@ -20,12 +20,12 @@ GoDoc at https://godoc.org/github.com/shadowsocks/go-shadowsocks2/ ## Install -Pre-built binaries for common platforms are available at https://github.com/shadowsocks/go-shadowsocks2/releases +Pre-built binaries for common platforms are available at https://github.com/BarryDeng/go-shadowsocks2/releases Install from source ```sh -go install -u github.com/shadowsocks/go-shadowsocks2@latest +go install -u github.com/BarryDeng/go-shadowsocks2@latest ``` diff --git a/core/cipher.go b/core/cipher.go index 71a67d8a..baed0078 100644 --- a/core/cipher.go +++ b/core/cipher.go @@ -7,7 +7,7 @@ import ( "sort" "strings" - "github.com/shadowsocks/go-shadowsocks2/shadowaead" + "github.com/BarryDeng/go-shadowsocks2/shadowaead" ) type Cipher interface { diff --git a/go.mod b/go.mod index bb50089f..49ea215c 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/shadowsocks/go-shadowsocks2 +module github.com/BarryDeng/go-shadowsocks2 go 1.16 diff --git a/internal/bloomring_test.go b/internal/bloomring_test.go index f2d4319c..b7fa9f23 100644 --- a/internal/bloomring_test.go +++ b/internal/bloomring_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "github.com/shadowsocks/go-shadowsocks2/internal" + "github.com/BarryDeng/go-shadowsocks2/internal" ) var ( diff --git a/main.go b/main.go index b196eb7e..bf881bc7 100644 --- a/main.go +++ b/main.go @@ -14,8 +14,8 @@ import ( "syscall" "time" - "github.com/shadowsocks/go-shadowsocks2/core" - "github.com/shadowsocks/go-shadowsocks2/socks" + "github.com/BarryDeng/go-shadowsocks2/core" + "github.com/BarryDeng/go-shadowsocks2/socks" ) var config struct { diff --git a/shadowaead/packet.go b/shadowaead/packet.go index 2ba403fb..1a30dfd1 100644 --- a/shadowaead/packet.go +++ b/shadowaead/packet.go @@ -7,7 +7,7 @@ import ( "net" "sync" - "github.com/shadowsocks/go-shadowsocks2/internal" + "github.com/BarryDeng/go-shadowsocks2/internal" ) // ErrShortPacket means that the packet is too short for a valid encrypted packet. diff --git a/shadowaead/stream.go b/shadowaead/stream.go index 251f5f56..610e62a8 100644 --- a/shadowaead/stream.go +++ b/shadowaead/stream.go @@ -7,7 +7,7 @@ import ( "io" "net" - "github.com/shadowsocks/go-shadowsocks2/internal" + "github.com/BarryDeng/go-shadowsocks2/internal" ) // payloadSizeMask is the maximum size of payload in bytes. diff --git a/tcp.go b/tcp.go index 09461a06..647e27de 100644 --- a/tcp.go +++ b/tcp.go @@ -10,7 +10,7 @@ import ( "sync" "time" - "github.com/shadowsocks/go-shadowsocks2/socks" + "github.com/BarryDeng/go-shadowsocks2/socks" ) // Create a SOCKS server listening on addr and proxy to server. diff --git a/tcp_darwin.go b/tcp_darwin.go index 1497d5d8..f9e2cb5a 100644 --- a/tcp_darwin.go +++ b/tcp_darwin.go @@ -3,8 +3,8 @@ package main import ( "net" - "github.com/shadowsocks/go-shadowsocks2/pfutil" - "github.com/shadowsocks/go-shadowsocks2/socks" + "github.com/BarryDeng/go-shadowsocks2/pfutil" + "github.com/BarryDeng/go-shadowsocks2/socks" ) func redirLocal(addr, server string, shadow func(net.Conn) net.Conn) { diff --git a/tcp_linux.go b/tcp_linux.go index 6f4d11e7..705ecc30 100644 --- a/tcp_linux.go +++ b/tcp_linux.go @@ -3,8 +3,8 @@ package main import ( "net" - "github.com/shadowsocks/go-shadowsocks2/nfutil" - "github.com/shadowsocks/go-shadowsocks2/socks" + "github.com/BarryDeng/go-shadowsocks2/nfutil" + "github.com/BarryDeng/go-shadowsocks2/socks" ) func getOrigDst(c net.Conn, ipv6 bool) (socks.Addr, error) { diff --git a/udp.go b/udp.go index 06d85789..da6432fb 100644 --- a/udp.go +++ b/udp.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/shadowsocks/go-shadowsocks2/socks" + "github.com/BarryDeng/go-shadowsocks2/socks" ) type mode int