<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
As far as I can tell, the teleport code already has a lot of the
machinery to TP between any two OpenSims on the internet. Its
interface, however, is the limiting factor: instead of being given IP
addresses, or some other form of global name, it's given region
handles. The code uses the region handle to get at the IP address and
port.<br>
<br>
(Scenes/SceneCommunicationService.cs)<br>
<br>
public virtual void RequestTeleportToLocation(ScenePresence
avatar, ulong regionHandle, LLVector3 position,<br>
LLVector3 lookAt,
uint flags)<br>
<br>
In Terry's case, both DBs shared the region handles and all other
identifiers, that's why it worked.<br>
<br>
OpenSim is *this* close to supporting interoperability. It "just" needs
a bunch of small, but very important, changes in lots of places. And,
of course, conceptual clarification of everything related to
authentication, trust, and access control, which stand a level above of
the intrerop mechanism itself.<br>
<br>
Diva / Crista<br>
<br>
Stefan Andersson wrote:
<blockquote cite="mid:BLU134-W3943576B52AE235FB9CA21D5A80@phx.gbl"
type="cite">
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>Terry,<br>
<br>
Congratulations to your exciting find. :D<br>
<br>
If your database contains information about regions on both grids
(which the dump obviously did) then you will have all regions on the
map - there is nothing filtering regions on grid id.<br>
<br>
Now, if the database dump contains valid info about those
external regions, a teleport will succeed, as your internal region will
tell the grid services to tell the external region to expect you. I
guess you have copied the user and authentication data as well?<br>
<br>
(There is probably a big gaping security hole here...)<br>
<br>
We at Tribal Media have actually contemplated using something like that
to genreate a map including both local and external regions in an
intra/extranet scenario.<br>
<br>
The problem is the other way, teleporting back into a local region from
an external region (the external region can't refer to local ip's)<br>
<br>
but yeah, there are some interesting inter-grid scenarios with the SL
protocol.<br>
<br>
Something for all of you to ponder: The 'Map' is actually a function of
the REGION, so every time you bring the map up, it's the region
you're ON that decides what goes where on the map - NOT the grid.<br>
<br>
This allows us to think of the map as a 'link map' with exit points out
of a region, somewhat like hyperlinks or a web sitemap. (The notion of
a region as a 'web page' is a darling of mine)<br>
<br>
Best regards,<br>
Stefan Andersson<br>
Tribal Media AB<br>
<br>
Join the 3d web revolution : <a moz-do-not-send="true"
href="http://tribalnet.se/" target="_blank">http://tribalnet.se/</a><br>
<br>
<br>
<br>
<br>
<hr id="stopSpelling">
<br>
> Date: Mon, 16 Jun 2008 22:23:42 -0400<br>
> From: <a class="moz-txt-link-abbreviated" href="mailto:terry@usfastweb.com">terry@usfastweb.com</a><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:opensim-dev@lists.berlios.de">opensim-dev@lists.berlios.de</a><br>
> Subject: [Opensim-dev] VERY STRANGE, BUT EXCITING!!<br>
> <br>
> <br>
> Hi all,<br>
> <br>
> I'm not sure how I've done this... but I think I may have stumbled
onto <br>
> something, although I'm not sure if it is a good thing or a bad
thing <br>
> but I am excited!<br>
> <br>
> I have "ACCIDENTALLY" teleported from one grid to another.<br>
> Has anyone made any recent changes to move the code towards this <br>
> possibility?<br>
> <br>
> I have a grid setup on my local network which is configured with
only <br>
> "LOCAL" ip addresses "AND" I have a completely separate grid which
is <br>
> accessible via the internet.<br>
> <br>
> I use the "Local" grid for testing while the internet based grid
is for <br>
> the public.<br>
> These setups are completely isolated from each other.<br>
> <br>
> The only things the "Local" grid shares with the Internet based
grid is:<br>
> - "SOME" of the region files but these have been changed to
reflect <br>
> only local ip addresses<br>
> - Database info (a dump from the internet based grid was uploaded
to a <br>
> local machine)<br>
> <br>
> After starting up each "LOCAL" console and manually configuring
each for <br>
> use on the local grid (local MySQL and local ip addresses only) I
logged <br>
> in but noticed that the map was showing some of the regions which
I had <br>
> intentionally omitted from my local setup. <br>
> I thought this must be because the region info, etc from my
"Internet <br>
> DUMP" which I uploaded to my local database was still showing.<br>
> Just to see what would happen... I double clicked on one of the
omitted, <br>
> but still visible regions and to my surprise... I arrived in that
region <br>
> with a message saying that this simulator was running a diff.
version.<br>
> <br>
> Confused... wondering how I was in a region that did not exist
locally I <br>
> started to investigate.<br>
> I was on my Internet based grid!!<br>
> <br>
> How in the world did that happen?? It was a smooth teleport ...
maybe a <br>
> second or 2 longer than I expected but I was on my internet based
grid <br>
> now instead of my local grid.<br>
> To prove to myself this is what happened, I logged into my
internet <br>
> based grid with another av and sure enough there I was!!<br>
> I logged out of the "NET" based grid and logged into my local grid
with <br>
> the other av.... where my first av was no where to be found.<br>
> I checked the map.... seen the "GHOST" regions... double-clicked
on one <br>
> of them and "POOF" I was on the "NET" based grid with my other av!<br>
> Both grids have their own UGAIM servers, but I apparently "SNUCK"
right <br>
> through them!<br>
> <br>
> Not sure if this is significant, but it was rather amusing,
confusing, <br>
> and exciting all at the same time!<br>
> I will try to find out if this will work "NET" grid to "NET" grid
next!<br>
> <br>
> -Terry<br>
> <br>
> <br>
> <br>
> <br>
> _______________________________________________<br>
> Opensim-dev mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
> <a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-dev">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Opensim-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a>
<a class="moz-txt-link-freetext" href="https://lists.berlios.de/mailman/listinfo/opensim-dev">https://lists.berlios.de/mailman/listinfo/opensim-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>