Re: [squid-users] RE: SQUID PAC-File and JAVA (1.6.11) SOLVED?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 18 Aug 2009 11:35:53 +0200

tis 2009-08-18 klockan 03:23 -0500 skrev Bill Allison:

> For example, on a Windoze client (XP-SP3 at least) on VPN, the
> javascript function myIPAddress() will return the IP address of the
> *outside* of the tunnel

Yes, and a number of other similar situations as well.

My general recommendation is to code the needd myIPAddress logics on the
server side instead if possible. I.e. have the PAC served by a webserver
script, using REMOTE_ADDRESS as input determining where the client is
located. But that obviously won't work very well on roadwarrior
clients..

Regards
Henrik
Received on Tue Aug 18 2009 - 09:36:32 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 18 2009 - 12:00:03 MDT