[Opensim-dev] VERY STRANGE, BUT EXCITING!!
Diva Canto
diva at metaverseink.com
Tue Jun 17 14:28:55 UTC 2008
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.
(Scenes/SceneCommunicationService.cs)
public virtual void RequestTeleportToLocation(ScenePresence
avatar, ulong regionHandle, LLVector3 position,
LLVector3 lookAt,
uint flags)
In Terry's case, both DBs shared the region handles and all other
identifiers, that's why it worked.
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.
Diva / Crista
Stefan Andersson wrote:
> Terry,
>
> Congratulations to your exciting find. :D
>
> 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.
>
> 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?
>
> (There is probably a big gaping security hole here...)
>
> 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.
>
> 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)
>
> but yeah, there are some interesting inter-grid scenarios with the SL
> protocol.
>
> 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.
>
> 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)
>
> Best regards,
> Stefan Andersson
> Tribal Media AB
>
> Join the 3d web revolution : http://tribalnet.se/
>
>
>
>
> ------------------------------------------------------------------------
>
> > Date: Mon, 16 Jun 2008 22:23:42 -0400
> > From: terry at usfastweb.com
> > To: opensim-dev at lists.berlios.de
> > Subject: [Opensim-dev] VERY STRANGE, BUT EXCITING!!
> >
> >
> > Hi all,
> >
> > I'm not sure how I've done this... but I think I may have stumbled onto
> > something, although I'm not sure if it is a good thing or a bad thing
> > but I am excited!
> >
> > I have "ACCIDENTALLY" teleported from one grid to another.
> > Has anyone made any recent changes to move the code towards this
> > possibility?
> >
> > I have a grid setup on my local network which is configured with only
> > "LOCAL" ip addresses "AND" I have a completely separate grid which is
> > accessible via the internet.
> >
> > I use the "Local" grid for testing while the internet based grid is for
> > the public.
> > These setups are completely isolated from each other.
> >
> > The only things the "Local" grid shares with the Internet based grid is:
> > - "SOME" of the region files but these have been changed to reflect
> > only local ip addresses
> > - Database info (a dump from the internet based grid was uploaded to a
> > local machine)
> >
> > After starting up each "LOCAL" console and manually configuring each
> for
> > use on the local grid (local MySQL and local ip addresses only) I
> logged
> > in but noticed that the map was showing some of the regions which I had
> > intentionally omitted from my local setup.
> > I thought this must be because the region info, etc from my "Internet
> > DUMP" which I uploaded to my local database was still showing.
> > Just to see what would happen... I double clicked on one of the
> omitted,
> > but still visible regions and to my surprise... I arrived in that
> region
> > with a message saying that this simulator was running a diff. version.
> >
> > Confused... wondering how I was in a region that did not exist
> locally I
> > started to investigate.
> > I was on my Internet based grid!!
> >
> > How in the world did that happen?? It was a smooth teleport ... maybe a
> > second or 2 longer than I expected but I was on my internet based grid
> > now instead of my local grid.
> > To prove to myself this is what happened, I logged into my internet
> > based grid with another av and sure enough there I was!!
> > I logged out of the "NET" based grid and logged into my local grid with
> > the other av.... where my first av was no where to be found.
> > I checked the map.... seen the "GHOST" regions... double-clicked on one
> > of them and "POOF" I was on the "NET" based grid with my other av!
> > Both grids have their own UGAIM servers, but I apparently "SNUCK" right
> > through them!
> >
> > Not sure if this is significant, but it was rather amusing, confusing,
> > and exciting all at the same time!
> > I will try to find out if this will work "NET" grid to "NET" grid next!
> >
> > -Terry
> >
> >
> >
> >
> > _______________________________________________
> > Opensim-dev mailing list
> > Opensim-dev at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/opensim-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Opensim-dev mailing list
> Opensim-dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-dev/attachments/20080617/afb28675/attachment-0001.html>
More information about the Opensim-dev
mailing list