flagflag  
  • View the source.
  • OpenSim/NAT/devel has been deleted.
1: 2015-03-13 (Fri) 14:38:46 iseki source
Line 1: Line 1:
 +** NATループバック機能つきルータ [#tbe916c1]
 +- バッファロー
 +-- BBR-4MG
 +-- BBR-4HG
 +- Yamaha
 +-- RT-57i
 +-- RT-58i
 +#br
 +** サーバの NAT 越え [#n297f426]
 +- UDP でのアドレス通知は無くなった(プロトコルとしては残っているが,使われなくなった)
 +- InternalAddress の使い方が簡単になった.(というか殆ど使用されていない)
 +#br
 +*** ServerIPAddress [#w8cc96d3]
 +- OpenSim/Framework/RegionInfo.cs
 +- OpenSim/Services/Interfaces/IGridService​.cs
 +-- ''DB の regions の Token を間借り (InternalIPAddess を入れる)''
 +#br
 +**** IGridService.cs [#cdda68b5]
 +- OpenSim.exe
 +-- public GridRegion(Dictionary<string, object> kvp)
 +--- 他のリージョンの情報を得る
 +-- public Dictionary<string, object> ToKeyValuePairs()
 +--- 自分のリージョンの情報を書き込む
 +
 +- Robust.exe
 +-- public GridRegion(Dictionary<string, object> kvp)
 +--- 他のリージョンの情報を得る
 +-- public Dictionary<string, object> ToKeyValuePairs()
 +--- ???
 +#br
 +
 +***  NetworkUtil.cs [#g5a13aae]
 +- OpenSim/Framework/NetworkUtil.cs
 +#br
 +*** sim_ip [#gd3d56e1]
 +- OpenSim/Services/LLLoginService/LLLoginR​esponse.cs
 +#br
 +
 +*** SimIP [#b0fe82a7]
 +- OpenSim/Region/ClientStack/Linden/UDP/LL​ClientView.cs
 +-- CrossRegion(ulong newRegionHandle, Vector3 pos, Vector3 lookAt, IPEndPoint externalIPEndPoint, string capsURL)
 +--- OpenSim/Region/CoreModules/Framework/Ent​ityTransfer/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/Ent​​ityTransfer/EntityTransferModule.cs
 +#br
 +
 +*** IP [#o8cf94ba]
 +- OpenSim/Region/CoreModules/Framework/Eve​ntQueue/EventQueueHelper.cs
 +-- EnableSimulator(ulong handle, IPEndPoint endPoint, UUID avatarID, int regionSizeX, int regionSizeY)
 +--- OpenSim/Region/CoreModules/Framework/Ent​​ityTransfer/EntityTransferModule.cs
 +#br
 +
 +*** Caps [#i7b35e3d]
 +- OpenSim/Capabilities/Caps.cs
 +-- HostName を書き換え可能にする
 +- OpenSim/Region/CoreModules/Framework/Cap​​s/CapabilitiesModule.cs
 +-- 接続してきた Viewer のアドレスを直接知ることができない.
 +-- aCircuit (AgentCircuitData) の Channel から Region のプライベートアドレス情報を取り出す
 +- OpenSim/Region/CoreModules/Framework/Ent​ityTransfer/EntityTransferModule.cs
 +
 +- OpenSim/Services/LLLoginService/LLLoginS​ervice.cs
 +-- ''aCircuit (AgentCircuitData) の Channel に Region のプライベートアドレス情報を載せる ''
 +#br
 +
 +*** Uploader [#zaa53f1d]
 +- OpenSim/Region/ClientStack/Linden/Caps/U​ploadBakedTextureModule.cs
 +-- 接続してきた Viewer のアドレスを直接知ることができない.
 +-- aCircuit (AgentCircuitData) の Channel から Region のプライベートアドレス情報を取り出す
 +#br
 +
 +** -- OLD -- サーバの NAT 越え -- OLD -- [#gc815299]
 +
 +*** ExternalHostName [#xad48784]
 +- ExternalIPAddress を定義して,ExternalHostName と明確に役目を分離
 +- ExternalHostName : CAP用 URL生成に使用
 +- ExternalIPAddress : UDP通信のためのサーバIP通知に使用.NATの外側のアドレス
 +- 関連ファイル
 +--OpenSim/Framework/RegionInfo.cs
 +--- ExternalIPAddress を定義
 +--OpenSim/Framework/Communications/Clien​ts/GridClient.cs
 +--OpenSim/Framework/Communications/Tests​/LoginServiceTests.cs
 +--OpenSim/Services/Interfaces/IGridServi​ce.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/GridXm​lRpcModule.cs
 +--OpenSim/Grid/GridServer.Modules/GridRe​stModule.cs
 +--OpenSim/Region/Framework/Scenes/Scene.​cs
 +--OpenSim/Region/Framework/Scenes/Tests/​SceneTests.cs
 +--OpenSim/Tests/Common/Setup/SceneSetupH​elpers.cs
 +
 +--OpenSim/Framework/NetworkUtil.cs
 +--- GetIPformString() を追加
 +--- GetNATIP() を追加
 +--OpenSim/Region/Framework/Scenes/SceneC​ommunicationService.cs
 +--OpenSim/Grid/UserServer.Modules/UserLo​ginService.cs
 +--OpenSim/ApplicationPlugins/RemoteContr​oller/RemoteAdminPlugin.cs
 +--OpenSim/Client/Linden/LLStandaloneLogi​nService.cs
 +#br
 +
 +*** NATの外側と内側へのUDPアドレスの通知[#bb09451c]
 +- 外側へは ExternalIPAddress を通知
 +- 内側へは InternalEndPoint.IPAddress または ローカルIP(自動取得)を通知
 +- Opensim/Framework/NetworkUtil.cs
 +-- GetNATIP() を作成
 +#br
 +**** sim_ip (login) [#z711be6e]
 +- OpenSim/Framework/Communications/Service​s/LoginResponse.cs
 +- OpenSim/Client/Linden/LLStandaloneLoginS​ervice.cs
 +-- SimAddress
 +-- OpenSim/Grid/UserServer.Modules/UserLogi​nService.cs
 +--- PrepareLoginToRegion(RegionProfileData regionInfo, UserProfileData user, LoginResponse response, IPEndPoint remoteClient)
 +-- OpenSim/Client/Linden/LLStandaloneLoginS​ervice.cs
 +--- PrepareLoginToRegion(RegionInfo regionInfo, UserProfileData user, LoginResponse response, IPEndPoint remoteClient)
 +
 +**** sim-ip-and-port [#u82f1ea4]
 +- OpenSim/Region/CoreModules/Framework/Eve​ntQueue/EventQueueHelper.cs:
 +-- EstablishAgentCommunication(UUID agentID, ''string simIpAndPort'', string seedcap)
 +-- OpenSim/Region/CoreModules/Framework/Eve​ntQueue/EventQueueGetModule.cs
 +--- EstablishAgentCommunication(UUID avatarID, ''IPEndPoint endPoint'', string capsPath)
 +--- OpenSim/Region/Framework/Scenes/SceneCom​municationService.cs
 +---- InformClientOfNeighbourAsync(ScenePresen​ce avatar, AgentCircuitData a, GridRegion reg, ''IPEndPoint endPoint'', bool newAgent)
 +----- EnableNeighbourChildAgents(ScenePresence​ avatar, List<RegionInfo> lstneighbours)
 +----- InformNeighborChildAgent(ScenePresence avatar, GridRegion region)
 +**** SimIP (CrossRegion, TeleportFinish)[#f82b2f72]
 +-OpenSim/Region/CoreModules/Framework/Ev​entQueue/EventQueueHelper.cs
 +-- CrossRegion(ulong handle, Vector3 pos, Vector3 lookAt, ''IPEndPoint newRegionExternalEndPoint'', string capsURL, UUID agentID, UUID sessionID)
 +-- OpenSim/Region/Framework/Scenes/SceneCom​municationService.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/SceneCom​municationService.cs
 +--- RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, Vector3 lookAt, uint teleportFlags)
 +
 +**** IP (EnableSimulator)[#u428c951]
 +- OpenSim/Region/CoreModules/Framework/Eve​ntQueue/EventQueueHelper.cs
 +-- EnableSimulator(ulong handle, IPEndPoint endPoint)
 +-- OpenSim/Region/Framework/Scenes/SceneCom​municationService.cs
 +--- InformClientOfNeighbourAsync(ScenePresen​ce avatar, AgentCircuitData a, GridRegion reg, ''IPEndPoint endPoint'', bool newAgent)
 +---- EnableNeighbourChildAgents(ScenePresence​ avatar, List<RegionInfo> lstneighbours)
 +---- InformNeighborChildAgent(ScenePresence avatar, GridRegion region)
 +#br
 +
 +*** 注意: NetworkUtil [#t507a618]
 +- static NetworkUtil() で address.''IPv4Mask'' は mono では未実装!!
 +#br


Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

77 user(s) are online (36 user(s) are browsing xpwiki)

Members: 0
Guests: 77

more...

Access Counter

Today : 7968796879687968
Yesterday : 1306913069130691306913069
Total : 2363276423632764236327642363276423632764236327642363276423632764
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com