From f4d6c836ec17b54a113106cfb4c80e786d050d58 Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Mon, 29 Jan 2024 01:24:12 +0200 Subject: [PATCH] move repo --- Dockerfile | 4 ++-- README.md | 4 ++-- addrgen/addrgen.go | 2 +- addrgen/port.go | 2 +- addrgen/range.go | 2 +- client/client.go | 2 +- client/config.go | 4 ++-- cmd/dtlspipe/main.go | 12 ++++++------ go.mod | 2 +- server/config.go | 4 ++-- server/server.go | 2 +- 11 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5b258dd..9a6844f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,12 +2,12 @@ FROM --platform=$BUILDPLATFORM golang AS build ARG GIT_DESC=undefined -WORKDIR /go/src/github.com/Snawoot/dtlspipe +WORKDIR /go/src/github.com/SenseUnit/dtlspipe COPY . . ARG TARGETOS TARGETARCH RUN GOOS=$TARGETOS GOARCH=$TARGETARCH CGO_ENABLED=0 go build -a -tags netgo -ldflags '-s -w -extldflags "-static" -X main.version='"$GIT_DESC" ./cmd/dtlspipe FROM scratch -COPY --from=build /go/src/github.com/Snawoot/dtlspipe/dtlspipe / +COPY --from=build /go/src/github.com/SenseUnit/dtlspipe/dtlspipe / USER 9999:9999 ENTRYPOINT ["/dtlspipe"] diff --git a/README.md b/README.md index 10eee69..e5c85aa 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Generic DTLS wrapper for UDP sessions. Like `stunnel`, but for UDP. Suitable for ### Binaries -Pre-built binaries are available [here](https://github.com/Snawoot/dtlspipe/releases/latest). +Pre-built binaries are available [here](https://github.com/SenseUnit/dtlspipe/releases/latest). ### Build from source @@ -143,5 +143,5 @@ Options: ## See also -* [Project Wiki](https://github.com/Snawoot/dtlspipe/wiki) +* [Project Wiki](https://github.com/SenseUnit/dtlspipe/wiki) * [Community in Telegram](https://t.me/dtlspipe) diff --git a/addrgen/addrgen.go b/addrgen/addrgen.go index 7a80264..ecf1ba2 100644 --- a/addrgen/addrgen.go +++ b/addrgen/addrgen.go @@ -10,7 +10,7 @@ import ( "strconv" "strings" - "github.com/Snawoot/dtlspipe/randpool" + "github.com/SenseUnit/dtlspipe/randpool" ) type AddrGen interface { diff --git a/addrgen/port.go b/addrgen/port.go index 1413886..cbb9824 100644 --- a/addrgen/port.go +++ b/addrgen/port.go @@ -6,7 +6,7 @@ import ( "strconv" "strings" - "github.com/Snawoot/dtlspipe/randpool" + "github.com/SenseUnit/dtlspipe/randpool" ) var _ PortGen = PortRange{} diff --git a/addrgen/range.go b/addrgen/range.go index d9ca2a6..5bb0038 100644 --- a/addrgen/range.go +++ b/addrgen/range.go @@ -8,7 +8,7 @@ import ( "net/netip" "strings" - "github.com/Snawoot/dtlspipe/randpool" + "github.com/SenseUnit/dtlspipe/randpool" ) type AddrRange struct { diff --git a/client/client.go b/client/client.go index 09ca8cd..626ff1b 100644 --- a/client/client.go +++ b/client/client.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/Snawoot/dtlspipe/util" + "github.com/SenseUnit/dtlspipe/util" "github.com/pion/dtls/v2" "github.com/pion/transport/v2/udp" ) diff --git a/client/config.go b/client/config.go index c899ab3..15fda34 100644 --- a/client/config.go +++ b/client/config.go @@ -5,8 +5,8 @@ import ( "net" "time" - "github.com/Snawoot/dtlspipe/ciphers" - "github.com/Snawoot/dtlspipe/util" + "github.com/SenseUnit/dtlspipe/ciphers" + "github.com/SenseUnit/dtlspipe/util" ) type Config struct { diff --git a/cmd/dtlspipe/main.go b/cmd/dtlspipe/main.go index fa79deb..7dd7983 100644 --- a/cmd/dtlspipe/main.go +++ b/cmd/dtlspipe/main.go @@ -14,12 +14,12 @@ import ( "syscall" "time" - "github.com/Snawoot/dtlspipe/addrgen" - "github.com/Snawoot/dtlspipe/ciphers" - "github.com/Snawoot/dtlspipe/client" - "github.com/Snawoot/dtlspipe/keystore" - "github.com/Snawoot/dtlspipe/server" - "github.com/Snawoot/dtlspipe/util" + "github.com/SenseUnit/dtlspipe/addrgen" + "github.com/SenseUnit/dtlspipe/ciphers" + "github.com/SenseUnit/dtlspipe/client" + "github.com/SenseUnit/dtlspipe/keystore" + "github.com/SenseUnit/dtlspipe/server" + "github.com/SenseUnit/dtlspipe/util" "github.com/Snawoot/rlzone" ) diff --git a/go.mod b/go.mod index 9b907e4..edbc712 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/Snawoot/dtlspipe +module github.com/SenseUnit/dtlspipe go 1.21.1 diff --git a/server/config.go b/server/config.go index 3f53393..2dd5971 100644 --- a/server/config.go +++ b/server/config.go @@ -5,8 +5,8 @@ import ( "net" "time" - "github.com/Snawoot/dtlspipe/ciphers" - "github.com/Snawoot/dtlspipe/util" + "github.com/SenseUnit/dtlspipe/ciphers" + "github.com/SenseUnit/dtlspipe/util" ) type Config struct { diff --git a/server/server.go b/server/server.go index 98e42e9..9e5b232 100644 --- a/server/server.go +++ b/server/server.go @@ -9,7 +9,7 @@ import ( "sync" "time" - "github.com/Snawoot/dtlspipe/util" + "github.com/SenseUnit/dtlspipe/util" "github.com/pion/dtls/v2" "github.com/pion/dtls/v2/pkg/protocol" "github.com/pion/dtls/v2/pkg/protocol/recordlayer"