-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Protocol not available #25
Comments
Well, have you checked your kernel config, do you have everything related to IPv6 enabled? |
I just ran into this too. It looks like the kernel doesn't like the socket protocol? /* RA packet may be delivered ONLY to IPPROTO_RAW socket */
if (sk->sk_type != SOCK_RAW || inet_sk(sk)->inet_num != IPPROTO_RAW)
return -ENOPROTOOPT;
if ((mld6_socket = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6)) < 0) |
Yup, seems you're right. Linux doesn't support the IPV6_ROUTER_ALERT socket option, as far as I can see -> https://code.woboq.org/linux/linux/net/ipv6/raw.c.html#do_rawv6_setsockopt I haven't checked, but I'm guessing this works on *BSD, likely originating from the KAME project. So this code, like much else in this restoration project, needs porting to Linux. Any and all help is appreciated! :-) |
Warning removed in 6a07b6b. Reasoning inline in code:
|
Runneng with archlinux:
Kernel: 5.4.24-rt15-2-rt
The text was updated successfully, but these errors were encountered: