flagflag  If you want to see English page, please click "English" Button at Left.
  • ソース を表示
  • OpenSim/NAT/devel は削除されています。
1: 2015-03-13 (金) 14:38:46 iseki ソース
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


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 4月翌月
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
<今日>

オンライン状況

61 人のユーザが現在オンラインです。 (10 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 61

もっと...

アクセスカウンタ

今日 : 4361436143614361
昨日 : 1889718897188971889718897
総計 : 2341795823417958234179582341795823417958234179582341795823417958
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com