s2n-quic
s2n-quic copied to clipboard
Socks5 support
Is it possible to add Socks5 proxy support?
I'm not sure I follow what the ask is. You'll have to be more specific about what functionality you're looking for. Are you wanting a QUIC-based SOCKS server? Or are you wanting s2n-quic to implement the SOCKS5 client wire protocol?
I meant the latter, hope there is an API so that we can configure socks5 proxy for the client. Sorry for the confusion.
At this point we don't really have anything to support that use case. That being said, I wouldn't be opposed to adding some general functionality for constructing custom packet encapsulation headers to the library. This would need to be a new provider that is called at the beginning of every packet to write the header. This would provide flexibility for a wide variety of encapsulation methods, rather than just SOCKS5.