views:

23

answers:

1

Today I was playing Modern Warfare 2. I was hosting ground war. There were something like 20 people playing. A notoroius blatant hacker joined. I wanted to get rid of him. My idea was to start adding ports to my firewall to find him and block him out.

When I opened up netstat this is what I found. alt text

The last entry is immediately after I quit the game. The last IP shown belongs to steam.

How does MW2 hide all the incoming connections from netstat?

How can I overcome this?

+1  A: 

It'll be using UDP not TCP, so won't have fixed connections. Unfortunately you're not going to be able to find his IP from netstat for UDP; you'll have to look it up in-game.

To get more useful information from netstat, you wanted netstat -ano: that'll also show your open UDP listen sockets and the program IDs that own each one. You can then use task manager (view, select columns, add PID column) to identify which ones are owned by MW2. But UDP doesn't have fixed connections so it won't show information about who externally is using your UDP connections.

Rup
I have to be able to push information out to the players as a server. How can I find that IP info?
Paul
The MW2 server code will know it. There must be a way to query MW2 - an admin console or something? At a pinch you can install an ethernet logger such as Ethereal and watch the packets generated by the game, but I'd be very surprised if there wasn't an admin / ban interface inside the game. (But I've never played it.)
Rup
There is no admin/Ban interface. There are no interfaces at all. Infinitywar/valve made it so there is NO control by players. There are no admins. It sucks.
Paul
Ethereal looks promising. There is a lot of data collected and there appears to be an API.There must also be some kind of .NET framework to do the same thing.
Paul