NATループバック機能つきルータ
- バッファロー
- BBR-4MG
- BBR-4HG
- Yamaha
- RT-57i
- RT-58i
サーバの NAT 越え
- UDP でのアドレス通知は無くなった(プロトコルとしては残っているが,使われなくなった)
- InternalAddress の使い方が簡単になった.(というか殆ど使用されていない)
ServerIPAddress
- OpenSim/Framework/RegionInfo.cs
- OpenSim/Services/Interfaces/IGridService.cs
- DB の regions の Token を間借り (InternalIPAddess を入れる)
- DB の regions の Token を間借り (InternalIPAddess を入れる)
IGridService.cs
- OpenSim.exe
- public GridRegion(Dictionary<string, object> kvp)
- 他のリージョンの情報を得る
- public Dictionary<string, object> ToKeyValuePairs()
- 自分のリージョンの情報を書き込む
- public GridRegion(Dictionary<string, object> kvp)
- Robust.exe
- public GridRegion(Dictionary<string, object> kvp)
- 他のリージョンの情報を得る
- public Dictionary<string, object> ToKeyValuePairs()
- ???
- ???
- public GridRegion(Dictionary<string, object> kvp)
SimIP
- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
- CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint externalIPEndPoint, string capsURL)
- OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs
- SendRegionTeleport(ulong regionHandle, byte simAccess, IPEndPoint newRegionEndPoint, uint locationID, uint flags, string capsURL)
- OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
- CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint externalIPEndPoint, string capsURL)
- OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs
- CrossRegion() : newRegionExternalEndPoint
- TeleportFinishEvent() : regionExternalEndPoint
IP
- OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueHelper.cs
- EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY)
- OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
- OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
- EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY)
Caps
OpenSim/Capabilities/Caps.csHostName を書き換え可能にする
OpenSim/Region/CoreModules/Framework/Caps/CapabilitiesModule.cs接続してきた Viewer のアドレスを直接知ることができない.aCircuit (AgentCircuitData) の Channel から Region のプライベートアドレス情報を取り出す
OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
OpenSim/Services/LLLoginService/LLLoginService.csaCircuit (AgentCircuitData) の Channel に Region のプライベートアドレス情報を載せる
Uploader
OpenSim/Region/ClientStack/Linden/Caps/UploadBakedTextureModule.cs接続してきた Viewer のアドレスを直接知ることができない.aCircuit (AgentCircuitData) の Channel から Region のプライベートアドレス情報を取り出す
Private IP 情報
- hash[]
- OpenSim/Server/Handlers/Hypergrid/HypergridHandlers.cs
- OpenSim/Server/Handlers/Hypergrid/UserAgentServerConnector.cs
- OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs
- OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs
Teleport
- OpenSim/Region/Framework/Interfaces/IEntityTransferModule.cs
- OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs
- OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
- OpenSim/Region/Framework/Scenes/Scene.cs
- OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
通常のTeleport
- Scene.cs: RequestTeleportLocation()
- Teleport()
- TeleportAgentToDifferentRegion()
- DoTeleportInternal()
Telepot to Home
- OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
- TeleportHome()
- DoTeleport()
- DoTeleportInternal()
ExternalHostName
- ExternalIPAddress を定義して,ExternalHostName と明確に役目を分離
- ExternalHostName : CAP用 URL生成に使用
- ExternalIPAddress : UDP通信のためのサーバIP通知に使用.NATの外側のアドレス
- 関連ファイル
- OpenSim/Framework/RegionInfo.cs
- ExternalIPAddress を定義
- OpenSim/Framework/Communications/Clients/GridClient.cs
- OpenSim/Framework/Communications/Tests/LoginServiceTests.cs
- OpenSim/Services/Interfaces/IGridService.cs
- OpenSim/Data/RegionProfileData.cs
- serverIP -> serverName
- serverIPadr を新しく定義
- OpenSim/Data/RegionProfileServiceProxy.cs
- OpenSim/Data/MySQL/MySQLManager.cs
- OpenSim/Data/MSSQL/MSSQLGridData.cs
- OpenSim/Data/SQLite/SQLiteManager.cs
- OpenSim/Grid/GridServer.Modules/GridXmlRpcModule.cs
- OpenSim/Grid/GridServer.Modules/GridRestModule.cs
- OpenSim/Region/Framework/Scenes/Scene.cs
- OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs
- OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
- OpenSim/Framework/RegionInfo.cs
- OpenSim/Framework/NetworkUtil.cs
- GetIPformString() を追加
- GetNATIP() を追加
- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
- OpenSim/Grid/UserServer.Modules/UserLoginService.cs
- OpenSim/ApplicationPlugins/RemoteController/RemoteAdminPlugin.cs
- OpenSim/Client/Linden/LLStandaloneLoginService.cs
- OpenSim/Framework/NetworkUtil.cs
NATの外側と内側へのUDPアドレスの通知
- 外側へは ExternalIPAddress を通知
- 内側へは InternalEndPoint.IPAddress または ローカルIP(自動取得)を通知
- Opensim/Framework/NetworkUtil.cs
- GetNATIP() を作成
- GetNATIP() を作成
sim_ip (login)
- OpenSim/Framework/Communications/Services/LoginResponse.cs
- OpenSim/Client/Linden/LLStandaloneLoginService.cs
- SimAddress
- OpenSim/Grid/UserServer.Modules/UserLoginService.cs
- PrepareLoginToRegion(RegionProfileData regionInfo, UserProfileData user, LoginResponse response, IPEndPoint remoteClient)
- OpenSim/Client/Linden/LLStandaloneLoginService.cs
- PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response, IPEndPoint remoteClient)
sim-ip-and-port
- OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueHelper.cs:
- EstablishAgentCommunication(UUID agentID, string simIpAndPort, string seedcap)
- OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueGetModule.cs
- EstablishAgentCommunication(UUID avatarID, IPEndPoint endPoint, string capsPath)
- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
- InformClientOfNeighbourAsync(ScenePresence avatar, AgentCircuitData a, GridRegion reg, IPEndPoint endPoint, bool newAgent)
- EnableNeighbourChildAgents(ScenePresence avatar, List<RegionInfo> lstneighbours)
- InformNeighborChildAgent(ScenePresence avatar, GridRegion region)
- InformClientOfNeighbourAsync(ScenePresence avatar, AgentCircuitData a, GridRegion reg, IPEndPoint endPoint, bool newAgent)
SimIP (CrossRegion, TeleportFinish)
- OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueHelper.cs
- CrossRegion(ulong handle, Vector3 pos, Vector3 lookAt, IPEndPoint newRegionExternalEndPoint, string capsURL, UUID agentID, UUID sessionID)
- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
- ScenePresence CrossAgentToNewRegionAsync(ScenePresence agent, Vector3 pos, uint neighbourx, uint neighboury, bool isFlying)
- TeleportFinishEvent(ulong regionHandle, byte simAccess, IPEndPoint regionExternalEndPoint, uint locationID, uint flags, string capsURL, UUID agentID)
- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
- RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, Vector3 lookAt, uint teleportFlags)
IP (EnableSimulator)
- OpenSim/Region/CoreModules/Framework/EventQueue/EventQueueHelper.cs
- EnableSimulator(ulong handle, IPEndPoint endPoint)
- OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs
- InformClientOfNeighbourAsync(ScenePresence avatar, AgentCircuitData a, GridRegion reg, IPEndPoint endPoint, bool newAgent)
- EnableNeighbourChildAgents(ScenePresence avatar, List<RegionInfo> lstneighbours)
- InformNeighborChildAgent(ScenePresence avatar, GridRegion region)
- InformClientOfNeighbourAsync(ScenePresence avatar, AgentCircuitData a, GridRegion reg, IPEndPoint endPoint, bool newAgent)
Counter: 3785,
today: 2,
yesterday: 2
最終更新: 2015-04-02 (木) 00:36:34 (JST) (3578d) by iseki