flagflag  If you want to see English page, please click "English" Button at Left.
1: 2009-12-29 (火) 23:36:43 iseki ソース 現: 2015-04-02 (木) 00:36:34 iseki ソース
Line 1: Line 1:
-** サーバの NAT 越え [#gc815299]+** 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 
 + 
 +- OpenSim/Region/ClientStack/Linden/Caps/E​ventQueue/EventQueueHelper.cs 
 +-- CrossRegion() : newRegionExternalEndPoint 
 +-- TeleportFinishEvent() : regionExternalEndPoint 
 +#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/C​ap​s/CapabilitiesModule.cs%% 
 +-- %%接続してきた Viewer のアドレスを直接知ることができない.%% 
 +-- %%aCircuit (AgentCircuitData) の Channel から Region のプライベートアドレス情報を取り出す%% 
 +- %%OpenSim/Region/CoreModules/Framework/E​ntityTransfer/EntityTransferModule.cs%% ​
 + 
 +- %%OpenSim/Services/LLLoginService/LLLogi​nService.cs%% 
 +-- %%''aCircuit (AgentCircuitData) の Channel に Region のプライベートアドレス情報を載せる ''%% 
 +#br 
 + 
 +*** Uploader [#zaa53f1d] 
 +- %%OpenSim/Region/ClientStack/Linden/Caps​/UploadBakedTextureModule.cs%% 
 +-- %%接続してきた Viewer のアドレスを直接知ることができない.%% 
 +-- %%aCircuit (AgentCircuitData) の Channel から Region のプライベートアドレス情報を取り出す%% 
 +#br 
 + 
 +*** Private IP 情報 [#sbda997c] 
 +- hash[] 
 +-- OpenSim/Server/Handlers/Hypergrid/Hyperg​ridHandlers.cs 
 +-- OpenSim/Server/Handlers/Hypergrid/UserAg​entServerConnector.cs 
 +-- OpenSim/Services/Connectors/Hypergrid/Ga​tekeeperServiceConnector.cs 
 +-- OpenSim/Services/Connectors/Hypergrid/Us​erAgentServiceConnector.cs 
 +#br 
 +*** Teleport [#w826f36a] 
 +- OpenSim/Region/Framework/Interfaces/IEnt​ityTransferModule.cs 
 +- OpenSim/Region/CoreModules/Framework/Ent​ityTransfer/EntityTransferModule.cs 
 +- OpenSim/Region/CoreModules/Framework/Ent​ityTransfer/HGEntityTransferModule.cs 
 +- OpenSim/Region/Framework/Scenes/Scene.cs​ 
 +- OpenSim/Region/CoreModules/Avatar/Lure/H​GLureModule.cs 
 +#br 
 +**** 通常のTeleport [#y72e49f1] 
 +- Scene.cs: RequestTeleportLocation() 
 +- Teleport() 
 +- TeleportAgentToDifferentRegion() 
 +- DoTeleportInternal() 
 +#br 
 +**** Telepot to Home [#y99bf8b4] 
 +- OpenSim/Region/CoreModules/Framework/Ent​ityTransfer/HGEntityTransferModule.cs 
 +- TeleportHome() 
 +- DoTeleport() 
 +- DoTeleportInternal() 
 +#br 
 + 
 +** -- OLD -- サーバの NAT 越え -- OLD -- [#gc815299] 
*** ExternalHostName [#xad48784] *** ExternalHostName [#xad48784]
- ExternalIPAddress を定義して,ExternalHostName と明確に役目を分離 - ExternalIPAddress を定義して,ExternalHostName と明確に役目を分離
- ExternalHostName : CAP用 URL生成に使用 - ExternalHostName : CAP用 URL生成に使用
- ExternalIPAddress : UDP通信のためのサーバIP通知に使用.NATの外側のアドレス - ExternalIPAddress : UDP通信のためのサーバIP通知に使用.NATの外側のアドレス
-*** [#bb09451c]+- 関連ファイル 
 +--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年 5月翌月
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
<今日>

オンライン状況

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

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

もっと...

アクセスカウンタ

今日 : 8363836383638363
昨日 : 1716817168171681716817168
総計 : 2350482423504824235048242350482423504824235048242350482423504824
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com