aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/HypergridService/GatekeeperService.cs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Bandaid for ghost users, check and remove them from Presence when they log on.onefang2020-09-091-2/+28
| | | | | | | | Once again OOP proves it's worse that spaghetti, by cutting up the spaghetti and hiding it all over the kitchen. Note the commented out bits from GateKeeperService.cs, this stuff is checked TWICE, though this time is for HGers, or not.
* Fix build breakMelanie2019-10-061-1/+5
|
* replace some string testsUbitUmarov2018-07-081-3/+3
|
* we don't use tab simbol, we use 4 whitespacesUbitUmarov2018-07-081-13/+13
|
* Add mac banningVincent Sylvester2018-07-081-0/+16
| | | | Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
* avoid a null refUbitUmarov2017-08-031-3/+4
|
* mantis 8165: fix a null ref on hg gatekeeper on another placeUbitUmarov2017-05-121-3/+4
|
* fix a null ref on hg gatekeeperUbitUmarov2017-05-121-1/+1
|
* yes it is not destiny grid but destination.. thx u know who :)UbitUmarov2017-05-121-2/+2
|
* don't allow multiple presences of same avatar also on HG gatekeeperUbitUmarov2017-05-111-22/+99
|
* Massive tab and trailing space cleanupMelanie Thielker2017-01-051-10/+10
|
* HG LinkRegion sends region size alsoUbitUmarov2016-11-201-1/+7
|
* More plumbing of the EntityTransferContext (not yet complete)Melanie Thielker2015-11-011-1/+1
|
* fix merge issuesUbitUmarov2015-11-011-1/+0
|
* Merge branch 'master' into avinationmergeUbitUmarov2015-11-011-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: OpenSim/Framework/AvatarAppearance.cs OpenSim/Framework/Servers/ServerBase.cs OpenSim/Framework/VersionInfo.cs OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetXferUploader.cs OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/LocalSimulationConnector.cs OpenSim/Region/CoreModules/ServiceConnectorsOut/Simulation/RemoteSimulationConnector.cs OpenSim/Region/Framework/Interfaces/IEntityTransferModule.cs OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs OpenSim/Region/PhysicsModules/ConvexDecompositionDotNet/Properties/AssemblyInfo.cs OpenSim/Region/PhysicsModules/Ode/ODEPrim.cs OpenSim/Region/PhysicsModules/Ode/OdeScene.cs OpenSim/Services/Connectors/Simulation/SimulationServiceConnector.cs OpenSim/Services/HypergridService/GatekeeperService.cs OpenSim/Services/Interfaces/IAvatarService.cs OpenSim/Services/LLLoginService/LLLoginService.cs
| * Introduce an EntityTransferContext carrying the version numbers to passMelanie Thielker2015-10-311-2/+2
| | | | | | | | | | to all interested functions. Should fix the varregion conditional. Still a testing version, do NOT use in production!
| * Testing stage of the new versioning system. Use at own risk. May notMelanie Thielker2015-10-311-3/+2
| | | | | | | | work. Will eat your babies. Yada. Yada.
| * Clean up of simulation version, the number that rules the compatibility of ↵Diva Canto2015-10-181-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.
* | Fixed merge conflictsDiva Canto2015-10-181-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
* Clean up viewer-based access control specifications.Diva Canto2015-09-061-2/+5
|
* Partial plumbing for the agent stateful module features negotiationMelanie Thielker2015-08-201-1/+1
|
* In the AgentCircuitData of HG users, set the last name to include the portOren Hurvitz2015-08-031-1/+1
| | | | E.g., instead of "first.last @grid.example.com", the name is now "first.last @grid.example.com:8002"
* When logging reigon information returned by ↵Justin Clark-Casey (justincc)2014-11-211-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.
* Fix recent regression in 3c6becd5 where login or hg login to variable sized ↵Justin Clark-Casey (justincc)2014-07-221-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
* On login and first HG entrance to a foreign grid, perform query access ↵Justin Clark-Casey (justincc)2014-07-211-0/+7
| | | | checks before proceeding.
* In teleports, pass the source region to the destination (similar to an HTTP ↵Oren Hurvitz2014-04-091-6/+8
| | | | referrer)
* When preparing a Hypergrid teleport, tell the receiving grid which user is ↵Oren Hurvitz2014-04-061-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.
* When teleporting using Hypergrid, show more informative error messages in ↵Oren Hurvitz2014-04-031-1/+12
| | | | case of error
* Get the full viewer name even if it's (incorrectly) sent in the 'Channel' fieldOren Hurvitz2014-03-241-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
* Allow one to specify a DefaultHGRegion flag in [GridService] in order to ↵Justin Clark-Casey (justincc)2013-09-021-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.
* Revert "Make HG logins fall back to fallback regions if the desired region ↵Justin Clark-Casey (justincc)2013-08-261-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.
* Revert "Added some more debug messages."Justin Clark-Casey (justincc)2013-08-261-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.
* Added some more debug messages.Diva Canto2013-08-241-1/+4
|
* Make HG logins fall back to fallback regions if the desired region fails.Diva Canto2013-08-241-3/+24
|
* minor: Make logging in GatekeeperService.LoginAgent() a bit more detailed so ↵Justin Clark-Casey (justincc)2013-08-221-4/+8
| | | | that we can distinguish between simultaneous logins
* Revert "Implement ability for hg logins to try fallback regions just like ↵Justin Clark-Casey (justincc)2013-08-221-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.
* Implement ability for hg logins to try fallback regions just like local logins.Justin Clark-Casey (justincc)2013-08-211-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.
* Gatekeeper: stop bogus agents earlier, here at the Gatekeeper. No need to ↵Diva Canto2013-07-131-0/+6
| | | | bother the sim.
* Added an interface to an external ban service. With this commit, the ↵Diva Canto2013-04-271-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.
* Switched to using the other Util function with a default value.Diva Canto2013-02-271-1/+2
|
* Moved the HG default variables out of [Startup] and into their own section ↵Diva Canto2013-02-271-1/+1
| | | | [Hypergrid] in *Common.ini.example. Backwards compatible for now.
* Added new Util function for reading config vars that's more generic than the ↵Diva Canto2013-02-221-1/+1
| | | | one I added yesterday -- this is for helping move config vars out of [Startup]
* Simplification of HG configs: HomeURI and GatekeeperURI now are defined as ↵Diva Canto2013-02-211-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.
* HG: Hopefully this fixes the issues with port 80 once and for all.Diva Canto2012-11-071-1/+22
|
* Use GridUser properly for foreign users.Diva Canto2012-09-261-4/+27
|
* More HG 2.0: access control at the Gatekeeper. \o/Diva Canto2012-09-211-8/+54
|
* Remove some mono compiler warningsJustin Clark-Casey (justincc)2012-06-301-2/+0
|
* User level based restrictions for HyperGrid teleports, asset uploads, group ↵Snoopy Pfeffer2012-03-271-0/+13
| | | | creations and getting contacted from other grids. Incoming HyperGrid teleports can also be restricted to local users.
* Fixes mantis #5923Diva Canto2012-03-081-2/+3
|
* Propagate our teleport flags on loginsBlueWall2012-02-181-2/+6
|