Top Mud Sites Forum Return to
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Thread Tools
Old 02-11-2003, 12:21 AM   #1
Join Date: Apr 2002
Location: Chicago, Illinois
Posts: 152
Terloch is on a distinguished road
Has anyone out there figured out how to track a MAC address as well as the IP address of a socket? Or any sort of identifier from a NAT packet?

I'm having issues with certain players with lots of IP addresses and I would much rather just get rid of them by their MAC address but I don't even know if that's possible...

Drop me a personal note, or a response on here if you have done this, or have ideas on how it might be done...

Terloch is offline   Reply With Quote
Old 02-11-2003, 07:56 AM   #2
Senior Member
Xerihae's Avatar
Join Date: Oct 2002
Name: Chris
Location: Wolverhampton, UK
Posts: 358
Xerihae will become famous soon enough

I'm no expert, and I can't explain the details, but I'm sure I once read a post from someone who asked a similar question. The repsonse seemed to be tha ISP's will NOT allow you to get a hold of MAC addresses, period. Someone wrote the code to do it then found out the ISP blocked it completely. I've no doubt someone else will be able to elaborate on this for you.
Xerihae is offline   Reply With Quote
Old 02-11-2003, 08:45 AM   #3
Yui Unifex
Senior Member
Join Date: Apr 2002
Location: Florida
Posts: 323
Yui Unifex is on a distinguished road
Send a message via ICQ to Yui Unifex Send a message via AIM to Yui Unifex

The only uniquely identifiable information you can use is the IP address. MACs cannot be used to identify because dialup users would be able to change them as easily as they can change IPs, as the MAC they receive is the device they're connected to, not their own device. There are similar problems for other connections. The lookups to find these addresses are generally not routable, so they won't go across the internet. Even if all of these problems were surmounted, it's trivially easy to change the MAC address of your device.

NAT boxes do not have a particular signature that they place on packets -- they only work by keeping track of connections and translating/retransmitting the packet with the source addresses fixed to the NAT box address, and vice versa. Everything they do is transparent to the external connection.

Your best bet is to find some sort of IP-based solution.
Yui Unifex is offline   Reply With Quote
Old 02-11-2003, 09:46 AM   #4
Posts: n/a
Tried contacting an ISP (abuse@...)or banning a whole subnet?
  Reply With Quote
Old 02-11-2003, 11:48 AM   #5
Join Date: Apr 2002
Location: Chicago, Illinois
Posts: 152
Terloch is on a distinguished road
Oh an email will be going to abuse tonight when I get home, but the problem we have now is that the first socket (a DSL connection) was banned, and the person has moved to the great stan of ISP's, and I honestly don't want to ban 10-15 regular players who are also *shudder* using the great satan of ISP's...
Terloch is offline   Reply With Quote
Old 02-11-2003, 02:42 PM   #6
Senior Member
Join Date: Oct 2002
Posts: 310
shadowfyr will become famous soon enough
You may have to. The mud I play on got tired of idiots logging on every few days that A) woudn't accept being banned, B) refused to read help files (specifically edicate and law related ones), C) refused to follow the rules when they did know them and D) cussed out the admin when they talked to the players. Result: If you had an account from AOL, you can still use it, but no new characters from there are possible 'ever', even if you are a current player.

Not sure if you can only ban new players like AoD did, but as bad of a solution as it is, the key issue came down to AOL = 90% of all users, which = 90% of all idiots that logged in. A very simple if ackward equation when considered the potential player base you end up losing. The alternative though unless you run a mud you have to pay to play...
shadowfyr is offline   Reply With Quote
Old 02-11-2003, 02:43 PM   #7
Robbert's Avatar
Join Date: Apr 2002
Location: #### Paso, Tx
Posts: 89
Robbert is on a distinguished road
Send a message via ICQ to Robbert Send a message via AIM to Robbert
MAC addresses aren't even truly tracked by the ISP, because the MAC address of the individual's NIC card is overwritten with the MAC address of the first routing device on the link, and subsequently overwritten each step of the way.

In other words, the information is -there-, but only to the last hop on the path, which can potentially change with each packet sent in TCP/IP protocol. It should conceivably remain static to the last location with UDP, but UDP connection paths are only guaranteed for the duration of the connection - so someone could simply reconnect to the game and (very likely) secure a new MAC address.

The sad fact is, TCP/IP was never written to do more than pass information along a path - its conceivers never accounted for the possibility that morons and losers would eventually pervade the (then) geek-domain of the web.

My solution, after discovering the futility of tracking the MAC, is to ban the ISP. If someone from that ISP wants to connect to the game, they must have the ISP contact me and assure me that they will be proactive with dealing with abusers; if they do not give that assurance, their ISP remains banned.

A possible solution is to write your own client, which then can query either a)the MAC address of the NIC card on the users computer or b)the CPU ID#. MAC addresses can be spoofed, but the user who knows how to do this also likely is mature enough to not act up. If they are not, then you aren't going to find any simple way to prevent them from accessing your game, either.

I've also found that a single-strike approach is worthwhile - if someone breaks the rules, remove them from the game. It's much simpler than dealing with punishments and tracking who has done what. If they violate your rules, remove them from the game. Harsh? Probably. But it's your game, so your rules. If they don't like it, they don't need to connect.

Robbert is offline   Reply With Quote
Old 02-11-2003, 03:12 PM   #8
Join Date: Apr 2002
Location: Chicago, Illinois
Posts: 152
Terloch is on a distinguished road
The person in question was removed, entirely, every character, and his "normal" socket is banned, but now of course he feels the need to make an ass out of himself like it's some personal vendetta to make my life difficult...oh well, I guess after 5-6 years I should be used to it, right?
Terloch is offline   Reply With Quote

Thread Tools

Expanded socket/IP/NIC tracking anyone? - Similar Threads
Thread Thread Starter Forum Replies Last Post
Data Tracking Trevalen MUD Administration 4 05-15-2006 01:37 PM
C++ socket code available Teelf MUD Announcements 2 06-23-2003 11:06 AM
Tracking/Hunting Mobs karlan MUD Coding 5 05-21-2003 09:59 AM
expanded advanced mud search Burr Bugs and Suggestions 0 05-24-2002 08:44 PM
Burly socket modifications? Terloch MUD Coding 1 05-17-2002 10:06 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 05:09 PM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud 2014