FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Lookup zip by IP address
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Lookup zip by IP address [message #172990 is a reply to message #172989] Tue, 15 March 2011 00:25 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Roy Smith wrote:
> The Natural Philosopher <tnp(at)invalid(dot)invalid> wrote:
>
>>> Most web applications maintain some state in a browser cookie which they
>>> use to establish session continuity across multiple HTTP requests. Each
>>> of those HTTP requests uses a new TCP connection.
>> Not always, as I understand it.
>>
>> http://en.wikipedia.org/wiki/HTTP_persistent_connection
>
> I omitted that because it seemed like an unnecessary complication to the
> discussion. You are, however, absolutely correct that it is possible.
> I really should have tossed "(in general)" in there somewhere.

I think its actual default behaviour these days, but I am not sure
enough to make that an assertion.
>
>>> On a host with multiple interfaces (or a mobile host),
>> Or a DHCP client that goes 'off line' briefly..
>
> Yup, that's another scenario where a machine could change IP addresses.
> It's pretty common, however, for DHCP servers to give the same IP
> address back to a given host (identified by MAC address) when it asks
> for a new one.
>
> I missed the beginning of this thread, but just looking at the subject
> line, I should mention one other concept. Even with geolocation
> databases, all you really know from the client's IP address is where
> egress router is (assuming the client is behind a NAT or something
> similar). For example, I used to work at a place that had a corporate
> VPN. I'm located in New York, but when I was on the VPN, to an external
> web server, my IP address looked like it was in Massachusetts because
> that's where corporate headquarters were and thus where the VPN
> connected to the outside world. So, if I was on the VPN and went to
> moviephone.com, it would show me what movies were playing in the
> Hopkinton area.

Indeed. Here in the UK all broadband is tunneled over a PPP over ATM
backhaul link. Those in general terminate either in London, or in maybe
Manchester or Glasgow, IIRC

Reverse lookup codes TEND to reveal where your ISP's HQ is registered -
unless you have a registered corporate IP address - , not where the
lines even terminate.

Manual tracerouting to the target is often the best way to guess where
the connection comes from, but even that is no guarantee of anything,
for the reasons you give.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem getting session through CURL
Next Topic: How to call external php script from html?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 23:08:31 GMT 2024

Total time taken to generate the page: 0.03879 seconds