Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dns/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"strings"
"time"

"github.com/Jigsaw-Code/outline-sdk/transport"
"github.com/Jigsaw-Code/outline-sdk/transport/tls"
"golang.getoutline.org/sdk/transport"
"golang.getoutline.org/sdk/transport/tls"
"golang.org/x/net/dns/dnsmessage"
)

Expand Down
2 changes: 1 addition & 1 deletion dns/resolver_net_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"context"
"testing"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/require"
"golang.org/x/net/dns/dnsmessage"
)
Expand Down
2 changes: 1 addition & 1 deletion dns/stream_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"net/netip"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"golang.org/x/net/dns/dnsmessage"
)

Expand Down
2 changes: 1 addition & 1 deletion dns/stream_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/netip"
"testing"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/require"
"golang.org/x/net/dns/dnsmessage"
)
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/Jigsaw-Code/outline-sdk
module golang.getoutline.org/sdk

go 1.24.1

Expand Down
4 changes: 2 additions & 2 deletions network/dnstruncate/packet_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"net/netip"
"sync/atomic"

"github.com/Jigsaw-Code/outline-sdk/internal/slicepool"
"github.com/Jigsaw-Code/outline-sdk/network"
"golang.getoutline.org/sdk/internal/slicepool"
"golang.getoutline.org/sdk/network"
)

// From [RFC 1035], the DNS message header contains the following fields:
Expand Down
2 changes: 1 addition & 1 deletion network/dnstruncate/packet_proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"sync"
"testing"

"github.com/Jigsaw-Code/outline-sdk/network"
"golang.getoutline.org/sdk/network"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/stretchr/testify/require"
Expand Down
4 changes: 2 additions & 2 deletions network/lwip2transport/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
"io"
"sync"

"github.com/Jigsaw-Code/outline-sdk/network"
"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/network"
"golang.getoutline.org/sdk/transport"
lwip "github.com/eycorsican/go-tun2socks/core"
)

Expand Down
4 changes: 2 additions & 2 deletions network/lwip2transport/device_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
"syscall"
"testing"

"github.com/Jigsaw-Code/outline-sdk/network"
"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/network"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion network/lwip2transport/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"io"
"net"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
lwip "github.com/eycorsican/go-tun2socks/core"
)

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

"github.com/Jigsaw-Code/outline-sdk/network"
"golang.getoutline.org/sdk/network"
lwip "github.com/eycorsican/go-tun2socks/core"
)

Expand Down
2 changes: 1 addition & 1 deletion network/lwip2transport/udp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"net/netip"
"testing"

"github.com/Jigsaw-Code/outline-sdk/network"
"golang.getoutline.org/sdk/network"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions network/packet_listener_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
"sync"
"time"

"github.com/Jigsaw-Code/outline-sdk/internal/slicepool"
"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/internal/slicepool"
"golang.getoutline.org/sdk/transport"
)

// this was the buffer size used before, we may consider update it in the future
Expand Down
2 changes: 1 addition & 1 deletion network/packet_listener_proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"testing"
"time"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/require"
)

Expand Down
4 changes: 2 additions & 2 deletions transport/shadowsocks/packet_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"io"
"net"

"github.com/Jigsaw-Code/outline-sdk/internal/slicepool"
"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/internal/slicepool"
"golang.getoutline.org/sdk/transport"
"github.com/shadowsocks/go-shadowsocks2/socks"
)

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

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/shadowsocks/go-shadowsocks2/socks"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion transport/shadowsocks/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"io"
"sync"

"github.com/Jigsaw-Code/outline-sdk/internal/slicepool"
"golang.getoutline.org/sdk/internal/slicepool"
)

// payloadSizeMask is the maximum size of payload in bytes, as per https://shadowsocks.org/guide/aead.html#tcp.
Expand Down
2 changes: 1 addition & 1 deletion transport/shadowsocks/stream_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"errors"
"time"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/shadowsocks/go-shadowsocks2/socks"
)

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

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/shadowsocks/go-shadowsocks2/socks"
"github.com/stretchr/testify/require"
)
Expand Down
4 changes: 2 additions & 2 deletions transport/socks5/packet_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import (
"net/netip"
"time"

"github.com/Jigsaw-Code/outline-sdk/internal/slicepool"
"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/internal/slicepool"
"golang.getoutline.org/sdk/transport"
)

// clientUDPBufferSize is the maximum supported UDP packet size in bytes.
Expand Down
2 changes: 1 addition & 1 deletion transport/socks5/packet_listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"
"time"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/things-go/go-socks5"
Expand Down
2 changes: 1 addition & 1 deletion transport/socks5/stream_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"io"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
)

// https://datatracker.ietf.org/doc/html/rfc1929
Expand Down
2 changes: 1 addition & 1 deletion transport/socks5/stream_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"testing"
"testing/iotest"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/things-go/go-socks5"
Expand Down
2 changes: 1 addition & 1 deletion transport/split/stream_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"errors"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
)

// splitDialer is a [transport.StreamDialer] that implements the split strategy.
Expand Down
2 changes: 1 addition & 1 deletion transport/tls/stream_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"net"
"strings"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
)

// StreamDialer is a [transport.StreamDialer] that uses TLS to wrap the inner StreamDialer.
Expand Down
2 changes: 1 addition & 1 deletion transport/tls/stream_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"testing"
"time"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/stretchr/testify/require"
)

Expand Down
2 changes: 1 addition & 1 deletion transport/tlsfrag/stream_dialer.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"errors"
"io"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
)

// FragFunc takes the content of the first [handshake record] in a TLS session as input, and returns an integer that
Expand Down
2 changes: 1 addition & 1 deletion transport/tlsfrag/stream_dialer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"testing"
"time"

"github.com/Jigsaw-Code/outline-sdk/transport"
"golang.getoutline.org/sdk/transport"
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
"github.com/stretchr/testify/require"
Expand Down
Loading