Me wrote:[color=blue]
> Am I right in thinking that when you connect to a website via a proxy,
> only Java (not JS) can get one's IP address?
>[/color]
Not *only* Java, but not Javascript, for sure.
Mick
..
Me said the following on 9/10/2005 6:04 AM:
[color=blue]
> Am I right in thinking that when you connect to a website via a proxy,
> only Java (not JS) can get one's IP address?[/color]
No, Java is not the only way to attempt to get one's IP Address, but JS
can't get it at all.
Mick White wrote on 10 sep 2005 in comp.lang.javas cript:
[color=blue]
> Me wrote:[color=green]
>> Am I right in thinking that when you connect to a website via a proxy,
>> only Java (not JS) can get one's IP address?
>>[/color]
>
> Not *only* Java, but not Javascript, for sure.[/color]
Javascript can get the IP-address, but only serverside.
Try j[ava]script on an ASP platform.
=============== =
Clientside the IP-address as seen by the server
is often not even available, as the client machine
only "sees" the local IP bihind router and/or proxi.
And that clientside iP is not available to in-browser javascript.
=============== =
Java and javascript have nothing in common but the name.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
OK I have been wondering about this for a long time....
please be more clear....I really like a definitive word.
1) How else exactly, other than via Java, can server-side find out REAL IP
of client going thru HI-ANONIMITY proxy ?
2) php ? can forum like vBulletin find REAL IP ?
thanks
"Randy Webb"[color=blue]
> No, Java is not the only way to attempt to get one's IP Address, but JS
> can't get it at all[/color]
[color=blue]
>Not *only* Java, but not Javascript, for sure.
>Mick[/color]
Boobie said the following on 9/10/2005 11:56 AM:[color=blue]
> OK I have been wondering about this for a long time....
> please be more clear....I really like a definitive word.
>
> 1) How else exactly, other than via Java, can server-side find out REAL IP
> of client going thru HI-ANONIMITY proxy ?[/color]
You ask the user.
And wonder why they won't tell you. People use a HI-Anonymity proxy for
a reason.
What exactly do you think you need the IP for anyway?
[color=blue]
> 2) php ? can forum like vBulletin find REAL IP ?[/color]
Since I don't know what vBulletin is, I can't answer that.
And, please learn to quote.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Answer:It destroys the order of the conversation
Question: Why?
Answer: Top-Posting.
Question: Whats the most annoying thing on Usenet?
Boobie wrote on 10 sep 2005 in comp.lang.javas cript:
[color=blue]
> OK I have been wondering about this for a long time....
> please be more clear....I really like a definitive word.
>
> 1) How else exactly, other than via Java, can server-side find out
> REAL IP of client going thru HI-ANONIMITY proxy ?[/color]
What is "REAL IP of client"?
A server sees just the IP that it gets.
This is independent of the computer language used.
--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)
I think the person who posted the question wants to know the IP address
of the client within a Local network, who is coming through a proxy to
his site.
Well as many of us would have guessed it is not possible unless you
hack into the proxy, which is very subjective and difficult ;) besides
that is not what we are looking at.
Simply speaking the answer is NO, you cannot get the IP address.
Tell me how would you know who exactly in a group wants a resource if a
representative of a group keeps asking for the resource to you. unless
you ask the representative ;)
I dont think languages have any bearing on this very general question.
Mick White wrote:
[color=blue]
> Me wrote:
>[color=green]
>> Am I right in thinking that when you connect to a website via a
>> proxy, only Java (not JS) can get one's IP address?
>>[/color]
>
>
>
> Not *only* Java, but not Javascript, for sure.
> Mick
> .[/color]
Evertjan. wrote:
[color=blue]
>Mick White wrote on 10 sep 2005 in comp.lang.javas cript:
>
>
>[color=green]
>>Me wrote:
>>
>>[color=darkred]
>>>Am I right in thinking that when you connect to a website via a proxy,
>>>only Java (not JS) can get one's IP address?
>>>
>>>
>>>[/color]
>>Not *only* Java, but not Javascript, for sure.
>>
>>[/color]
>
>Javascript can get the IP-address, but only serverside.
>
>Try j[ava]script on an ASP platform.
>
>[/color]
So, IOW, when the client (that is the home Internet user) connects to a
server e.g. www.yahoo.com the server cannot get the client's IP using
JS, right?
[color=blue]
>============== ==
>
>Clientside the IP-address as seen by the server
>is often not even available, as the client machine
>only "sees" the local IP bihind router and/or proxi.
>
>And that clientside iP is not available to in-browser javascript.
>
>============== ==
>
>Java and javascript have nothing in common but the name.
>
>
>[/color]
Randy Webb wrote:
[color=blue]
> Me said the following on 9/10/2005 6:04 AM:
>[color=green]
>> Am I right in thinking that when you connect to a website via a
>> proxy, only Java (not JS) can get one's IP address?[/color]
>
>
> No, Java is not the only way to attempt to get one's IP Address, but
> JS can't get it at all.
>[/color]
Just to clarify here I am talking about when a home user connects to a
company for example website.
Me wrote:
[color=blue][color=green]
>>Javascript can get the IP-address, but only serverside.
>>Try j[ava]script on an ASP platform.[/color][/color]
[color=blue]
> So, IOW, when the client (that is the home Internet user) connects to a
> server e.g. www.yahoo.com the server cannot get the client's IP using
> JS, right?[/color]
JavaScript (or pretty much anything else) running on the server can get the
IP address of the machine that made the request, which may be the user's
workstation, but could also be a proxy server or similar.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
David Dorward wrote:
[color=blue]
>Me wrote:
>
>
>[color=green][color=darkred]
>>>Javascript can get the IP-address, but only serverside.
>>>Try j[ava]script on an ASP platform.
>>>
>>>[/color][/color]
>
>
>[color=green]
>>So, IOW, when the client (that is the home Internet user) connects to a
>>server e.g. www.yahoo.com the server cannot get the client's IP using
>>JS, right?
>>
>>[/color]
>
>JavaScript (or pretty much anything else) running on the server can get the
>IP address of the machine that made the request, which may be the user's
>workstation, but could also be a proxy server or similar.
>
>
>[/color]
My specific question though, was could JavaScript "see behind" a proxy
or could it only get the IP address that was used to connect to the
server, which would be the proxy address?
Comment