Thread: Proxy IP
View Single Post
Old 08-12-2005, 10:58 AM   #2
Khadgar
New Member
 
Join Date: Mar 2003
Posts: 29
Khadgar is on a distinguished road
If only there were a way to ban the MAC address of the troublemaker, it would take care of all banning issues.  However, I heard even that can be hacked.  I do not know much about proxies, but the host would always be the same wouldn't it? Perhaps you could ban the host name (unless it is really popular).  Other than that, my only other suggestion is to have a newbban command that would ban all new players until things cool down.

I am using the following line of code to retrieve the host name of the client for banning purposes:

[code] hostent *Host = gethostbyaddr((char*)&sock.sin_addr, sizeof(sock.sin_addr), AF_INET);[/quote]
However, my players recieve a message from Nortan Internet Security saying that their client is trying to connect to a DNS server.  Is there a way to prevent this from happening?
Khadgar is offline   Reply With Quote