Commit Graph

184 Commits (5e99d9365148fc6d10633e62efbfcc0ab3beaaca)

Author SHA1 Message Date
Adam Frisby ac79ff8dc6 * Adds NAT routing support for MXP Asset Delivery. (This means MXP should be fully NAT compatible.) 2009-05-24 01:36:13 +00:00
Adam Frisby 6b312d9340 * Implements automatic loopback handling for standalone regions.
* This /should/ make OpenSim behave properly when hosting behind a NAT router and utilizing port forwarding (but the router doesn't support Loopback)
2009-05-23 06:29:08 +00:00
Adam Frisby e9ea959263 * Pipes IPEndPoint through all Login methods, including LLSD/OSD login paths. 2009-05-23 06:14:02 +00:00
Adam Frisby 31baeef469 * Pipes requestors IP address through all XmlRpcRequest delegates. This is needed to be able to 'NAT-wrap' the login sequence.
* If you have something using XmlRpc that isn't in core, change your method signature from:
   (XmlRpcRequest request)
to:
   (XmlRpcRequest request, IPEndPoint remoteClient)
2009-05-23 06:05:20 +00:00
Arthur Valadares a85f496f4d * Upgraded LLStandaloneLoginModule, LLProxyLoginModule and LLClientStackModule to new
region modules. This was needed because the stand alone and grid modules weren't deleting
old scenes, which caused an issue when deleting and recreating a region with same name
on same x,y coordinates. Tested it on standalone and issue is fixed. Requires prebuild
to be run again.

Fixes Mantis #3699
2009-05-21 20:28:59 +00:00
Homer Horwitz 99cf8e3f5a Send the owner name, not the client name on SendDialog.
This modifies IClientAPI.SendDialog slightly.
Fixes Mantis #3661.
2009-05-16 16:01:25 +00:00
diva 5e4fc6e91e Heart surgery on asset service code bits. Affects OpenSim.ini configuration -- please see the example. Affects region servers only.
This may break a lot of things, but it needs to go in. It was tested in standalone and the UCI grid, but it needs a lot more testing.
Known problems: 
* HG asset transfers are borked for now
* missing texture is missing
* 3 unit tests commented out for now
2009-05-15 05:00:25 +00:00
Melanie Thielker 1b7d0a6c93 Paving the way for syncing group permissions across a grid 2009-05-12 14:59:11 +00:00
Adam Frisby 6dcafec22d * Implements IP and DNS based ban facilities to OpenSim.
* User interface is ... primitive at best right now.
* Loads bans from bans.txt and region ban DB on startup, bans.txt is in the format of one per line. The following explains how they are read;

DNS bans are in the form "somewhere.com" will block ANY matching domain (including "betasomewhere.com", "beta.somewhere.com", "somewhere.com.beta") - make sure to be reasonably specific in DNS bans.

IP address bans match on first characters, so, "127.0.0.1" will ban only that address, "127.0.1" will ban "127.0.10.0" but "127.0.1." will ban only the "127.0.1.*" network
2009-05-11 19:23:51 +00:00
Dr Scofield e0a06f6416 - moving banned check and public/private check to
Scene.NewUserConnection()
- adding reason reporting

this enforces estate bans very early on and prevents us from
circulating client objects that we'd then have to retract once we
realize that the client is not allowed into the region
2009-05-05 16:17:52 +00:00
Melanie Thielker acfb5051cd Intermediate commit. WILL NOT COMPILE! 2009-05-04 20:15:39 +00:00
Melanie Thielker 36dd346a91 Add a method to flush the prim update buffers once a frame, since the timer
appear to be too slow to be useful, or fail too fire. I may remove the timers
as a consequence if this.
2009-05-04 14:25:19 +00:00
Melanie Thielker 334738fca9 Thank you, mpallari, for a patch that increses efficiency by combining
avatar updates into a single packet.
Applied with changes.
Fixes Mantis #3136
2009-04-30 11:58:23 +00:00
Jeff Ames 8afeee9ff6 Update svn properties, add copyright headers, formatting cleanup. 2009-04-24 00:58:48 +00:00
Justin Clarke Casey ef9d140022 * Add user data plugin to store temporary profiles (which are distinct from cached)
* Plugin not yet used
* Existing functionality should not be affected in any way
2009-04-23 18:24:39 +00:00
Adam Frisby f03cc3ab0e * Adds missing IClientAPI member. (Plz be adding new members to IClientCore!) 2009-04-23 05:13:45 +00:00
Adam Frisby 2af4ca44a6 * Adds additional background layer for VWoHTTP ClientStack
* Implements asset handling.
2009-04-23 04:51:29 +00:00
Justin Clarke Casey c25ceb009e * minor: remove some compiler warnings 2009-04-22 19:43:58 +00:00
Charles Krinke 0f08f4cc4b Thank you kindly, TLaukkan, for a patch that:
Adds connectivity to grid regions. 
* Fixed UserService cast.
* Added exception handling to avoid mxp message handling 
thread to exit and hang the module on unhandled exception.
2009-04-22 19:27:35 +00:00
Dahlia Trimble d2bf957b13 Thanks tlaukkan for a patch that Fixes asset cache url forming for MXP join response message. Addresses Mantis #3505 2009-04-22 17:09:56 +00:00
Sean Dague 026dce23ad fix line endings on new files 2009-04-22 12:22:05 +00:00
Sean Dague 99a1f47c1e fix the build break, thankes mikkopa for pointing out the quick change
to address this.
2009-04-22 12:14:13 +00:00
Adam Frisby 03c307ecdb * Committing stub VW-over-HTTP ClientStack. (1/2)
* Nonfunctional, but eventually form a AJAX-accessible client protocol - for clients written in environments which only allow HTTP (eg HTML, Silverlight, Flash, etc). Designed for super-lightweight clients.
2009-04-22 10:10:19 +00:00
Melanie Thielker d91330ea35 Add PlacesQuery packet 2009-04-20 20:43:48 +00:00
Justin Clarke Casey bd1b478f2c * Change inventory archiver module to use profile cache
* Clean up some log messages
2009-04-17 19:11:03 +00:00
Adam Frisby 03687e2b43 * Added some debug info if MXP is enabled. 2009-04-17 05:23:36 +00:00
Melanie Thielker 4b85cbf0b6 Correctly flag group owned prims in the land prim list 2009-04-16 01:01:40 +00:00
Melanie Thielker ac96722c1d Fix build break and change some groups interfaces 2009-04-16 00:46:24 +00:00
Melanie Thielker 7306b73f02 Commit the group deeding support, thank you, mcortez 2009-04-15 21:07:09 +00:00
diva 0413d052a3 Adds session authentication upon NewUserConnections. Adds user key authentication (in safemode only) upon CreateChildAgents. All of this for Hypergrid users too. This addresses assorted spoofing vulnerabilities. 2009-04-14 19:35:35 +00:00
Melanie Thielker a0417f5791 Thank you, Fly-Man, for a patch that adds the stub to handle the
avatar interests update.
2009-04-14 03:44:27 +00:00
nlin 8e6c20b27f Handle ObjectSpin* packets to spin physical prims on Ctrl+Shift+Drag
Addresses Mantis #3381

The current implementation works as expected if the object has no rotation or 
only rotation around the Z axis; you can spin the object left or right (around
the world Z axis).

It works a little unexpectedly if the object has a non-Z-axis rotation; in this
case the body is spun about its local Z axis, not the world Z-axis. (But SL 
also behaves oddly with a spin on an arbitrarily rotated object.)
2009-04-10 06:39:52 +00:00
Justin Clarke Casey ed6165ab9c * Apply http://opensimulator.org/mantis/view.php?id=3227
* Implement "Add To Outfit"
* Thanks FredoChaplin
2009-04-07 17:46:23 +00:00
Homer Horwitz 8136cf4075 Thanks jonc, for a patch that adds rendering of classic clouds.
First part of Mantis #964, the necessary clouds image will follow separately.
2009-04-04 15:43:02 +00:00
Melanie Thielker f88d755f96 Add PickInfoReply packet.
Fixes Mantis #3324
2009-03-30 11:51:34 +00:00
diva f7eac63e01 Another bit of refactoring to try to make sense of OpenSim.Framework.Communications. Everything that looks like a service, with service handlers, moved to .Services -- i.e. LoginService and Response, and GridInfoService. The rest of the changes were to adapt to the new locations of those files. 2009-03-29 22:04:45 +00:00
Melanie Thielker c483206fd7 Change the client API to use GridInstantMessage for the "last mile" of IM
sending. With this change, all methods that handle IM now use GridInstantMessage
rather than individual parameters.
2009-03-29 05:42:27 +00:00
Melanie Thielker 404bfdc9a6 Finish the offline IM module (still needs a server). Add rudimentary
support for the mute list (no functionality yet, but allows the
RetrieveInstantMessages event to fire now).
2009-03-29 00:48:34 +00:00
Melanie Thielker 4f6c4378da Add mute list request event and dummy response 2009-03-28 04:21:44 +00:00
Teravus Ovares f5812b3702 * Adds AgentUUIDs into the CourseLocationUpdate to improve compatibility with LibOMV based clients.
* Modifies the IClientAPI!  So client stacks will need to be modified!
2009-03-28 01:40:33 +00:00
Melanie Thielker cbef90fec6 Add the events needed for profiles.
Fixes Mantis #3324
2009-03-27 22:47:41 +00:00
Teravus Ovares 52c482a7a7 * This updates LibOMV to the current release 0.6.0 on March 19 2009
* Important:  HttpServer.dll was changed to HttpServer_OpenSim.dll so that the HttpServer references do not conflict if you've copied the OpenMetaverse.Http.dll and requirements to the OpenSimulator bin folder.
This means that if you reference HttpServer.dll in any projects, you will need to change the reference to HttpServer_OpenSim.dll.   It still uses the Same HttpServer namespace though.
2009-03-27 22:13:09 +00:00
Melanie Thielker 37e81c7d54 Remove a hardcoded flow/dependency on the money module from LLCLientView 2009-03-27 18:51:45 +00:00
Sean Dague 6323516a83 * Appearance patches suite: These patches are applied to allow libomv bots to wear outfits in the future.
This functionality will be upstreamed later.
** Fixed call of new AvatarAppearance without arguments, which caused bots look like clouds of gas
** Added a SendAvatarData in ScenePresence.SetAppearance, which is expected after SetAppearance is run
** Fixed AssetXferUploader: CallbackID wasn't being passed on on multiple packets asset uploads
** Set VisualParams in AvatarAppearance to stop the alien looking bot from spawning and now looks a little better.
*** TODO: Set better VisualParams value then 150 to everything
2009-03-25 20:15:46 +00:00
lbsa71 613201e220 * Normalized and pulled GetInventorySkeleton up. 2009-03-20 17:25:12 +00:00
lbsa71 feaa645071 * De-duplicated login service some more
* Normalized m_inventoryService
  * Pulled AddActiveGestures up
2009-03-20 06:49:12 +00:00
Justin Clarke Casey bd2180d9af * refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly 2009-03-19 18:11:44 +00:00
Justin Clarke Casey 7658e30dfc * minor: remove compiler warning 2009-03-17 21:20:58 +00:00
Homer Horwitz 66f0445173 Mantis#3306: Thanks tlaukkan for a patch that
adds primitive hierarchies support to MXP and improves client disconnect handling.
2009-03-16 21:41:51 +00:00
Homer Horwitz abc5df12c8 This patch improves MXP connect and disconnect functionality.
- Avatars are now properly on top of terrain.
- ScenePresence is now removed from Scene only once.
Fixes Mantis #3302. Thanks tlaukkan.
2009-03-15 21:34:28 +00:00
Dahlia Trimble 0d37907c58 Thanks Tommil for a patch which added support for creating user accounts automatically in local sandbox if
accounts authenticate is set off and connecting with MXP protocol. Mantis #3300
2009-03-15 16:17:01 +00:00
lbsa71 33f511ee4b * Another stab at refactoring up the CustomiseResponse function. Two fixes:
* Sometimes, null is a valid return value to indicate 'none found'. doh.
  * Sometimes, the Grid server does not send simURI - this you need to reconstruct yourself. Euw.

(I believe) this solves mantis issue #3287
2009-03-12 10:50:59 +00:00
lbsa71 2133d35831 * Reverted r8750 to do another round of debugging on mantis #3287 2009-03-11 19:19:48 +00:00
lbsa71 0df0258087 *** POTENTIAL BREAKAGE ***
* Finally got to the point where I could pull up the CustomiseResponse function. Major de-duplication.
* Introduced FromRegionInfo on RegionProfileData
* This revision needs both grid and standalone testing galore.

Work in progress!
2009-03-10 12:11:19 +00:00
lbsa71 1917238cd3 * Re-aligned CustomiseResponse function for imminent up-pulling 2009-03-10 11:47:34 +00:00
Jeff Ames 112a1af3a6 Update svn properties, minor formatting cleanup. 2009-03-10 00:03:26 +00:00
Justin Clarke Casey 051096e8ae * minor: remove some mono compiler warnings 2009-03-09 19:58:39 +00:00
lbsa71 4f23718102 Thank you tlaukkan for a patch that: Upgraded to MXP 0.4 version and cleaned up field naming.
* Updated code to compile against MXP 0.4 version.
* Cleaned up field naming conventions.
* Added support for logging in with region name.
* Filled in new fields of JoinResponseMEssage.
* Added support for SynchronizationBeginEvent and SynchronizationEndEvent.
* Commented out periodic debug log.
* Added networking startup log messages.

This closes mantis #3277
2009-03-08 19:33:19 +00:00
Justin Clarke Casey fc2c73d5c6 * minor: remove some mono compiler warnings 2009-03-06 21:00:15 +00:00
MW 84d6b02475 Renamed ILoginRegionsConnector to ILoginServiceToRegionsConnector and moved it from OpenSim.Client.Linden to OpenSim.Framework. 2009-03-03 16:36:21 +00:00
MW 7a3bb77df9 forgotten files 2009-03-03 15:45:52 +00:00
MW 171015f65f Moved Linden protocol login handling to modules in OpenSim.Client.Linden. There are two region modules in there LLStandaloneLoginModule (for standalone mode) and LLProxyLoginModule (for grid mode which just handles incoming expect_user and logoff_user messages from the remote login server)
Changed OpenSim.Framework.Communications.Tests.LoginServiceTests to use the LLStandaloneLoginService (from the LLStandaloneLoginModule) rather than LocalLoginService. Really these login tests should most likely be somewhere else as they are testing specific implementations of login services. 
Commented out the old LocalLoginService as its no longer used, but want to check there are no problems before it gets deleted.
2009-03-03 15:41:21 +00:00
MW 76133d0763 Refactoring of CreateCommsManagerPlugin.
Plus some general cleanup of a few other files (deleting excess blank lines etc)
2009-03-03 12:51:54 +00:00
MW 03b8eddc37 Added OpenSim.Client.Linden which is a (non shared) region module that creates and initialises the LindenClientStack (or actually whatever client stack was set in opensim.ini) for that region. Currently this module is still at a early stage so just for testing, so its hardcoded to be disabled. To enable first turn off auto creation of the client stack in opensimbase (see last revision) and then in OpenSim.Client.Linden.LLClientStackModule change bool m_createClientStack = false; to true. 2009-03-02 17:18:24 +00:00
Charles Krinke dc314ee50c Mantis#3249. Thank you kindly, Tlaukkan (Tommil) for a patch that:
* Removed compiler warnings
* Updated protobuf-net and MXP license files.
2009-03-01 19:33:12 +00:00
Dahlia Trimble 63992d92fe Thanks tommil for mantis #3248 - a patch that adds support for avatar movement to MXP module. 2009-03-01 18:31:27 +00:00
Jeff Ames 808e4a847a Update svn properties, add copyright headers, minor formatting cleanup. 2009-03-01 09:15:31 +00:00
MW d6b8b41a5b Applied Patch from mantis #3245. Thanks tlaukkan/Tommil 2009-02-28 14:04:02 +00:00
MW 95230c244c Applied patch from Mantis# 3240, thanks tlaukkan/Tommil 2009-02-27 14:50:49 +00:00
Melanie Thielker ed2de7ac82 Plumb in the RetrieveInstantMessages event that is sent by the viewer
when it is ready to receive offline IM
2009-02-26 20:11:55 +00:00
Justin Clarke Casey 36e648a37a * minor: Remove most mono compiler warnings 2009-02-25 20:53:02 +00:00
lbsa71 309eaf4735 * Applied a patch that: Added prim parameters support to MXP client
* Updated MXP to contain extension fragment with prims and updated MXPClientView to fill in the parameters.  
  * Added google protobuffers dll.
  * Update MXP dll.
  * Updated MXPClientView to send prim parameters as Perception event extension
  * Started OpenSim and connected with IdealistViewer via MXP and ensured from log that parameters are being sent.
  * Ensured that nant test target runs succesfully.  
This closes mantis #3229. Thanks, tlaukkan!
2009-02-25 16:29:43 +00:00
diva c31e2d5987 Minor guard protecting against hackers like me who manipulate region UUIDs directly. 2009-02-24 04:00:54 +00:00
Jeff Ames f175cb7e8c Update svn properties, add copyright headers, minor formatting cleanup. 2009-02-23 10:36:16 +00:00
Adam Frisby c2f3ff872d * Performance Changes:
* Moves Entity Updates into a seperate thread, allowing for OpenSim to utilize a computers CPU more effectively in return for potentially greater user and prim capacity.
* Removes an expensive Sqrt call performed during Update on each object. This should lower CPU requirements for high-prim regions with physics enabled.
* MXP Changes: Centers the region around 0,0 for primitives instead of 128,128. Prim display should now look more correct for MXP viewers.
2009-02-23 06:55:42 +00:00
Adam Frisby 648f55ed11 * MXP Clients are now treated as full root agents - including being given a default avatar.
* MXP Clients now are capable of displaying primitives and objects within the Scene.
2009-02-22 12:45:23 +00:00
Adam Frisby 88d3ce5c64 * And a little more 2009-02-22 10:21:41 +00:00
Adam Frisby fc66d29ca6 * Removing some C#3.0 that snuck in. 2009-02-22 10:20:53 +00:00
Adam Frisby 462daccf18 * Restoring 2009-02-22 10:18:42 +00:00
Adam Frisby 6a29660cdc * Fixing bad SVN commit. 2009-02-22 10:18:21 +00:00
Adam Frisby a7f5e09c7f * Updates MXP.dll to latest version.
* MXP: Corrects an issue whereby session requests were never correctly acknowledged.
2009-02-22 09:31:24 +00:00
Jeff Ames dd828956e6 Update svn properties. 2009-02-22 09:02:27 +00:00
Adam Frisby b7f80ec0b7 * There's always something. Fixes MXP Server so that when it starts up, it actually starts up. 2009-02-22 08:53:56 +00:00
Adam Frisby 937a2e6dca * Adds initial support for the MXP Virtual Worlds protocol (http://www.bubblecloud.org)
* Handled via the MXPModule.cs located in OpenSim.Client.MXP namespace.
* Also implements MXPClientView and MXPPacketServer for IClientAPI compatibility.
* No changes were required to Core to implement this - the thing is self contained in OpenSim.Client.MXP.dll.
* Includes reference implementation of MXP as MXP.dll - this is under the Apache 2.0 license.
* Requires OpenSim.ini setting to enable. "[MXP] \n Enabled=true \n Port=1253"
* May break. Highly untested.
2009-02-22 08:48:55 +00:00