Forum Moderators: DixonJones

Message Too Old, No Replies

127.0.0.1 in the logs

isn't that the localhost address?

         

dataKris

6:47 pm on Aug 11, 2004 (gmt 0)

10+ Year Member



Anyone else notice this in your logs? Isn't 127.0.0.1 the ip address of the localhost.. I have no access to my server.. and I don't believe that our web hosts are that curious about our business to make an entry every day..

I use a javascript to record my logs.. so, most bots that do not read javascript will not be recorded in my logs..

any heads up? Thanks guys.

dataKris

Dreamquick

3:54 pm on Aug 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The cause of the problem might be the javascript (since it records what the client believes rather than what the server sees, but hard to say without knowing more) it's possible that someone's machine *might* think its IP address is 127.0.0.1 and so that's what you'd get in the logs.

For instance right now my machine thinks its IP address is 192.168.0.2 (if you try to look it up is listed as a non-routable address) because that's the address I'm assigned by my internal network router - my machine has no idea / need to know what IP address is shown when it talks to the internet.

- Tony

Lord Majestic

4:04 pm on Aug 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The cause of the problem might be the javascript

Surely that would only manifest itself in possible URL params set by JavaScript executed on client side, as if a new proper request is made then remote host address will be the proper IP (proxy or whatever) rather than localhost.

The only unlikely explanation that I have (apart from requests actually made locally on server) is that someone tried to spoof IPs - should not work on well secured boxes these days

dataKris

4:27 pm on Aug 13, 2004 (gmt 0)

10+ Year Member



Dreamquick & Lord Majestic,

Thank you for the posts.

I have to change my earlier post a bit. I use the javascript to capture the referring URL and a php script to capture the IP.

So, in your case, my script would capture the IP of the external router. I was worried about exactly what Lord Majestic said.. someone spoofing IPs. I am wondering if others see such instances as well.

dataKris