M
M
Mazino2020-01-28 19:04:50
Computer networks
Mazino, 2020-01-28 19:04:50

How to see mac client on web server?

Is it possible to see on a web server like nodejs or another mac the address from which the request came from?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
H
hint000, 2020-01-29
@Mazino

hotspot crutch

my case involves using this within the same network

Under these conditions, it is enough to execute the arp system command on the web server and filter the output by the known ip address of the client. The bottom line is that the operating system stores a table of correspondence between mac and ip addresses (arp table). It stores the addresses of hosts with which there was some kind of information exchange over the network. The arp command will simply output the table, arp -n to not try to resolve addresses to hostnames.

K
ky0, 2020-01-28
@ky0

Mac reaches the first router, and even then not always. It is lower in OSI layers than web servers.

V
Vladimir Korotenko, 2020-01-28
@firedragon

This is possible if you use one of these
https://stackoverflow.com/questions/3385/mac-addre...
Or a native client.
or WebRTC, there really shines an internal address in the network, but the same thing.
But the general trend is this. Only Giants want to spy on clients, and they push everyone aside

C
CityCat4, 2020-01-28
@CityCat4

No way. Before starting nonsense, you should probably read what MAC is, what the hell is it and why is it visible only within the local network segment. In addition, I will disappoint you to the point of impossibility - MAC is changing! In virtual machines, in general, with one button, in some network networks - through the settings.

V
Vadim Priluzkiy, 2020-01-29
@Oxyd

No way. Learn how the network stack works in the TCP / IP model.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question