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

ndppd does receive locally generated neighbor discovery #69

Open
jerome-pouiller opened this issue Dec 7, 2020 · 3 comments
Open

ndppd does receive locally generated neighbor discovery #69

jerome-pouiller opened this issue Dec 7, 2020 · 3 comments

Comments

@jerome-pouiller
Copy link

Probably a limitation of the Linux network API, but ndppd seems to not handle locally generated ND:

$ ndisc6 2001:db8:2435:66a0:20d:6fff:fe20:c096 eth0
Soliciting 2001:db8:2435:66a0:20d:6fff:fe20:c096 (2001:db8:2435:66a0:20d:6fff:fe20:c096) on eth0...
Timed out.
Timed out.
Timed out.
No response.
$ ndisc6 2001:db8:2435:66a0:20d:6fff:fe20:c096 tun0
Soliciting 2001:db8:2435:66a0:20d:6fff:fe20:c096 (2001:db8:2435:66a0:20d:6fff:fe20:c096) on tun0...
Target link-layer address: 00:02:F7:F0:00:00
 from fe80::202:f7ff:fef0:0

Obviously, if I send ND from another station on the network, everything goes well.

@DanielAdolfsson
Copy link
Owner

Which version of you using? 1.x or 0.x?

@jerome-pouiller
Copy link
Author

I use the master of 0.2.x. You think it could be fixed on 1.x?

@domosekai
Copy link

domosekai commented Nov 24, 2022

@jerome-pouiller You can try my patch based on 0.x master which adds an option to allow catching outgoing packets.
domosekai@9156a80
Add outgoing yes to one and only one proxy (the default interface), or you will end up in loops.

Please note that this patch will not change the result of doing neighbor discovery on that interface (eth0) because the host is just not there. What it does is to autowire the route to the host (on tun0) so that a ping to the host can get through.

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

3 participants