Browse Source

move repo

Vladislav Yarmak 1 year ago
parent
commit
f4d6c836ec
11 changed files with 20 additions and 20 deletions
  1. 2 2
      Dockerfile
  2. 2 2
      README.md
  3. 1 1
      addrgen/addrgen.go
  4. 1 1
      addrgen/port.go
  5. 1 1
      addrgen/range.go
  6. 1 1
      client/client.go
  7. 2 2
      client/config.go
  8. 6 6
      cmd/dtlspipe/main.go
  9. 1 1
      go.mod
  10. 2 2
      server/config.go
  11. 1 1
      server/server.go

+ 2 - 2
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"]

+ 2 - 2
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)

+ 1 - 1
addrgen/addrgen.go

@@ -10,7 +10,7 @@ import (
 	"strconv"
 	"strings"
 
-	"github.com/Snawoot/dtlspipe/randpool"
+	"github.com/SenseUnit/dtlspipe/randpool"
 )
 
 type AddrGen interface {

+ 1 - 1
addrgen/port.go

@@ -6,7 +6,7 @@ import (
 	"strconv"
 	"strings"
 
-	"github.com/Snawoot/dtlspipe/randpool"
+	"github.com/SenseUnit/dtlspipe/randpool"
 )
 
 var _ PortGen = PortRange{}

+ 1 - 1
addrgen/range.go

@@ -8,7 +8,7 @@ import (
 	"net/netip"
 	"strings"
 
-	"github.com/Snawoot/dtlspipe/randpool"
+	"github.com/SenseUnit/dtlspipe/randpool"
 )
 
 type AddrRange struct {

+ 1 - 1
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"
 )

+ 2 - 2
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 {

+ 6 - 6
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"
 )
 

+ 1 - 1
go.mod

@@ -1,4 +1,4 @@
-module github.com/Snawoot/dtlspipe
+module github.com/SenseUnit/dtlspipe
 
 go 1.21.1
 

+ 2 - 2
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 {

+ 1 - 1
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"