Skip to content

Commit

Permalink
move repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Snawoot committed Jan 28, 2024
1 parent 5fd8c09 commit f4d6c83
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion addrgen/addrgen.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"strings"

"github.com/Snawoot/dtlspipe/randpool"
"github.com/SenseUnit/dtlspipe/randpool"
)

type AddrGen interface {
Expand Down
2 changes: 1 addition & 1 deletion addrgen/port.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

"github.com/Snawoot/dtlspipe/randpool"
"github.com/SenseUnit/dtlspipe/randpool"
)

var _ PortGen = PortRange{}
Expand Down
2 changes: 1 addition & 1 deletion addrgen/range.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/netip"
"strings"

"github.com/Snawoot/dtlspipe/randpool"
"github.com/SenseUnit/dtlspipe/randpool"
)

type AddrRange struct {
Expand Down
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
4 changes: 2 additions & 2 deletions client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
12 changes: 6 additions & 6 deletions cmd/dtlspipe/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/Snawoot/dtlspipe
module github.com/SenseUnit/dtlspipe

go 1.21.1

Expand Down
4 changes: 2 additions & 2 deletions server/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f4d6c83

Please sign in to comment.