| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
specify number of concurrent requests on a service.
|
| | |
|
| |
| |
| |
| |
| |
| | |
belong there.....)
* Add an IsBlocked(string Key) method so it can be used more generically. (think.. if we want to rate limit login failures, we could have a call in the Login Service to IsBlocked(uuid.ToString()) and ignore the connection if it returns true, if IsBlocked returns false, we could run the login information and if the login fails we could run the Process method to count the login failures.
|
| |
| |
| |
| | |
* Break out common BasicDOSProtector code into separate class.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
HTTP Server handlers. XMLRPC Handler, GenericHttpHandler and <Various>StreamHandler
* Applied the XmlRpcBasicDOSProtector.cs to the login service as both an example, and good practice.
* Applied the BaseStreamHandlerBasicDOSProtector.cs to the friends service as an example of the DOS Protector on StreamHandlers
* Added CircularBuffer, used for CPU and Memory friendly rate monitoring.
* DosProtector has 2 states, 1. Just Check for blocked users and check general velocity, 2. Track velocity per user, It only jumps to 2 if it's getting a lot of requests, and state 1 is about as resource friendly as if it wasn't even there.
|
| |
| |
| |
| |
| | |
Constants into TerrainData.
Save compression factor with the terrain blob in the database.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
the LLSD login code. This sends the data through the normal login channels and spits out a JSON object back that mimics the login response. Feel free to comment on the best way to set this up as a config option.
|
| |
| |
| |
| | |
it easier to write WebSocket service code that is resistant to Denial of Service attacks.
|
| |
| |
| |
| | |
shout-range, at the request of Singularity dev Liru-Dargon
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
region modules to directly subscribe to chat and messages received by NPCs
Currently still requires INPC from NPCModule.GetNPC() to be cast to an NPCAvatar.
|
| |
| |
| |
| | |
LLClientView to use same. This passes a terrain info class around rather than passing a one dimensional array thus allowing variable regions. Update the database storage for variable region sizes. This should be downward compatible (same format for 256x256 regions).
|
| |
| |
| |
| | |
reference RegionInfo.RegionWorldLoc?.
|
| |
| |
| |
| | |
TerrainCompressor needed to replace the one in libopenmetaverse that doesn't know about the larger terrain packets.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-- addition of varaible region size in X and Y
-- internal storage of heightmap changed from double[] to short[]
-- helper routines for handling internal structure while keeping existing API
-- to and from XML that adds region size information (for downward compatibility,
output in the legacy XML format if X and Y are 256)
Updated and commented Constants.RegionSize but didn't change the name for compatibility.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
to denote terrain format revision.
Add terrain DB format revision codes to ISimulationDataStore.cs.
Setup so legacy compatible terrain storage and fetch is possible while
allowing future format extensions.
|
| | |
| | |
| | |
| | |
| | | |
external modules. People shouldn't use it but don't want to cause
too much breakage of legacy modules.
|
| | |
| | |
| | |
| | |
| | | |
Update RegionInfo parameter and serialization routines to serialize
the region size if it is not the LegacyRegionSize.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
count number to integer world coordinates.
Added new methods RegionWorldLoc[XY].
Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim.
Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability
of external region management packages.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-- addition of varaible region size in X and Y
-- internal storage of heightmap changed from double[] to short[]
-- helper routines for handling internal structure while keeping existing API
-- to and from XML that adds region size information (for downward compatibility,
output in the legacy XML format if X and Y are 256)
Updated and commented Constants.RegionSize but didn't change the name for compatibility.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
to denote terrain format revision.
Add terrain DB format revision codes to ISimulationDataStore.cs.
Setup so legacy compatible terrain storage and fetch is possible while
allowing future format extensions.
|
| | |
| | |
| | |
| | |
| | | |
external modules. People shouldn't use it but don't want to cause
too much breakage of legacy modules.
|
| | |
| | |
| | |
| | |
| | | |
Update RegionInfo parameter and serialization routines to serialize
the region size if it is not the LegacyRegionSize.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
count number to integer world coordinates.
Added new methods RegionWorldLoc[XY].
Refactored name of 'RegionLoc*' to 'LegacyRegionLoc*' throughout OpenSim.
Kept old 'RegionLoc*' entrypoint to RegionInfo for downward compatability
of external region management packages.
|
| |
| |
| |
| | |
TestSameSimulatorIsolatedRegionsV2()
|
| |
| |
| |
| | |
the code that this is symmetric with CloseAgent()
|
| |
| |
| |
| |
| |
| | |
it clear that all non-clientstack callers should be using this rather than RemoveClient() in order to step through the ScenePresence state machine properly.
Adds IScene.CloseAgent() to replace RemoveClient()
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
HGEntityTransferModule.OnIncomingSceneObject()
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
also called by HGUserManagementModule
|
|
|
|
|
|
|
|
| |
LLUDPServer.HandleCompleteMovementIntoRegion() to fix race condition regression in commit 7dbc93c (Wed Sep 18 21:41:51 2013 +0100)
This check is necessary to close a race condition where the CompleteAgentMovement processing could proceed when the UseCircuitCode thread had added the client to the client manager but before the ScenePresence had registered to process the CompleteAgentMovement message.
This is most probably why the message appeared to get lost on a proportion of entity transfers.
A better long term solution may be to set the IClientAPI.SceneAgent property before the client is added to the manager.
|
|
|
|
| |
21:41:51 2013 +0100)
|
|
|
|
|
|
| |
debugging purposes.
This may reveal why on some teleports with current code, the UseCircuitCode message gets through but CompleteMovement disappears into the ether.
|
|
|
|
| |
Added GregC to CONTRIBUTORS.txt, Aleric was already in there. * There's some controversy, Some people have suggested that this could be stored in dynamic attributes instead of the database.. Melanie was wanting to pull from the avination repo but was asked to wait on committing anything new until the release. The cherry-pick doesn't answer those questions.
|
|
|
|
| |
(cherry picked from commit 93abcde69043b175071e0bb752538d9730433f1d)
|
|
|
|
|
|
|
|
|
|
| |
Patch taken from
http://opensimulator.org/mantis/view.php?id=4905
originally by Greg C.
Fixed to apply to r/23314 commit
ba9daf849e7c8db48e7c03e7cdedb77776b2052f
(cherry picked from commit 4ff9fbca441110cc2b93edc7286e0e9339e61cbe)
|
| |
|
|
|
|
|
|
| |
to the receiving avatar's inventory once.
When a user gives an item, the user's client sends an InventoryOffered IM message to its simulator. This adds the item to the receiver's inventory. If the receiver isn't in the same simulator then XMLRPC is used to forward the IM to the correct simulator. The bug was that the receiving simulator handled the message by calling OnInstantMessage() again, which added a second copy of the item to the inventory. Instead, the receiving simulator should only notify the avatar that the item was offered.
|
| |
|
|
|
|
| |
log message
|
|
|
|
|
| |
This is to avoid massive numbers of 'no user found' logs when user IDs are missing for some reason.
UUID.Zero should not be used for any user ID.
|