IP Lookup [please read]

Something else for Armagetron? Goody!
Post Reply
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

IP Lookup [please read]

Post by AI-team »

Hey,
it's me again!

Don't worry, I am not trying to bring the IP Lookup back :D
Well in some way I am actually bringing it back :o

I think a lot of you (especially the server admins out there) liked the idea behind the IP Lookup.
And so I decided to implement some more ways to authenticate and share my IP Lookup script.
Here's the link to the github page: https://github.com/picnik10/aa_ip-lookup

Right now you can authenticate using MySQL or plain password/user storage.
At the moment, there are 2 things on my TO-DO list:
Feature: Authentication using PHPBB ( ~ giving all forum admins access to the IP Lookup ).
Bug: When a username has spaces in it, not the hole username but only a part is shown.

I've also set up a little demo page:
http://trongame.de/demo/index.php , username/password is "test"
Demo IP is "88.66.207.3", the log doesn't contain any other entries ;)

Cya on the grid o/
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: IP Lookup [please read]

Post by INW »

When a server is created, logs from the server are also created.

I'm sure there is a simple script created that can take the login IP's (when a user enters the server, it displays the IP) and match them with the user who entered the server? Instead of manually searching threw hundreds of pages of logs.

I wish I could do that :|
scene
Core Dumper
Posts: 128
Joined: Fri Aug 14, 2009 4:58 am

Re: IP Lookup [please read]

Post by scene »

INW wrote:When a server is created, logs from the server are also created.

I'm sure there is a simple script created that can take the login IP's (when a user enters the server, it displays the IP) and match them with the user who entered the server? Instead of manually searching threw hundreds of pages of logs.

I wish I could do that :|
Like this script? http://forums3.armagetronad.net/viewtop ... er#p247104
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: IP Lookup [please read]

Post by INW »

Not entirely, but it is close.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: IP Lookup [please read]

Post by AI-team »

So when I enter a name the scripts looks for the IPs matching the name and uses them to search for other aliases of that player;
is that what you mean?
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: IP Lookup [please read]

Post by INW »

Well. I name is entered into a script that then searches all of the logs files provided and matches the name with the IP.
If no IP is found, similar names with those IP's are then displayed.

A way to pick up IP's and names from simple server log files.
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: IP Lookup [please read]

Post by AI-team »

Isn't that exactly what I said before? o_O
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
INW
Reverse Outside Corner Grinder
Posts: 1950
Joined: Tue Jul 07, 2009 4:10 pm
Location: Charlotte, NC, USA

Re: IP Lookup [please read]

Post by INW »

I thought your script works off of the files shown in the example from that other topic.

I was talking about the log files where it shows a login from an IP, then the user's name will show slightly down the log.

The difference was the type of files with the IP's.

I guess it doesn't make a difference?
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: IP Lookup [please read]

Post by AI-team »

INW wrote:I guess it doesn't make a difference?
I don't think so.

Anyway, now you can search for a players name ("pru") and it will return all entries matching player's IP

Demo is already updated:
http://trongame.de/demo/index.php
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: IP Lookup [please read]

Post by dukevin »

Very nice AI :) But when I search for player "duke" it says that I am AI?

I did make several changes to mine. One feature I do have planned is to add a log that keeps track of everyone who uses the checker. For example, "76.174.69.46 has looked up "player1" on Aug 24".
I think it will keep people more honest and not abusively use the checkuser, only use it on people who troll.
Here's a version that I'm working on, it works best on IPs, but if you look up an alias, it will give you their IP which you can then look up. Still a work in progress.

http://209.141.56.244/checkuser/master.php
Image
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: IP Lookup [please read]

Post by AI-team »

dukevin wrote:But when I search for player "duke" it says that I am AI?
I never noticed that, thanks a lot :) It's fixed now.
dukevin wrote: I did make several changes to mine. One feature I do have planned is to add a log that keeps track of everyone who uses the checker. For example, "76.174.69.46 has looked up "player1" on Aug 24".
I think it will keep people more honest and not abusively use the checkuser, only use it on people who troll.
Nice idea, I might add this as an option.
dukevin wrote: Here's a version that I'm working on, it works best on IPs, but if you look up an alias, it will give you their IP which you can then look up. Still a work in progress.
You might just do it like I did ;)
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: IP Lookup [please read]

Post by AI-team »

Alright, another update:

Added support for PHPBB Authentication.
Fixed the bug, where players with a space in the name wouldn't be displayed.
Improved the search mechanism.
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
Ratchet
Match Winner
Posts: 779
Joined: Sat Mar 15, 2008 5:55 am

Re: IP Lookup [please read]

Post by Ratchet »

Ratchet core dumped The Project for 30 points.
Image
"Dream as if you'll live forever,
Live as if you'll die today." -James Dean
User avatar
vov
Match Winner
Posts: 568
Joined: Thu Feb 17, 2011 8:40 pm

Re: IP Lookup [please read]

Post by vov »

*The Project complains about lag.*
User avatar
Ratchet
Match Winner
Posts: 779
Joined: Sat Mar 15, 2008 5:55 am

Re: IP Lookup [please read]

Post by Ratchet »

Ratchet: Haha! You noob! Go practice in a Local Game, instead of giving me free points. Muahaha!
Image
"Dream as if you'll live forever,
Live as if you'll die today." -James Dean
Post Reply