Visitor logs only show 192.168.1.1

 
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues
View previous topic :: View next topic  
Author Message
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Sat Jan 21, 2006 5:09 pm    Post subject: Visitor logs only show 192.168.1.1 Reply with quote

I thought I saw a post about this before, but the search is down at the moment (atleast for me).

I the PHP scripts I use to record hits and traffic logs show all visitors as coming from "192.168.1.1". Obviously that is my router forwarding the http request from the clients computer to my server.

My router is a Linksys WRT54G, is there any way to have it pass the real IP address along to my server for recording?
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Jan 22, 2006 1:04 pm    Post subject: Re: Visitor logs only show 192.168.1.1 Reply with quote

RTAdams89 wrote:
I thought I saw a post about this before, but the search is down at the moment (atleast for me).

I the PHP scripts I use to record hits and traffic logs show all visitors as coming from "192.168.1.1". Obviously that is my router forwarding the http request from the clients computer to my server.

My router is a Linksys WRT54G, is there any way to have it pass the real IP address along to my server for recording?

Routers usually do not do that (IPs are preserved after going through the router). But we recommend checking with Linksys.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Moxxnixx
-


Joined: 21 Jun 2003
Posts: 1226
Location: Florida

PostPosted: Sun Jan 22, 2006 1:11 pm    Post subject: Reply with quote

I have the same router and I don't have this problem.
What PHP script are you using? What log are you looking at?
Back to top View user's profile Send private message Visit poster's website
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Sun Jan 22, 2006 4:56 pm    Post subject: Reply with quote

Really!?

I was using BBClone http://www.hotscripts.com/Detailed/22285.html

It showed everything as coming from 192.168.1.1. Is there another counter you would recommend I try to rule out my router as the culprit?
Back to top View user's profile Send private message
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Sun Jan 22, 2006 5:12 pm    Post subject: Reply with quote

I just installed a new counter script. If you could, please go to this page:

http://rtadams89.dyndns.org:9555/test.html

Then I'll look in the scripts logs and see if it showed your ip address.

Thanks.
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Jan 22, 2006 5:14 pm    Post subject: Reply with quote

I just visited, IP should be 6x.xx.xx.xx or 82.xx.xx.xx depends how your script reads it.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Sun Jan 22, 2006 5:19 pm    Post subject: Reply with quote

This script is not showing IPs but rather domains. So far I have hits from

ResNetUser-YBorth-147. 143. 240. 39. bangor. ac. uk
cpc2-midd2-3-1-cust38. midd. cable. ntl. com
ame-broadband4-eth-36. dsl. airstreamcomm. net


Are any of those yours?
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Jan 22, 2006 5:38 pm    Post subject: Reply with quote

cpc2-midd2-3-1-cust38. midd. cable. ntl. com

Thats me.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
RTAdams89
-


Joined: 06 Nov 2005
Posts: 102

PostPosted: Sun Jan 22, 2006 6:18 pm    Post subject: Reply with quote

Ok. Well this one is working. I guess that script I started with just didn't like me.

Does anyone have a recommendation for a good visitor log script?
Back to top View user's profile Send private message
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Jan 22, 2006 6:19 pm    Post subject: Reply with quote

http://www.abyssunderground.co.uk/files/stats.zip one from my site on the downloads page. I use this one myself.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Sun Jan 22, 2006 8:34 pm    Post subject: Reply with quote

RTAdams89 wrote:
This script is not showing IPs but rather domains. So far I have hits from

ResNetUser-YBorth-147. 143. 240. 39. bangor. ac. uk


That's my DNS address. Really good to workout where I am :D.

I'm connected through the University's Residential Network (ResNetUser). I'm in the Hall Y Borth (YBorth), and it's got my current internal IP address. As well as the university's domain name.
_________________
Olly
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Networking Issues All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 phpBB Group