HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


question about reported IP's...

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#77652 (In Topic #15971)
Avatar

Community saint

Of course ocPortal logs IP's for all visitors.  On occasion I see one like this:  "66.249.67.*"

What does that mean?   The software could not figure out the last digit?  

Paul
Back to the top
 
Posted
Rating:
#77653
Avatar

Sessions are bound against a range like that, because IPs on some local networks (esp AOL, at least at one time) can jump around a lot.
Users-online is tied to sessions, so will report it in this way.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#77654
Avatar

Community saint

So if you are looking into 'who' it is, you can just put any digits in for the last number?


Paul
Back to the top
 
Posted
Rating:
#77655
Avatar

Hmm, where are you seeing it exactly? If it's users-online, I thought that already linked through to an IP search automatically? Or is it somewhere else?


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#77656
Avatar

Community saint

Go to users online, it shows 'guest' and an ip address like show in the first post.  if you click on the ip to invesitage it shows it still like in the first post, and if you reverseDNS search it, it comes as an error for having the * in it.

Paul
Back to the top
 
Posted
Rating:
#77662
Avatar

Ah, I can see that now.

Attached is a patch to let the lookup tool support wildcards.

Attachment
sources/lookup.php
» Download: lookup.php (8 Kb, 86 downloads so far)


And for the onlinemembers module to try and resolve wildcards to known IPs from the stats module (currently it could only do it on a session basis, but that only necessarilyworks with cookie-supporting agents)

Attachment
site/pages/modules/onlinemembers.php
» Download: onlinemembers.php (4 Kb, 78 downloads so far)


I haven't tested these files work on v7.1.x but they probably will.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#77664
Avatar

Community saint

Thanks Chris.  Will give it a go tomorrow (gonna be a long long day at work  today).

Paul
Back to the top
 
Posted
Rating:
#77677
Avatar

Community saint

Chris Graham said

Ah, I can see that now.

Attached is a patch to let the lookup tool support wildcards.

Attachment
sources/lookup.php
» Download: lookup.php (8 Kb, 86 downloads so far)


And for the onlinemembers module to try and resolve wildcards to known IPs from the stats module (currently it could only do it on a session basis, but that only necessarilyworks with cookie-supporting agents)

Attachment
site/pages/modules/onlinemembers.php
» Download: onlinemembers.php (4 Kb, 78 downloads so far)


I haven't tested these files work on v7.1.x but they probably will.

Not sure these are working in 7.1.5 given limited testing. I'll test some more throughout the day.

However, the change to show the browser user-agent is a real plus to me already.



Bob
Back to the top
 
Posted
Rating:
#77689
Avatar

Community saint

The following is the results with version 7.1.5.

After using the the updates throughout the day,  the Reverse-DNS/WHOIS just goes to a 404 page and the Geo-Lokup just delivers the user's information.

The Onlinemembers still shows the wild carded entries and I've not seen any evidence that wildcards were resolved.

So, it appears these fixes will require v8.

But, I do like having the user-agent immediately available. It clues you in on useful information including watching for bots to ban in robot.txt or ,htaccess, if required.

Bob
Back to the top
 
Posted
Rating:
#77791
Avatar

Community saint

Finally added these to the proper *_custom directory.

I haven't seen a wildcarded ip in the online user list yet.   But my whos and geo-lookup all function properly.

I do like the user-agent stuff in the listing as well.  

Thanks again.

Paul
Back to the top
 
Posted
Rating:
#77810
Avatar

Community saint

Arbo-

I think these belong in the non-custom directories as they are the drop-in replacements from v8.

Then again, maybe I am mistaken because I still am getting wildcards in the online users list and those IPs still do not resolve in the WhoIs or Geo-Lookup (not that I expect them to if the wirdcar appears in the users list).

Bob
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: