473,549 Members | 2,189 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 3831
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
8269
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...
4
1309
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
1753
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
21279
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...
3
1911
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...
2
3923
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,...
8
1726
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...
6
2611
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...
4
1887
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
7472
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...
0
7743
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7832
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6074
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...
1
5391
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...
0
5114
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...
0
3518
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...
0
3499
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
786
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.