PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Is there any way to be able to log a specific computer from something that doesnt change?
ip changes (or proxys hide them)
Getting the MAC adress would be ideal, I'm not sure if its possible tho.
What do you suggest?
I didn't realize how easy it was to change your mac address on a linux box until just now, couldn't you just hijack all of someone network data by changing your macaddress to theirs? Seems to easy to be true, but...
Many people want mac addresses to for example avoid multiple registrations on websites, etc. By storing the mac address, the user would need to use a different machine for each account (unless they knew about changing mac's)
Todd_Z wrote:I didn't realize how easy it was to change your mac address on a linux box until just now, couldn't you just hijack all of someone network data by changing your macaddress to theirs? Seems to easy to be true, but...
Luckily no, spoofing someone's MAC address isn't much of a problem except on things like wireless networks that use MAC filtering to identify users, etc.
brendandonhue wrote:
Luckily no, spoofing someone's MAC address isn't much of a problem except on things like wireless networks that use MAC filtering to identify users, etc.
Only if the wireless network does not tie the MAC to the system name. I know some wireless networks tie the mac address to the system name to avoid mac spoofing.
Sorry, off topic but none the less, a bit on topic.
bokehman wrote:Why do so many people want this? Don't they realise the web is supposed to be an annonomous medium unless the client allows otherwise?
If this is an internal network, it's officially an intranet not an internet - original intentions get thrown out the window.
As has been said, there's no way to get the MAC address of someone. However, if you're running this script on the same box as the one handing out IPs, you can parse the dhcp.leases file to get the MAC.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.