According to https://datatracker.ietf.org/doc/html/rfc1928#section-5, for atyp=x03, the host name passed to a SOCKS5 proxy must be a fully qualified domain name, which according to my understanding does not include the IP address form of host names. IPv4 addresses shall be given with atyp=x01 and IPv6 addresses with atyp=x04
I did this
Use socks5h:// proxy settings with a proxy that implements RFC1928 very strictly.
Send "GET" request to URL that contains IP address
I expected the following
IP address is detected and parsed by libcurl and passed to SOCKS5 proxy using atyp=x01 or atyp=x04, atyp=x03 is only used for FQDN
Resource is downloaded properly.
curl/libcurl version
7.80.0
[curl -V output]
N/A (using libcurl)
operating system
Any
The text was updated successfully, but these errors were encountered:
According to https://datatracker.ietf.org/doc/html/rfc1928#section-5, for atyp=x03, the host name passed to a SOCKS5 proxy must be a fully qualified domain name, which according to my understanding does not include the IP address form of host names. IPv4 addresses shall be given with atyp=x01 and IPv6 addresses with atyp=x04
I did this
Use socks5h:// proxy settings with a proxy that implements RFC1928 very strictly.
Send "GET" request to URL that contains IP address
I expected the following
IP address is detected and parsed by libcurl and passed to SOCKS5 proxy using atyp=x01 or atyp=x04, atyp=x03 is only used for FQDN
Resource is downloaded properly.
curl/libcurl version
7.80.0
[curl -V output]
N/A (using libcurl)
operating system
Any
The text was updated successfully, but these errors were encountered: