You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Display for MAC vendors in status_dhcp_leases.php is based on a python implementation for IEEE databases.
There are two problems I see with this approach:
The files are almost always outdated, unless an update for the python package was just being done. As of 21.7.2, the database is from August 2020. Thus, many modern hardware cannot be identified.
(if you try this on your local machine, do not forget to restart the web gui via '/usr/local/etc/rc.restart_webgui')
One could improve that even more by adding some known locally administered MAC prefixes, like '52-54-00' for KVM virtual machines (VMware uses their own 'real' OUI prefixes already). This could be done by appending to oui.txt like so:
Display for MAC vendors in status_dhcp_leases.php is based on a python implementation for IEEE databases.
There are two problems I see with this approach:
Therefore, I suggest offering a way for update the database either manually or regularly. This can easily be done by:
For the second part, I suggest differentiating between "unknown" vendors and "private" MACs by changing this section in status_dhcp_leases.php:
to read:
(if you try this on your local machine, do not forget to restart the web gui via '/usr/local/etc/rc.restart_webgui')
One could improve that even more by adding some known locally administered MAC prefixes, like '52-54-00' for KVM virtual machines (VMware uses their own 'real' OUI prefixes already). This could be done by appending to oui.txt like so:
The text was updated successfully, but these errors were encountered: