Closed nomis closed 3 years ago
Is this still needed? Has the OnePlus 5 been updated to fix this issue? It seems very specific to add RADVD handling for a broken NDP implementation on a phone. I'd much rather see a fix for the phone than a workaround in RADVD.
OnePlus will never fix this. It is nearly impossible to get them to fix anything.
Even with this change I need to run radvd twice on the same interface. At a minimum it needs to be possible to run fully unicast and then block the OnePlus somewhere.
@stappersg @Neustradamus Can you give this PR a look? I'm on the same fence as @reubenhwk: it would be nice if the clients did the right thing, but we have no way to force it, esp for old clients.
@nomis can you write tests to go with it please?
This adds an
UnrestrictedUnicast
option to allow radvd to respond to unicast solicitations from unknown clients and a!
prefix to the client address to stop radvd responding to specific clients.Config file parsing could probably be better, but
!
is recognised as a string... perhaps anignored_clients { }
section or a string suffix likeclients { fe80::fedc:baff:fe98:7654 ignored; }
would be better?