Skip to content

[wg] use generic wireguard network abstraction#7

Merged
dpeckett merged 4 commits intomainfrom
dpeckett/wg-tunnel-v2
Nov 19, 2024
Merged

[wg] use generic wireguard network abstraction#7
dpeckett merged 4 commits intomainfrom
dpeckett/wg-tunnel-v2

Conversation

@dpeckett
Copy link
Copy Markdown
Contributor

@dpeckett dpeckett commented Nov 18, 2024

No description provided.

@dpeckett dpeckett changed the title [wg] add genetic wireguard network abstraction [wg] use generic wireguard network abstraction Nov 18, 2024
@dpeckett dpeckett requested a review from dilyevsky November 18, 2024 14:01
Copy link
Copy Markdown
Contributor

@dilyevsky dilyevsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment on lines +10 to +12
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/things-go/go-socks5"
"github.com/things-go/go-socks5/bufferpool"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/things-go/go-socks5"
"github.com/things-go/go-socks5/bufferpool"
"github.com/things-go/go-socks5"
"github.com/things-go/go-socks5/bufferpool"
"github.com/apoxy-dev/apoxy-cli/pkg/network"

Comment on lines +9 to +12
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/apoxy-dev/apoxy-cli/pkg/socksproxy"
"github.com/stretchr/testify/require"
proxyclient "golang.org/x/net/proxy"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/apoxy-dev/apoxy-cli/pkg/socksproxy"
"github.com/stretchr/testify/require"
proxyclient "golang.org/x/net/proxy"
"github.com/stretchr/testify/require"
proxyclient "golang.org/x/net/proxy"
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/apoxy-dev/apoxy-cli/pkg/socksproxy"

Comment on lines +12 to +17
"github.com/apoxy-dev/apoxy-cli/pkg/socksproxy"
"github.com/apoxy-dev/apoxy-cli/pkg/utils"
"github.com/apoxy-dev/apoxy-cli/pkg/wireguard"
"github.com/google/uuid"
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
"k8s.io/utils/ptr"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"github.com/apoxy-dev/apoxy-cli/pkg/socksproxy"
"github.com/apoxy-dev/apoxy-cli/pkg/utils"
"github.com/apoxy-dev/apoxy-cli/pkg/wireguard"
"github.com/google/uuid"
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
"k8s.io/utils/ptr"
"github.com/google/uuid"
"golang.zx2c4.com/wireguard/wgctrl/wgtypes"
"k8s.io/utils/ptr"
"github.com/apoxy-dev/apoxy-cli/pkg/socksproxy"
"github.com/apoxy-dev/apoxy-cli/pkg/utils"
"github.com/apoxy-dev/apoxy-cli/pkg/wireguard"

Comment on lines +9 to +16
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/dpeckett/contextio"
"github.com/dpeckett/triemap"
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/adapters/gonet"
"gvisor.dev/gvisor/pkg/tcpip/stack"
"gvisor.dev/gvisor/pkg/tcpip/transport/tcp"
"gvisor.dev/gvisor/pkg/waiter"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"github.com/apoxy-dev/apoxy-cli/pkg/network"
"github.com/dpeckett/contextio"
"github.com/dpeckett/triemap"
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/adapters/gonet"
"gvisor.dev/gvisor/pkg/tcpip/stack"
"gvisor.dev/gvisor/pkg/tcpip/transport/tcp"
"gvisor.dev/gvisor/pkg/waiter"
"github.com/dpeckett/contextio"
"github.com/dpeckett/triemap"
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/adapters/gonet"
"gvisor.dev/gvisor/pkg/tcpip/stack"
"gvisor.dev/gvisor/pkg/tcpip/transport/tcp"
"gvisor.dev/gvisor/pkg/waiter"
"github.com/apoxy-dev/apoxy-cli/pkg/network"

@dpeckett dpeckett merged commit 24aad01 into main Nov 19, 2024
@dpeckett dpeckett deleted the dpeckett/wg-tunnel-v2 branch November 19, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants