bannsec / cosmosocks

Socks server written in Cosmopolitan libc
GNU General Public License v3.0
20 stars 2 forks source link

Socks5 IPv6 Support #4

Open bannsec opened 2 years ago

bannsec commented 2 years ago

Socks5 supports IPv6, so this should as well. The equivalent of 8.8.8.8 for IPv6 is 2001:4860:4860::8888.

An example curl command for v6:

curl https://[2001:4860:4860::8888]
jart commented 1 year ago

As of v2.1 Cosmo Libc has cross-platform IPv6 support. Please note we do not currently polyfill the ability to poll() on IPv4+IPv6 sockets on Windows. We intend to support that in the future though. Let us know if you need it.