WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Custom Website Templates => Topic started by: n7xrd on December 31, 2016, 10:29:04 AM

Title: whos_online unknown?
Post by: n7xrd on December 31, 2016, 10:29:04 AM
I'm getting quite a few hits a day from   Guest : unknown  no IP  anyway to find out who or what this is??  or Block?
Title: Re: whos_online unknown?
Post by: Maumelle Weather on December 31, 2016, 10:59:16 AM
If you have access to your raw server logs, you should be able to match those up by time(s) and see if they need to be blocked.

John
Title: Re: whos_online unknown?
Post by: n7xrd on December 31, 2016, 11:39:57 AM
hmmm not sure if I do I will take a look in cpanel  Thanks
Title: Re: whos_online unknown?
Post by: Maumelle Weather on December 31, 2016, 11:54:47 AM
If you are unable to see them in cPanel, try looking through your FTP program you use to upload your files.
Title: Re: whos_online unknown?
Post by: n7xrd on December 31, 2016, 11:58:21 AM
I found them in cpanel just need to figure out what I am looking for!!  :-)
Title: Re: whos_online unknown?
Post by: Maumelle Weather on December 31, 2016, 12:01:41 PM
This is what one line of my logs looks like:

199.16.157.183 - - [31/Dec/2016:00:00:08 -0500] "GET / HTTP/1.1" 403 354 "-" "Twitterbot/1.0" 0 0 "off:-:-" 379 11518 192.252.144.23 salineweather.com

Hope this will help to find what you are looking at.

John
Title: Re: whos_online unknown?
Post by: n7xrd on December 31, 2016, 12:08:31 PM
Thanks for your help I found in the logs a line that says onlinehome-server.com  this is the only lines I see with no IP address attached all have /clientraw.txt  someone using my info??
Title: Re: whos_online unknown?
Post by: Maumelle Weather on December 31, 2016, 12:28:00 PM
Are you by chance with Go-Daddy?  If so, try going into your FTP program, log in like your going to upload a file and look for a folder called "logs", or its equivalent. If you find the folder, open it. There "should" be some files in there. One possibly listed like "ftp.yourwebsite-ftp_log-etc.gz", the other should list your website name with a -December2016.gz. This is the one you need. If you have that, please download it. You should be able to extract it with the built in Windows extraction or something like Win-Zip, etc.

Once finished, you should have a large file ending in a .txt extension.  I use Notepad++ to look at mine as Notepad doesn't always like the huge .txt files.
Title: Re: whos_online unknown?
Post by: n7xrd on December 31, 2016, 12:33:34 PM
Yes been looking at this file that is where I saw the onlinehome-server.com with no IP attached?  I am with Godaddy
I do see under that line mesonet conditions loader
Title: Re: whos_online unknown?
Post by: Maumelle Weather on December 31, 2016, 12:56:25 PM
Interesting. I don't believe I have ever had a visitor without an IP being listed in my logs.

Do you have an .htaccess file in your websites' root directory? This could help eliminate the extra hits from unknowns, etc.
Title: Re: whos_online unknown?
Post by: n7xrd on December 31, 2016, 01:40:30 PM
Yes I do not sure if it is setup correct but it is there.
Title: Re: whos_online unknown?
Post by: AWL on December 31, 2016, 01:47:36 PM
Think I remember reading that the script doesn't support IPv6. That might be the issue...
Title: Re: whos_online unknown?
Post by: n7xrd on December 31, 2016, 03:46:50 PM
Ahhh that could be the issue!!