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

sometimes forwarding fails with EACCES #29

Open
christf opened this issue Jan 15, 2020 · 0 comments
Open

sometimes forwarding fails with EACCES #29

christf opened this issue Jan 15, 2020 · 0 comments

Comments

@christf
Copy link
Member

christf commented Jan 15, 2020

mmfd is running, sees neighbours, forwards a packet on 2 mesh interfaces. One forward works, the other sendmsg is returned with "Permission denied".

Wed Jan 15 20:18:49 2020 daemon.err mmfd[2174]: Forwarding packet from fe80::183b:50ff:fe6e:f7d9 with destaddr=ff02::1234, nonce=0x67d9a28c86778053 to fe80::1%mesh-vpn-1 [17].
Wed Jan 15 20:18:49 2020 daemon.err mmfd[2174]: Forwarding packet from fe80::183b:50ff:fe6e:f7d9 with destaddr=ff02::1234, nonce=0x67d9a28c86778053 to fe80::9%mesh-vpn-0 [18].
Wed Jan 15 20:18:49 2020 daemon.err mmfd[2174]: sendmsg on interface mesh-vpn-0 (fe80::9): Permission denied

According to the manpage this can happen

(For UDP sockets) An attempt was made to send to a network/broadcast address as though it was a unicast address.

According to the logs, this is not what is attempted here. The error condition happens in https://github.com/freifunk-gluon/mmfd/blob/master/src/main.c#L169

@christf christf changed the title sometimes forwarding failes with EACCES sometimes forwarding fails with EACCES Jan 15, 2020
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

1 participant