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

[masque_client] Failed to enable receiving of self v4 ip on macOS #50

Open
314systems opened this issue Sep 11, 2023 · 1 comment
Open

Comments

@314systems
Copy link

Environment: macOS 14.0 Beta (23A5337a), Xcode 15 beta 8, bazel 6.3.2

I received the following error when executing the following command:

$ ./bazel-bin/quiche/masque_client <$PROXY_HOST:$PROXY_PORT> https://quic.rocks:4433 \
> --disable_certificate_verification=true
E0911 11:22:48.963996       1 quic_udp_socket_posix.inc:219] Failed to enable receiving of self v4 ip
E0911 11:22:48.964022       1 masque_client_tools.cc:91] Failed to initialize MasqueEncapsulatedClient for https://quic.rocks:4433

However, adding --dns_on_client=true --address_family=4 at the end makes this problem free:

$ ./bazel-bin/quiche/masque_client <$PROXY_HOST:$PROXY_PORT> https://quic.rocks:4433 \
> --disable_certificate_verification=true \
> --dns_on_client=true \
> --address_family=4
$ echo "there is no error"
@DavidSchinazi
Copy link
Collaborator

That's odd. It appears to be working for me on macOS 13.6, Xcode 14.3.1, bazel 6.3.2 - would you be able to test on macOS 13 by any chance? Since this failure is caused by a call to setsockopt(fd, IPPROTO_IP, IP_PKTINFO) failing, it could be due to a change inside macOS between macOS 13 and 14.

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

No branches or pull requests

2 participants