Re: Getting Ip address of the actual client



The network device doing the redirection needs to preserve/forward this
information. If it does not, then obviously there is no way for the server
application to get that information. This is how the anonymous Internet
works.

So, the real question is whether the network device doing the forwarding
preserves this information.

For example, this sample ISAPI Filter code will log the private IP address
*assuming* the network redirecting device forwards that original IP on the
redirected Request.
http://blogs.msdn.com/david.wang/archive/2005/09/28/HOWTO_ISAPI_Filter_which_Logs_original_Client_IP_for_Load_Balanced_IIS_Servers.aspx

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Hariprasad" <Hariprasad@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:0E25A2EA-7DC3-4B01-A78E-2FC96BF88A07@xxxxxxxxxxxxxxxx
How can I get IP address of the requested client?

When I am using request.servervariables('remote_addr'), I am getting
public
IP, but not the actual client IP.
My application is hosted on public IP 202.63.107.242, and through IP
forwarding it was being redirected to 192.168.100.147. How to get the
requested client's private IP address, if the requestor is within the
organisation (there is a firewall)


.



Relevant Pages

  • Re: IIS 6.0 Problems Loading Pages (HTM & ASP)
    ... I'm interested in seeing a network sniff (use Network Monitor from Windows ... request and the redirect. ... I'm also interested in the IIS configuration for these pages. ... This page loads 100% of the time, but the redirection only works about ...
    (microsoft.public.inetserver.iis)
  • Re: LSP HTTP redirecting
    ... I'll try and stick with the example that came with Network Programming (BTW did try and install one but didn't see any dbg messages) ... Also did some searches but could not find sample code in Google NG abt url redirection, apart from many requests for help on the same topic. ... All i need to know is when i have the HTTP request header in WSPSend, how can I go about in redirecting the HTML page somewhere else? ... Arkady Frenkel wrote: ...
    (microsoft.public.win32.programmer.networks)
  • Re: IE6 acting weird with ../ kind of relative includes for CSS and JS
    ... The redirection is using a 302 response code, so the next request ... On some computers the request sent by IE to the server is for a file ... the correct request and 4 did not. ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: HttpContext.RewritePath with different servers
    ... current comming request to another file within the same asp.net web ... Only client redirection like Response.Redirect can ... | Thread-Topic: HttpContext.RewritePath with different servers ... | message, inspects the data, and reroutes the request to one of many ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: HttpWebRequest/Response with e-mail attachments
    ... I'm applying credentials and all setting again on the second request.. ... As for the Redirection, auto-redirect sometimes causes error. ... There are no cookies associated with the first request (tried ...
    (microsoft.public.dotnet.framework.aspnet)