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 address on result #76

Open
ekuzu opened this issue Sep 18, 2021 · 7 comments
Open

mac address on result #76

ekuzu opened this issue Sep 18, 2021 · 7 comments

Comments

@ekuzu
Copy link

ekuzu commented Sep 18, 2021

Do you plan to add mac address of founded machines on results?

@eviltik
Copy link
Owner

eviltik commented Sep 20, 2021

Hi

Well. Not sure i can go under the TCP layer using nodejs without a third party module. Or perhaps i got the mac in node network layer, probably.

PR welcome ? :)

@eviltik
Copy link
Owner

eviltik commented Apr 3, 2022

Hi there, just thinking ... what is your use case ?

@michaelniemand
Copy link

We have this requirement as well. We need to distinguish if the physical machine changed. Would be a great addition!

@eviltik
Copy link
Owner

eviltik commented Apr 8, 2022

I perfectly understand the need. It make sense only on the same LAN segments. It not on the same LAN, if you try to get remote clients' MAC addresses, you'll end up with the address of a router more than likely.

Are we all agree about that ?

@michaelniemand
Copy link

oooooh damn, you're right. ICMP doesn't even contain the MAC. Phew, in that case it wouldn't make much sense at all, because it's not reliable

@eviltik
Copy link
Owner

eviltik commented Apr 8, 2022

Yep, but it can be usefull on the same LAN segment. @ekuzu what is your use case ? ty

@ekuzu
Copy link
Author

ekuzu commented Nov 25, 2023

Sorry for late response, We had same use case like @michaelniemand , MAC is the unique identifier for machine in private networks. And of course it's just useful for local network

Example;
I want to detect all open 9100 ports in our network (Printers) and save them to a database (IP, MAC, CustomName) with their MAC, if a printer has change on his IP then i can detect it easily over MAC identifier in our database and set new IP for it.

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