PHPee.com PHP development forum
Replace traceroute with whois

 
Post new topic   Reply to topic    phpee.com Forum Index -> Phlogger3 feature requests
View previous topic :: View next topic  
Author Message
max2000



Joined: 20 Jan 2004
Posts: 26
Location: IT

PostPosted: Thu Jan 22, 2004 4:13 pm    Post subject: Replace traceroute with whois Reply with quote
when i look to the list of visitors i see a lot of numeric ip addresses, they are not listed in the statistics by country and i cannot see where they come from, so if i want to know i have to copy/paste the address to a tool like shown on http://vademecum.aruba.it/start/geo/geo_ip_ris.asp (but i am sure there are much more detailed versions)

My question is, would be better to have a tool like this instead of the traceroute (if it is too much work to add instead of replace)?
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 1013
Location: London, UK

PostPosted: Thu Jan 22, 2004 5:19 pm    Post subject: Reply with quote
Maybe it would be worht having both available. An intelligent version would show the whois for IPs and traceroute for domains...

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
lionel
Moderator


Joined: 09 Dec 2003
Posts: 149
Location: Costa Blanca, Spain

PostPosted: Thu Jan 22, 2004 7:40 pm    Post subject: Reply with quote
is use whois.sc for my whois needs and just caught they're line for processing the domain for example:



any use for that? i'm sure in php you could have the domain replaced by whatever domain you are currently looking at in your logs?
gotta learn me some php Smile

lionel
Back to top
View user's profile Send private message Visit poster's website
max2000



Joined: 20 Jan 2004
Posts: 26
Location: IT

PostPosted: Fri Jan 23, 2004 12:30 am    Post subject: Reply with quote
great tool thanks, can be used in this format
http://www.whois.sc/66.217.71.222
Back to top
View user's profile Send private message
steve



Joined: 16 Nov 2003
Posts: 15

PostPosted: Fri Jan 23, 2004 9:37 pm    Post subject: Reply with quote
max2000 wrote:
great tool thanks, can be used in this format
http://www.whois.sc/66.217.71.222
This means that you can easily implement this yourself if you don't mind editing the database (phpMyAdmin makes this easy). Just click on the visitor and a new window will open with the information.

Look in the pphl_settings table for traceroute and replace the text there by
Code:
http://www.whois.sc/

PPhlogger will add the IP address on the end for you. You can use any system with text that ends in an IP address. For example I use
Code:
http://www.ripe.net/perl/whois?form_type=simple&full_query_string=&searchtext=
Back to top
View user's profile Send private message
max2000



Joined: 20 Jan 2004
Posts: 26
Location: IT

PostPosted: Fri Jan 23, 2004 10:08 pm    Post subject: Reply with quote
thanks for the suggestion steve but i am just a user not an admin, your suggestion is good for others anyway.

Now i want to bother you about the traceroute in case it remain in the new version, if i am correct it starts from the server's ip, is it possible to capture user ip and trace route from there?
Back to top
View user's profile Send private message
steve



Joined: 16 Nov 2003
Posts: 15

PostPosted: Fri Jan 23, 2004 10:31 pm    Post subject: Reply with quote
I'm not sure about this. It does give the user's IP address where possible (if I visit from home then it gives my home IP) but I presume that in an organisation users are hidden behind the server for security reasons.
Perhaps others can shed light on this.
Back to top
View user's profile Send private message
lionel
Moderator


Joined: 09 Dec 2003
Posts: 149
Location: Costa Blanca, Spain

PostPosted: Fri Jan 23, 2004 10:45 pm    Post subject: Reply with quote
hey david,

would what steve said work to replace the traceroute function for whois(not that i doubt you mate:) ), or would it just be easier to change the traceroute url to http://www.whois.sc/, if it did i think i would like to offer my users that option, i certianly use whois more than traceroute.

lionel

/edit

i just went and tried it and replacing the traceroute url in setup with the whois does work Smile
Back to top
View user's profile Send private message Visit poster's website
steve



Joined: 16 Nov 2003
Posts: 15

PostPosted: Fri Jan 23, 2004 11:21 pm    Post subject: Reply with quote
Silly me! There's no need to play with the database. Changing Traceroute URL in setup ( http://path_to_pphlogger/admin/setup.php?action=2 ) is the way to do it.
Back to top
View user's profile Send private message
kramer



Joined: 25 Mar 2004
Posts: 1

PostPosted: Thu Mar 25, 2004 5:12 pm    Post subject: Reply with quote
Yes, traceroute isn't very useful. An automatic IP registry look-up would be VERY useful. A setup option should select the primary IP registry to use (likely user set to the regional IP registry from a pull-down menu).

Thanks!

Jonathan Kramer
Back to top
View user's profile Send private message
sdjl
Moderator


Joined: 17 Nov 2003
Posts: 1013
Location: London, UK

PostPosted: Thu Mar 25, 2004 6:43 pm    Post subject: Reply with quote
You can do an IP whois yourself by changing in setup.php to the following:

http://www.samspade.org/t/ipwhois?a=

David
_________________
-----
Free Logger Accounts | PPHlogger Manual | PM Me
Back to top
View user's profile Send private message Visit poster's website
deXar



Joined: 01 Mar 2004
Posts: 16
Location: Turkiye

PostPosted: Sun Oct 31, 2004 7:18 pm    Post subject: Reply with quote
ripe is excellent..
Back to top
View user's profile Send private message
Post new topic   Reply to topic    phpee.com Forum Index -> Phlogger3 feature requests All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Theme design based on Team 101 Designs, modified by Philip Iezzi