[cod] tracking ips...

yuk yuk at xs4all.nl
Tue Dec 14 18:25:00 EST 2004


I think you should have a look at the program call NTOP, this can show the
network usage of a machine. I think you can extract the information you want
from this tool.

-----Oorspronkelijk bericht-----
Van: Klemen Mihevc [mailto:klemen.mihevc at siol.com] 
Verzonden: woensdag 15 december 2004 0:10
Aan: cod at icculus.org
Onderwerp: RE: [cod] tracking ips...

He wants to have somekind of stats how many people play on server from our
ISP and how many from others... dunno why and i actualy don't care :) i'm
just a server admin... i will try to phrase log file... acutaly i will give
someone to write a program.... :)

Thx


-----Original Message-----
From: Jay Vasallo [mailto:jayco1 at charter.net] 
Sent: Tuesday, December 14, 2004 11:53 PM
To: cod at icculus.org
Subject: Re: [cod] tracking ips...

All this because of your boss? Man COD is supposed to be fun. Tell him to 
buy the game.


----- Original Message ----- 
From: "Josh Berry" <games at chickenmonkey.co.uk>
To: <cod at icculus.org>
Sent: Tuesday, December 14, 2004 4:33 PM
Subject: Re: [cod] tracking ips...


> On Tuesday 14 December 2004 19:32, Ken wrote:
>> You would need to write a script that phrases the log file per IP and per
>> player. Then you would be able to get total time on and their IP.
>
> You can parse the logfile so that it gives you:
>
> - The time that a specific IP address joined
> - The time that a specific IP address disconnected
>
> Combine them and you should be able to get something like a chronological 
> list
> of when people join and leave. Then work out the period of time between a
> specific IP joining and the same IP disconnecting.
>
> I didn't say it would be easy though .. try parsing the logfile to get 
> lines
> something like:
>
> 132.123.123.123 CONNECT dd-mm-yy-hh-m-s
> 132.123.123.123 DISCONNECT dd-mm-yy-hh-m-s
>
> In a file (or a database if you know any SQL or similar) ..
>
> Josh
>
>> Yes i can get ips from log. But there is no duration or time or something
>> like that :/
>>
>>
>>
>>
>>
>>   _____
>>
>> From: Jay Vasallo [mailto:jayco1 at charter.net]
>> Sent: Tuesday, December 14, 2004 7:55 PM
>> To: cod at icculus.org
>> Subject: Re: [cod] tracking ips...
>>
>>
>>
>> You should have a games_mp.log . Haven't really opened it up, but I know 
>> in
>> other games, it shows the ip and time they connect.
>>
>> ----- Original Message -----
>>
>> From: Klemen <mailto:klemen.mihevc at siol.com>  Mihevc
>>
>> To: cod at icculus.org
>>
>> Sent: Tuesday, December 14, 2004 12:43 PM
>>
>> Subject: [cod] tracking ips...
>>
>>
>>
>> Hello,
>>
>>
>>
>> I'm running 1 CoD and 1 UO server on ISP where i work and my >boss< wanna
>> have somekind of statistics about ips connecting to different server and
>> for how long. I know log files doesn't provide this info, so i must be 
>> some
>> system trick... btw servers are on linux.
>>
>>
>>
>>
>>
>> Thx
> 






More information about the Cod mailing list