IP Addresses
|
|
Flange Bohemia
Registered User
Join date: 20 Oct 2006
Posts: 10
|
11-27-2006 04:23
Hi - I hope this is the right place for this question...
When SL makes a request to an external resource (for example, streaming audio or video), what IP address does that request come from? My investigations have identified it as: 69.25.104.240 - but is that the only IP address, or does SL have a range of addresses?
Many thanks in advance for any help,
Flange.
|
|
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
|
11-27-2006 04:36
It's always the IP of the client, the user's machine or router.
_____________________
Zi! (SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie) Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.orgSecond Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
|
|
Flange Bohemia
Registered User
Join date: 20 Oct 2006
Posts: 10
|
11-27-2006 04:43
From: Zi Ree It's always the IP of the client, the user's machine or router. Hmm - I did wonder about that, but after using different machines to log on, and getting a friend to test too (admittedly this was static .jpg textures), the logfiles (of the server that the original jpg sits on) are giving the same IP address each time. I wondered if each sim had a different IP address... EDIT: Sorry - I've realised my inital post was confusing. What I meant was: I have a script which when triggered changes a texture on an object. It does this by sending an HTTP request to an external script, which returns the url of the required .jpg or .mov file to use as the texture. It's the IP address of the client making the initial request that I'm asking about - not the IP address of the client that requests the actual image. I realise that that's the user's machine/router address. Sorry for the badly worded question. Cheers, Flange.
|
|
Walker Moore
Fоrum Unregular
Join date: 14 May 2006
Posts: 1,458
|
11-27-2006 04:53
From: Flange Bohemia When SL makes a request to an external resource (for example, streaming audio or video), what IP address does that request come from? My investigations have identified it as: 69.25.104.240 - but is that the only IP address, or does SL have a range of addresses?. I'm not sure which IP address is sent by LSL when it sends requests to external WWW sites (that of the client?), but when parcel related audio and video feeds are requested, SL will send the IP address of the server your sim is located on. 69.25.104.240 is the IP address of sim554.agni.lindenlab.com which seems to back this up.
|
|
SpaceQ Isan
Registered User
Join date: 20 Oct 2006
Posts: 22
|
11-27-2006 05:13
Flange Bohemia :
Scripts and other requests made from similator are going via http squid proxy so you see usually same IP of request per sim.
If you click play video audio stream... your client's Quick time is requesting stream from your IP not simulator.
This is important to know for security consideration.
|
|
Flange Bohemia
Registered User
Join date: 20 Oct 2006
Posts: 10
|
11-27-2006 05:21
From: Walker Moore I'm not sure which IP address is sent by LSL when it sends requests to external WWW sites (that of the client?), but when parcel related audio and video feeds are requested, SL will send the IP address of the server your sim is located on. 69.25.104.240 is the IP address of sim554.agni.lindenlab.com which seems to back this up. Right - so, does anyone have a list (or how would I calculate a list) of the valid IP addresses for Linden Labs SL Sim servers? EDIT: Damn - simulposted. [SpaceQ Isan] So you're saying that it will be the same IP address, no matter what sim the request comes from? Or are you saying that each sim will always provide it's own unique IP address? From: Walker Moore As an aside, if LSL requests ever result in client IP information being disclosed to outside web servers, shouldn't the user be notified of this before any such request is made? It's one thing for LL to be aware of client IP addresses, quite another for every Tom, Dick or Harry who can script to be harnessing them and associating them with usernames. (That second paragraph is just a thought, and not related to the OP's question.  ) An interesting point. While my widget doesn't tie in the name or ID of the avatar to the image server, it would (I guess) be a trivial matter to write a script that changed the texture of a prim to a jpg with the address: www.imageserver.com/trackerimage.jpg?ref=Walker+MooreLogfiles from imageserver.com could then quite easily to an avatar to a specific IP address, and, while Geolocation by IP address is a far from exact science, it could in many cases identify roughly where you are in the world - far more accurately in the US where (I believe) IP addresses are more closely mapped to physical locations. *hears sound of whole new can of worms opening*  Cheers, Flange.
|
|
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
|
Fuel to the fire
11-27-2006 05:39
I'd guess that IP address is server specific. SIMs can be moved from server to server. I wouldn't count on the exact IP address staying the same from session to session.
|
|
Raeyan Aldrich
Registered User
Join date: 14 Oct 2006
Posts: 44
|
11-27-2006 07:11
if your hope is to detect the ip address and thus get the general location of the SL user who sent the request for purposes of statistical tracking or language modification or something... you could set the music/video URL on your land to contact a php page on the webserver which would receive the client's IP address... whether you want this script to actually stream any audio/video is up to you, but it is possible to stream quicktime playable movie formats through php. same with mp3 audio.
|
|
Walker Moore
Fоrum Unregular
Join date: 14 May 2006
Posts: 1,458
|
11-27-2006 07:15
From: Flange Bohemia Right - so, does anyone have a list (or how would I calculate a list) of the valid IP addresses for Linden Labs SL Sim servers? EDIT: Damn - simulposted. [SpaceQ Isan] So you're saying that it will be the same IP address, no matter what sim the request comes from? Or are you saying that each sim will always provide it's own unique IP address? Each server (with a unique IP address) can run up to four sims. So, assuming there are approx. 4000 sims online, and at least one parcel owner in each connects to your video stream, your server would log approx. 1000 unique IP addresses. Linden Lab is also know to transfer sims onto different servers, so there is no guarantee that the IP address of your own sim will not change over time. There is a site somewhere that lets you input a sim name, and it returns other sims on the same server. I'm not sure whether it provides IP address too, and I can't remember the address so maybe somebody can help? From: Flange Bohemia An interesting point. While my widget doesn't tie in the name or ID of the avatar to the image server, it would (I guess) be a trivial matter to write a script that changed the texture of a prim to a jpg with the address: www.imageserver.com/trackerimage.jpg?ref=Walker+Moore Logfiles from imageserver.com could then quite easily to an avatar to a specific IP address, and, while Geolocation by IP address is a far from exact science, it could in many cases identify roughly where you are in the world - far more accurately in the US where (I believe) IP addresses are more closely mapped to physical locations. *hears sound of whole new can of worms opening*  SLStats has been around since June/July I think, and although it only produces stats like in-world location, history of regions visited, etc., these are only provided for people who signed up and consented for such info to be made public. It's obvious the creator would be able to cross reference IP addresses because anybody signing up needs to login to his website. (Not that he may do that, but every site on the net logs your IP address so there would be nothing unusual about it.) WWW servers getting an avatar's client IP address just because they clicked on a prim though? I don't like that. I don't like that at all.
|
|
Talarus Luan
Ancient Archaean Dragon
Join date: 18 Mar 2006
Posts: 4,831
|
11-27-2006 08:08
The Wiki is your friend: http://www.lslwiki.com/lslwiki/wakka.php?wakka=llHTTPRequest/139/91/98926/1.htmlFrom: The Wiki Note: Requests currently come from
66.150.244.0/23 69.25.104.0/23 72.5.12.0/22
|
|
Flange Bohemia
Registered User
Join date: 20 Oct 2006
Posts: 10
|
11-27-2006 08:32
Aha - that's exactly what I was after but, being an idiot, couldn't find it. Thanks very much. Cheers, Flange.
|
|
Sterling Whitcroft
Registered User
Join date: 2 Jul 2006
Posts: 678
|
11-27-2006 15:31
Walker, Is this the site you were thinking of: http://www.dragonkeen.com/landmap/The "DKLS Land Scanner Statistics" page?
|