[raknet] Version 2.221 released

  • From: "Kevin Jenkins" <rakkar@xxxxxxxxxxxxxx>
  • To: <raknet@xxxxxxxxxxxxx>
  • Date: Sat, 17 Jul 2004 17:03:02 -0700

This is probably the fastest update in history, but 2.221 has been released.
I found a significant bug with the DNO system that had to be fixed
immediately.

I also added a ban system to the server and peer.  It's simple but effective

void AddToBanList(const char *IP);
void RemoveFromBanList(const char *IP);
void ClearBanList(void);
bool IsBanned(const char *IP);

IP can be an IP address and can also take a * as a wildcard.  Usually you
will ban the last segment of an IP in case someone has a dynamic IP such as

AddToBanList("123.23.23.*");

This is more effective than what you can accomplish in the context of your
game (i.e. checking a list on ID_NEW_INCOMING_CONNECTION ) because it never
allows the connection to complete in the first place.

If a client or peer attempts to connect and is banned, they will get
ID_CONNECTION_BANNED.


Other related posts: