Re: Pass the Client IP address for Web Publishing Rules

  • From: "Jim Harrison" <jim@xxxxxxxxxxxx>
  • To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
  • Date: Fri, 27 Feb 2004 10:57:35 -0800

Granted, I haven't personally tested this yet...

He chose to add an "x_forwarded_for" header rather than modifying the 
user-agent header proviuded by the client.
You're supposed to be able to get it in your ASP, not in the logs.

You'd make a request something like:
clientip = request.servervariables("X_FORWARDED_FOR") and then use the value in 
"clientip" as thou choose.


 Jim Harrison
 MCP(NT4, W2K), A+, Network+, PCG
 http://www.microsoft.com/isaserver
 http://isaserver.org/Jim_Harrison
 http://isatools.org

 Read the help, books and articles!
----- Original Message ----- 
From: "Steve Moffat" <steve@xxxxxxxxxxxxxxxxxxxxxxxxxx>
To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
Sent: Friday, February 27, 2004 08:55
Subject: [isalist] Re: Pass the Client IP address for Web Publishing Rules


http://www.ISAserver.org

So Uncle Jim

How in the name of the wee man do I see/get the results of this filter


Steve 

-----Original Message-----
From: Steve Moffat [mailto:steve@xxxxxxxxxxxxxxxxxxxxxxxxxx] 
Sent: Thursday, February 26, 2004 2:33 PM
To: Isa Weblist
Subject: [isalist] Re: Pass the Client IP address for Web Publishing
Rules

http://www.ISAserver.org

Ahhhhh.....that just shows how much I know...:((  LOL

Thanks Jim 

-----Original Message-----
From: Jim Harrison [mailto:jim@xxxxxxxxxxxx]
Sent: Thursday, February 26, 2004 2:10 PM
To: Isa Weblist
Subject: [isalist] Re: Pass the Client IP address for Web Publishing
Rules

http://www.ISAserver.org

Yasilly; you aren't going to change the IIS logging.
It still sees the ISA as the client.
What that dll is supposed to do is add headers that include the "real"
client IP so that your ASP can access them using
request.servervariables("HTTP_X_FORWARDED_FOR").

 Jim Harrison
 MCP(NT4, W2K), A+, Network+, PCG
 http://www.microsoft.com/isaserver
 http://isaserver.org/Jim_Harrison
 http://isatools.org

 Read the help, books and articles!
----- Original Message -----
From: "Stefano Peduzzi" <stefano.peduzzi@xxxxxxxxxxxxx>
To: "[ISAserver.org Discussion List]" <isalist@xxxxxxxxxxxxx>
Sent: Thursday, February 26, 2004 08:48
Subject: [isalist] Re: Pass the Client IP address for Web Publishing
Rules


http://www.ISAserver.org

MessageHi List,
I installed the dll (copied in ISA folder and the registered with
regsrv32) and restarted ISA (actually restarted the server!) but I can't
see the debug file c:\isapidbg.txt and my web server log (IIS published
with web publishing) still give me the ugly ISA Server as C-IP.
Anyone with different results???

Ops.. I gave another look at the documentation and it seems that you can
access the client ip value with the server variable
HTTP_X_FORWARDED_FOR.. does that mean that I can't have the ip address
in the C-IP field in the log? (...probably a stupid
question...)

Stefano
  ----- Original Message -----
  From: Thomas W Shinder
  To: [ISAserver.org Discussion List]
  Cc: Thomas W Shinder
  Sent: Thursday, February 26, 2004 2:31 AM
  Subject: [isalist] Pass the Client IP address for Web Publishing Rules


  http://www.ISAserver.org

  Thanks to Jim for pointing out this great info over at his
www.isatools.org Web site:

  gISAPI MS ISA filter - s0nic World Portal | Forums | Downloads
(Binaries):
http://www.s0nic.hostinguk.com/topic.asp?TOPIC_ID=82&FORUM_ID=21&CAT_ID=
6&Forum_Title=Downloads+(Binaries)&Topic_Title=gISAPI+MS+ISA+filter



Other related posts: