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
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