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

Add integration test for ipv6. #2083

Closed
wants to merge 1 commit into from
Closed

Add integration test for ipv6. #2083

wants to merge 1 commit into from

Conversation

jcamiel
Copy link
Collaborator

@jcamiel jcamiel commented Oct 21, 2023

No description provided.

@jcamiel jcamiel self-assigned this Oct 21, 2023
@jcamiel jcamiel force-pushed the add-ipv6-test branch 6 times, most recently from 0521e9b to 6184b32 Compare October 23, 2023 12:50
@jcamiel
Copy link
Collaborator Author

jcamiel commented Oct 23, 2023

Closing thiS PR (can't test on GitHub runners).

curl on macOS is available under:

  • /usr/bin/curl 8.1.2
  • /usr/local/opt/curl/bin/curl 8.3.0

Both binary have IPv6 feature enable but only curl 8.3.0 is able to GET https://google.com with --ipv6 on GitHub macOS runners.

$ /usr/local/opt/curl/bin/curl --version
curl 8.3.0 (x86_64-apple-darwin21.6.0) libcurl/8.3.0 (SecureTransport) OpenSSL/3.1.2 zlib/1.2.11 brotli/1.1.0 zstd/1.5.5 libidn2/2.3.4 libssh2/1.11.0 nghttp2/1.56.0 librtmp/2.3 OpenLDAP/2.6.6
Release-Date: 2023-09-13
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd
$ /usr/bin/curl --version
curl 8.1.2 (x86_64-apple-darwin21.0) libcurl/8.1.2 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.11 nghttp2/1.45.1
Release-Date: 2023-05-30
Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp smb smbs smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL threadsafe UnixSockets

And test with --ipv6 against google.com:

$/usr/local/opt/curl/bin/curl --ipv6 --verbose https://google.com/
...
Connected to google.com (::ffff:142.250.115.101) port 443
...
$/usr/bin/curl --ipv6 --verbose https://google.com/
curl: (7) Couldn't connect to server

As Hurl is linked to libcurl from /usr/bin, we are not able to test --ipv6 option.

See actions/runner-images#668

@jcamiel jcamiel closed this Oct 23, 2023
@jcamiel jcamiel deleted the add-ipv6-test branch October 23, 2023 15:27
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.

None yet

1 participant