Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generalize SOCKS peerings #1188

Open
meshmayhem opened this issue Oct 8, 2024 · 1 comment
Open

Generalize SOCKS peerings #1188

meshmayhem opened this issue Oct 8, 2024 · 1 comment

Comments

@meshmayhem
Copy link

SOCKS peers only allow TCP and TLS, despite every protocol based on TCP and UDP being supported by SOCKS itself. Generalizing SOCKS peers to work with all TCP/UDP based protocols would open support to protocols like QUIC.

Related: #1087

@neilalexander
Copy link
Member

We provide SOCKS and WebSocket support mostly out of convenience and because it's simple to do so, but we don't really believe that most peerings should be set up in this way. With that in mind, I don't want to complicate things too much.

Direct connectivity will always be better when possible and peering over other overlay networks (like Tor) will usually perform badly. Proxies can and often have surprising behaviours too, like around buffering and/or limits like how long a connection can live for before they are forcibly closed, so we don't usually encourage their use.

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

No branches or pull requests

2 participants