aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/GatekeeperService.cs (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-11-01More plumbing of the EntityTransferContext (not yet complete)Melanie Thielker1-1/+1
2015-11-01 fix merge issuesUbitUmarov1-1/+0
2015-10-31Introduce an EntityTransferContext carrying the version numbers to passMelanie Thielker1-2/+2
to all interested functions. Should fix the varregion conditional. Still a testing version, do NOT use in production!
2015-10-31Testing stage of the new versioning system. Use at own risk. May notMelanie Thielker1-3/+2
work. Will eat your babies. Yada. Yada.
2015-10-18Fixed merge conflictsDiva Canto1-1/+2
Clean up of simulation version, the number that rules the compatibility of teleports: - It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure - Its definition moved to the global VersionInfo class As of now it's still 0.3. Conflicts: OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
2015-10-18Clean up of simulation version, the number that rules the compatibility of ↵Diva Canto1-1/+2
teleports: - It's not configurable anymore, it's fixed in code. Each number means an increase in features of the teleport procedure - Its definition moved to the global VersionInfo class As of now it's still 0.3.
2015-09-06Clean up viewer-based access control specifications.Diva Canto1-2/+5
2015-08-20Partial plumbing for the agent stateful module features negotiationMelanie Thielker1-1/+1
2015-08-03In the AgentCircuitData of HG users, set the last name to include the portOren Hurvitz1-1/+1
E.g., instead of "first.last @grid.example.com", the name is now "first.last @grid.example.com:8002"
2014-11-21When logging reigon information returned by ↵Justin Clark-Casey (justincc)1-3/+20
GateKeeperService.GetHyperlinkRegion, log the return server URL returned. This helps diagnoses misconfiguration where, for instance, a LAN ExternalHostName has been configured that isn't reachable externally.
2014-07-22Fix recent regression in 3c6becd5 where login or hg login to variable sized ↵Justin Clark-Casey (justincc)1-1/+1
regions failed with outdated simulator message. I forgot that a null 'their version' would not be passed over the wire and ends up as an empty string instead (like older simulators). So instead pass through the correct simulator protcol version instead (SIMULATOR/0.3) when querying from login or hg login. Also removes a debug console write for agent limit accidentally left in for the same commit. Relates to mantis 7276
2014-07-21On login and first HG entrance to a foreign grid, perform query access ↵Justin Clark-Casey (justincc)1-0/+7
checks before proceeding.
2014-04-09In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz1-6/+8
referrer)
2014-04-06When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz1-2/+4
entering the grid. This can affect which region to use. E.g., returning users may be allowed to enter any region, whereas users from other grids will have to enter a gateway region. Previously per-user decisions were only made later, but by then it's too late to change which region the user enters.
2014-04-03When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz1-1/+12
case of error
2014-03-24Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz1-5/+7
Recent versions of Firestorm and Singularity have started sending the viewer name in the 'Channel' field, leaving only their version number in the 'Viewer' field. So we need to search both of these fields for the viewer name. This resolves http://opensimulator.org/mantis/view.php?id=6952
2013-09-02Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)1-1/+1
allow different default regions for HG and direct grid logins. This requires a new GridService.GetDefaultHypergridRegions() so ROBUST services require updating but not simulators. This method still returns regions flagged with just DefaultRegion after any DefaultHGRegions, so if no DefaultHGRegions are specified then existing configured defaults will still work. Immediate use is for conference where we need to be able to specify different defaults However, this is also generally useful to send experienced HG users to one default location and local users whose specified region fails (e.g. no "home" or "last") to another.
2013-08-26Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)1-24/+3
fails." This is very similar to my earlier revert in bcb8605f8428a9009a2badf9c9eed06d9f59962c and fails for the same reasons. Reverting this change because it causes a problem if access is denied to the user. This reverts commit c7a8afbb8da40e09252d58d95c89b8a99a684157.
2013-08-26Revert "Added some more debug messages."Justin Clark-Casey (justincc)1-4/+1
Fallback doesn't work at this level as the change of destination isn't communicated to the source region/viewer Reverting because this introduces a bug when access does fail. More detail in revert of main commit. This reverts commit ec32c1d4b69e4219fe44a38bcbc411e7996641f1.
2013-08-24Added some more debug messages.Diva Canto1-1/+4
2013-08-24Make HG logins fall back to fallback regions if the desired region fails.Diva Canto1-3/+24
2013-08-22minor: Make logging in GatekeeperService.LoginAgent() a bit more detailed so ↵Justin Clark-Casey (justincc)1-4/+8
that we can distinguish between simultaneous logins
2013-08-22Revert "Implement ability for hg logins to try fallback regions just like ↵Justin Clark-Casey (justincc)1-39/+5
local logins." This approach does not work - it is taking place too far down the login process where really the region checking could only be done when the hg map tiles are linked on the main map (messy and probably impossible) or possibly when the final destination is fetched at the very first stage of teleport (which couldn't be done without a protocol change to pass the agentID as well as the requested regionID) This reverts commit 3d9b73c47a15cf00150ac80570fea88de8cecbdf.
2013-08-21Implement ability for hg logins to try fallback regions just like local logins.Justin Clark-Casey (justincc)1-5/+39
These would be specified in the [GridService] section of Robust.HG.ini, which already lists these in the example text. Untested patch so that Neb can easily pull in for testing, though shouldn't disrupt existing hg logins since fallback processing is a bit of code stuck on the end of the login sequence.
2013-07-13Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to ↵Diva Canto1-0/+6
bother the sim.
2013-04-27Added an interface to an external ban service. With this commit, the ↵Diva Canto1-4/+21
interface is used only in Hypergrided worlds (Gatekeeper), although in those, it applies to both local and foreign users. The Ban service itself is not in core; it is to be provided externally.
2013-02-27Switched to using the other Util function with a default value.Diva Canto1-1/+2
2013-02-27Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto1-1/+1
[Hypergrid] in *Common.ini.example. Backwards compatible for now.
2013-02-22Added new Util function for reading config vars that's more generic than the ↵Diva Canto1-1/+1
one I added yesterday -- this is for helping move config vars out of [Startup]
2013-02-21Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto1-1/+2
default under [Startup]. They can then be overwritten in the other sections (but probably shouldn't). I kept the existing code for backwards compatibility, so this should not cause any breaks from people's current configurations. But people should move to have these 2 vars under [Startup] -- see OpenSim.ini.example and Robust.HG.ini.example. And yes, both names now end with "URI" for consistency.
2012-11-15Revert "Merge master into teravuswork", it should have been avination, not ↵teravus1-81/+12
master. This reverts commit dfac269032300872c4d0dc507f4f9062d102b0f4, reversing changes made to 619c39e5144f15aca129d6d999bcc5c34133ee64.
2012-11-07HG: Hopefully this fixes the issues with port 80 once and for all.Diva Canto1-1/+22
2012-09-26Use GridUser properly for foreign users.Diva Canto1-4/+27
2012-09-21More HG 2.0: access control at the Gatekeeper. \o/Diva Canto1-8/+54
2012-06-30Remove some mono compiler warningsJustin Clark-Casey (justincc)1-2/+0
2012-03-27User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer1-0/+13
creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
2012-03-08Fixes mantis #5923Diva Canto1-2/+3
2012-02-18Propagate our teleport flags on loginsBlueWall1-2/+6
2011-12-04HG: Renamed one methodDiva Canto1-1/+1
2011-11-15Dont' bother with a userAgentService != null check right after we've ↵Justin Clark-Casey (justincc)1-11/+10
constructed it
2011-04-27Thank you Snoopy for a patch that adds some filtering to client versions ↵Diva Canto1-2/+37
allowed at login and HG-login times. NOTE: additional (optional) configuration variables in [LoginService] and [GatekeeperService]. See .examples.
2011-01-18minor: resolve some mono compiler warningsJustin Clark-Casey (justincc)1-1/+1
2010-12-29fixes a problem with ending slashes in GatekeeperService to verify ↵Myan Thor1-3/+5
session-addresses
2010-12-13Show map tile for hyperlinks. Perform Check4096 before adding a hyperlink.Marck1-16/+13
Configuration option AssetService in section [GridService] must be set to enable this functionality. Map tiles do currently not show for hyperlinks set in simulators that are connected to grids, see Mantis #5270.
2010-12-05Fixed some inconsistency with trailing /. Made debug messages consistent. ↵Diva Canto1-1/+3
Changed the stored region names of HG regions. Increased the size of regionName in DB.
2010-11-28Make gatekeeper's address check case-insensitive.Marck1-1/+2
2010-11-27Make gatekeeper's address check case-insensitive.Marck1-1/+2
2010-10-22Revert "Merge remote branch 'otakup0pe/mantis5110'"Justin Clark-Casey (justincc)1-1/+1
This reverts commit 21187f459ea2ae590dda4249fa15ebf116d04fe0, reversing changes made to 8f34e46d7449be1c29419a232a8f7f1e5918f03c.
2010-10-22Revert "* refactor refactor refactor ServerURI 4 lyfe"Justin Clark-Casey (justincc)1-1/+1
This reverts commit 55974df14b6d64c1e1f9e386a3eacce3ba86dc98.
2010-10-20* refactor refactor refactor ServerURI 4 lyfeJonathan Freedman1-1/+1