-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
luci-app-usteer: added nslookup of AP name #6829
Conversation
c053299
to
352f8f0
Compare
if anybody can test, that would be great |
applications/luci-app-usteer/root/usr/share/rpcd/acl.d/luci-app-usteer.json
Outdated
Show resolved
Hide resolved
I actually did not test IPv6. Seems the issue is that it uses a link local address, which does not appear to resolve with an nslookup. I can manually search the hosthints but well that is kinda inefficients if there is a large list... So hmmm |
It's not similar to the search for mac, ip, name, etc. of each device? |
All the other lookups are just indexed by mac address. Another issue is that all the link local addresses of the other APs are only available on the router (at least not on my setup), while the IPv4 can be made availble elsewhere via dnsmasq. So im not sure how to proceed. I could do the one for IPv4 and the other for IPv6 i suppose |
If performance is a problem, maybe you can create a new global variable starting from Hosts and indexing from IP? |
352f8f0
to
74b4579
Compare
To be honest I dont know if that is a problem, not in my setup, but not sure how it scales... Anyway I added a search in the hosthints. Give it a try |
74b4579
to
f062af3
Compare
Working perfectly!! In my case only two APs, and about 15 devices in hearing map, so I can't speak about performance. It works fast in my case. Maybe some people want to have the MAC too, not only the name. To me is enough like it is now, but only a suggestion. |
I suppose in the worst case, if someone complains for performance, exists the possibility to add a check in the hearing tab. When checked, do the translation, if not let the mac alone. |
|
f062af3
to
5b1e640
Compare
b66309d
to
e26bae7
Compare
959b8e5
to
533ffb7
Compare
533ffb7
to
6d1be65
Compare
@systemcrash Could you do a review of the code and merge if ok? |
I don't use usteer, but the code largely looks acceptable. @McGiverGim seems to verify its stability. Performance we can iterate on. |
applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
Outdated
Show resolved
Hide resolved
applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
Outdated
Show resolved
Hide resolved
applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
Outdated
Show resolved
Hide resolved
applications/luci-app-usteer/htdocs/luci-static/resources/view/usteer/usteer.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Ramon Van Gorkom <[email protected]>
6d1be65
to
7aa371e
Compare
So while I'm not a big fan of global variables like |
yes everything works as intended |
OK - thank you :) |
@systemcrash And thank you :) |
added nslookup of AP name