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

Mac parsing/lookup #54

Open
cr1tbit opened this issue Jan 28, 2024 · 3 comments
Open

Mac parsing/lookup #54

cr1tbit opened this issue Jan 28, 2024 · 3 comments
Assignees
Labels
good first issue Good for newcomers

Comments

@cr1tbit
Copy link

cr1tbit commented Jan 28, 2024

you can parse the first 3 octets to detect the manufacturer of a device. I have a PoC that uses JSON database file to map the MACs to manufacturers.

Also, then you can assign ESP label automatically lel

@cr1tbit cr1tbit added the good first issue Good for newcomers label Jan 28, 2024
@LiquidLemon LiquidLemon self-assigned this Mar 20, 2024
@LiquidLemon LiquidLemon moved this to Backlog in whohacks Mar 20, 2024
@LiquidLemon LiquidLemon moved this from Backlog to Ready in whohacks Mar 20, 2024
@not7cd
Copy link
Contributor

not7cd commented Mar 21, 2024

Is there a database of manufacturers?

@cr1tbit
Copy link
Author

cr1tbit commented Mar 24, 2024

For example https://maclookup.app/ allows getting the static database. From what I remember (checked 2 years ago) their license is permissive enough, though I don't want their .csv in our repo.

Preferably the app should not be tied to any specific MAC database - @LiquidLemon suggested importing the content into an SQL database, if I remember correctly. We could put the importer tool for this specific database in the repo.

PoC for reference: https://github.com/hspsh/whois-mqtt

@cr1tbit
Copy link
Author

cr1tbit commented Mar 24, 2024

Another cool improvement would be aggregating some vendors group into rough categories (notebooks, smartphones, smart fridges, etc). I don't know how feasible this is though.

I have a dream - whois should list each and every stupid IoT device as a smart fridge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Ready
Development

No branches or pull requests

3 participants