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

interface "host!" does not bind to specified address #15553

Closed
marcos-ng opened this issue Nov 11, 2024 · 0 comments
Closed

interface "host!" does not bind to specified address #15553

marcos-ng opened this issue Nov 11, 2024 · 0 comments
Assignees

Comments

@marcos-ng
Copy link

marcos-ng commented Nov 11, 2024

Running curl -k --interface "host!<ip>" https://ifconfig.me does not bind to the specified IP address.

Running curl -k --interface "<ip>" https://ifconfig.me works.
Running curl -k --interface "<if!<ifname>" https://ifconfig.me works.

I don't know when this worked last, but curl 8.8.0 works as expected.

curl/libcurl version

curl --version
curl 8.10.1 (amd64-portbld-freebsd15.0) libcurl/8.10.1 OpenSSL/3.0.14 zlib/1.3.1 libpsl/0.21.5 libssh2/1.11.0 nghttp2/1.63.0
Release-Date: 2024-09-18
Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: alt-svc AsynchDNS GSS-API HSTS HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets

netgate-git-updates pushed a commit to pfsense/pfsense that referenced this issue Nov 11, 2024
@bagder bagder self-assigned this Nov 14, 2024
bagder added a commit that referenced this issue Nov 14, 2024
Left: write unit tests to verify portions of this

Fixes #15553
Reported-by: marcos-ng on github
bagder added a commit that referenced this issue Nov 16, 2024
Regression since 3060557 (shipped in 8.9.0)

Fixes #15553
Reported-by: marcos-ng on github
@bagder bagder closed this as completed in 2dc54e3 Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

2 participants