PDA

Click to See Complete Forum and Search --> : Packet Logger / Filter


UrlGuy
May 22nd, 2005, 08:53 AM
Hi,

First of all let me try to explain the purpose of this..

I play this old game, in this game cheaters arent rare, as there are no cheat-protection for this game. Idiots also crash eachothers games by sending loads of UDP packets to the games port.

I use this packetlogging program "Commview" to log packets, to view the players names in this program along with the logged packets and their IP's. To view their ingame names I have to add 2 "text rules" in hex format to Commview. When I got their IP then I go to my firewall and block them.

But this program is taking up a large part of the CPU as of the logging, and it logs way too many unneeded packets too.

So I thought about making a "tunnel" for people to connect to.

The gameport is default at 4848 and the queryport for the game to appear on the serverlist is 25300.

Now I thought to make this program, that.. when a user join, it redirects them to this program, which again redirects them ingame, after have logged their info, and from this program be able to view connected users, and kick unwanted ones.

A program like this would have to log packets, names, be able to view/kick/ban names and IP's.

Its on UDP port.
The gameserver name is ConsoleServer.exe


I know very little about sockets and such so I need a little help here..

Until now what I have tried to do is..

I made a UDP packet logger, which were supposed to paste the incoming packets in a textfield, this didnt work.. also.. is there some way I can add hex rules to the incoming packets?
I need this as when the packets arrive, they are unreadable, so I will need these 2 lines of hex "rules" as I used in the program Commview I believe..

I am not all sure how this prog should be made but something like..

<Player>---<Tunnel>---<GameServer>

So that when a user connect, he gets to the "tunnel" which records his gamename, IP and so, and if hes banned.. refusing him to connect. This can sure be ran on a seperate port, only thing Im afraid of then is that its maybe not appearing on the serverlist.. I have been trying to get a solution for this for months now... :[

(I am kinda newb to VB =P)

Any ideas here?

Thanks m8s

UrlGuy
May 22nd, 2005, 02:41 PM
Here is a picture of my Packet logging program right now, named "Commview". =>

http://img195.echo.cx/img195/9320/com9kr.jpg


Is there any way to allow such rules when capturing UDP packets to catch up their names?

I'd want one menu on the side where IP's appear, another on the other side where the names appeared, where I would be able to view their IP there and maybe ban?, instead of using the process demanding commview 24/7.

This game doesnt have any extra software for banning and such, and I am forced to record users IP's+Names using Commview. I only see their names in cleartext after adding the "text rules" to the capturing of the UDP packets.

Game use port 4848 for clients to connect to the game, and the queryport which makes it appear on the gamelist is 25300.


Anyone help?

All helpl greatly apprecciated!!
Hope anyone can help!

Thanks in advance. :)