473,763 Members | 3,910 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

obtaining client side IP

Hi,

Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,
Jul 22 '05 #1
6 3841
Given that the machine is behind a firewall, what use is the local IP going
to be to you? it's likely to be 192.168.0.12 or something similar, i.e. a
local IP address, not a fully-fledged internet address. This will not
uniquely identify a machine.

Yes, an internal IP *and* an external IP would do a better job, but it's
still not a valid unique identifier. For instance, my home machines are
distributed around behind a few routers, in tiers, but they all appear to be
behind my front-end IP, however I can make two or three machines inside
appear to have the same internal IP address (192.168.0.2, or simlar) quite
easily. Just takes a little fiddling with router settings.

So what I'm trying to say is that before any other considerations such as
privacy or security, the local IP is immeidately of limited use. Though that
depends why you want it.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

"Paul" <an*********@ya hoo.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi,

Is their a client side VBscript command that I can use to post the local
IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting
techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,

Jul 22 '05 #2
I've just re-read your question and I'm no longer 100% clear. I had thought
you meant the client was behind a NAT, now it looks like you're saying the
server is behind one? and all clients are reported as being the firewall?
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

"Jason Brown [MSFT]" <i-******@online.m icrosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Given that the machine is behind a firewall, what use is the local IP
going to be to you? it's likely to be 192.168.0.12 or something similar,
i.e. a local IP address, not a fully-fledged internet address. This will
not uniquely identify a machine.

Yes, an internal IP *and* an external IP would do a better job, but it's
still not a valid unique identifier. For instance, my home machines are
distributed around behind a few routers, in tiers, but they all appear to
be behind my front-end IP, however I can make two or three machines inside
appear to have the same internal IP address (192.168.0.2, or simlar) quite
easily. Just takes a little fiddling with router settings.

So what I'm trying to say is that before any other considerations such as
privacy or security, the local IP is immeidately of limited use. Though
that depends why you want it.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Paul" <an*********@ya hoo.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi,

Is their a client side VBscript command that I can use to post the local
IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting
techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,


Jul 22 '05 #3
Paul wrote on 19 mei 2005 in microsoft.publi c.inetserver.as p.general:
Is their a client side VBscript command that I can use to post the
local IP address of the machine back to my web server.


Not using ASP.

ASP is unaware that there is such a thing called clientside.

Please ask in a clientside or vbscript NG.

[though I doubt there is such command,
and if there where it would only work in IE]

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #4
Dear Jason,

I am trying to script a web-based conferencing website using netmeeting
which is commonly available on all PCs. I am using the h.323 gatekeeper on
ISA for registering internal users for internet clients to place calls to;
so that part is fine. The part that is creating problems is scripting for
internal users to place calls to internet users, because the internal users
need to know the IP address of the internet clients' internet IP address
before placing a call, which could change each time internet users connect
their notebooks to the internet. Since these will be business users, I can
not reasonably ask the internet users to enter their internet IP each time
they connect as that would be deemed as too technical for some, if not all
of them. If I can obtain the internet ip address of the external users when
they visit our IIS server (sitting behind the ISA firewall), then hiding all
the connection parameters from the users would go a long way to making the
whole thing easy to use and usable in a business context. ISA strips out the
originating internet IP address in web publishing.

Thanks,
"Jason Brown [MSFT]" <i-******@online.m icrosoft.com> wrote in message
news:#n******** *****@TK2MSFTNG P15.phx.gbl...
I've just re-read your question and I'm no longer 100% clear. I had thought you meant the client was behind a NAT, now it looks like you're saying the
server is behind one? and all clients are reported as being the firewall?
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.
"Jason Brown [MSFT]" <i-******@online.m icrosoft.com> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Given that the machine is behind a firewall, what use is the local IP
going to be to you? it's likely to be 192.168.0.12 or something similar,
i.e. a local IP address, not a fully-fledged internet address. This will
not uniquely identify a machine.

Yes, an internal IP *and* an external IP would do a better job, but it's
still not a valid unique identifier. For instance, my home machines are
distributed around behind a few routers, in tiers, but they all appear to be behind my front-end IP, however I can make two or three machines inside appear to have the same internal IP address (192.168.0.2, or simlar) quite easily. Just takes a little fiddling with router settings.

So what I'm trying to say is that before any other considerations such as privacy or security, the local IP is immeidately of limited use. Though
that depends why you want it.
--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no
rights.

"Paul" <an*********@ya hoo.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. ..
Hi,

Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.

I want to obtain the client's side IP address of their machine. However
because my IIS stands behind a firewall and uses reverse hosting
techniques,
the http headers contains the firewall's IP instead of the client's.

Thanks,



Jul 22 '05 #5
Will try vbscript group.

"Evertjan." <ex************ **@interxnl.net > wrote in message
news:Xn******** ************@19 4.109.133.29...
Paul wrote on 19 mei 2005 in microsoft.publi c.inetserver.as p.general:
Is their a client side VBscript command that I can use to post the
local IP address of the machine back to my web server.


Not using ASP.

ASP is unaware that there is such a thing called clientside.

Please ask in a clientside or vbscript NG.

[though I doubt there is such command,
and if there where it would only work in IE]

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 22 '05 #6
On Thu, 19 May 2005 09:20:19 +0700, "Paul" <an*********@ya hoo.com>
wrote:
Is their a client side VBscript command that I can use to post the local IP
address of the machine back to my web server.


Sure. Only this isn't a client side VBScript group.

Jeff
Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
8319
by: middletree | last post by:
I need to capture the previous page's URL. I thought I could find a way to do it with client-side code, but I have been unable to find a way to do that, so perhaps there's an ASP solution. Please note that this is for an Intranet app, so users will be coming to a particular page from another page. Specifically, I need the URL including the GET data that comes after the ".asp" part. Any code which can help is welcome. IE-specific is...
4
1320
by: What-a-Tool | last post by:
Is there an ASP method for obtaining the size of the clients display area? Think I can think of a method(havn't tried it yet) combining JavaScripting and ASP, but I was wondering if there was a strictly ASP method. Any help will be appreciated, Thanks -- / Sean the Mc /
3
1765
by: hendedav | last post by:
Hi gang. As with any other post, I am working on a project and have gotten stuck. I am trying to obtain a variable value in the parent webpage from an <iframe>. For instance: Parent Page code ---------------- <html> .... heading tags <body>
7
21313
by: Privacy Advocate | last post by:
//crossposted to: comp.lang.javascript, alt.comp.lang.javascript in an effort to get factual answers from JavaScript experts// Simply put; Is it possible to obtain the real (actual) IP address of someone (client) that visits a web site through an anonymous proxy if this person ONLY has JavaScript enabled in their browser? This is NOT a question about PHP, perl, VBScript, Java(.class), or ActiveX. Let us _only_ deal with JavaScript for...
3
1923
by: Wade | last post by:
08242005 1416 GMT-5 Recently some of you helped me with a script to change images. Well I was asked to make a change to the script and not knowing if what the school system is even possible, Ill ask you all. The script just loads some images and roates through them. However, the school wants to be able to put more and more pictures in the folder and the script pull all the images for rotation.
2
3934
by: adamcort | last post by:
I am trying to create a simple page for users to log printer issues on our PS4 Citrix farm. I have created a simple html form and published it on our intranet, the form only asks too questions, Users Department and Problem description. I however, am collecting more pertinant information on the asp submission page. (time, date, username, IP address, etc) The problem is I am trying to collect the OSVersion and Local Computer
8
1742
by: Daz | last post by:
Hi everyone. I just wanted to know if there was any way to use script to display a list of methods linked to a particular object? The object I have in mind is getBrowser(), and I can't seem to find any documentation online with regards to it's methods. Also, as I am learning, it would be nice to be able to know what methods are available for a particular object/function, without necessarily having to spend a while looking up an...
6
2622
by: honguin | last post by:
Hi, The current scenario is that I have an iframe inside an asp.net web page where I periodically check the url inside the iFrame. I know that all this information can be obtained in the client-side during a page load. Does anyone know an efficient way to obtain the current url of the src attribute of the iFrame? Or if there is a better solution? Many thanks
4
1895
by: Marcin | last post by:
Hi All, Let's say we have site index.html with JS embedded there in this way: <script type="text/javascript" src="my_script.js?username=mr_bean"></ script> Question: How to get access to "username" query string constant directly from
0
9563
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9386
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9937
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8821
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7366
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6642
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5270
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3522
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.