1: 2015-03-21 (土) 12:21:21 iseki |
2: 2015-03-21 (土) 13:38:12 iseki |
| ** Patch for OpenSim in NAT(NAPT) [#k8b9a013] | | ** Patch for OpenSim in NAT(NAPT) [#k8b9a013] |
- | - ''&font(Blue){[[English is Here>../Patch for OpenSim in NAT (E)]]};'' | + | - ''&font(Blue){[[日本語はここ>../Patch for OpenSim in NAT]]};'' |
| #br | | #br |
| | | |
- | *** 概要 [#uc8abf20] | + | *** Summary [#j0164da1] |
- | - ''これは,OpenSim を NATループバック(ヘアピンNAT)機能なしのNAT内で動かすためのパッチです.'' | + | - ''This patch is for OpenSim in NAT Router that has not NAT Loopback (Hairpin NAT) function.'' |
- | - OpenSim-0.8.1 対応.現在はv0.91 (βバージョン) です. | + | - For the OpenSim-0.8.1. Current Version is v0.91b |
- | - HyperGridモード のみ対応 (他のモードでも動くかもしれないが,全て検証するほど暇でもない). | + | - HyperGrid mode is only supported (It might works in other modes, but we have no time to validate all modes). |
- | - 全ての機能をサポートしているわけではありません. | + | - It does not support all the features. |
- | - パッチの効果を最大限に引き出すには,グリッド内の全てのサーバにパッチを適用する必要があります. | + | - To effect the fullest, you must apply the patch to all the servers in the grid. |
- | - このパッチは,OpenSim のコアな部分も書き換えています.このパッチを適用したことにより,OpenSimの誤作動やインベントリの消失などが発生しても,''当方は一切関知しません.全て自己責任で使用してください''. | + | - This patch rewritten core part of OpenSim. Even if malfunction of OpenSim and disappearance of inventories occur by applying this patch, ''we can't take responsibility''. |
- | | + | - ''&font(Red){Please use this at Your Own Risk!!};'' |
- | - &font(Red){''Capability の書き換えは複雑すぎて,副作用が発生する可能性があるので止める -> hosts ファイルで対応 (3/19)''}; | + | |
| #br | | #br |
| | | |
- | *** 機能制限 [#j39f04c5] | + | *** Functional restriction [#n73f1807] |
- | - 同じNAT内の自分の リージョンに直接ログインするためには,Robust サーバにパッチが適用されていなければなりません. | + | - If this patch is not applied to Robust Server, you can not directory login to your own Region in NAT. |
- | - 同じNAT内の自分の リージョンへNAT外の他のリージョンからTPする場合は,TP元の Region サーバにパッチが適用されていなければなりません. | + | - If this patch is not applied to other Region Server, you can not teleport to your own Region in NAT from the other Region. |
- | - つまり,同じNAT内の自分の OpenSim(Region サーバ)にしかパッチが適用されていない場合は,使い物になりません. | + | |
| #br | | #br |
- | *** 注意 [#w75f1b27] | + | |
- | - DB の regions テーブルの ''Token ''カラムを,NAT内PCのプライベートアドレスを保管する場所として流用しています. | + | *** &font(Red){Attention}; [#i4a1fd9a] |
- | -- ソースコードを見る限りでは,TokenカラムデータはHyperGridでは使用されていないように見えます(確証はありません). | + | - &font(Red){This Patch uses ''Token'' column of ''regions'' table of DB as to save private IP address.}; |
- | - %%サーキットデータ クラスの Channel メンバ変数を書き換えています.%% | + | |
- | -- %%送信先サーバがNAT内の場合,最後に ''" [Internal]"'' を追加.%% | + | |
| #br | | #br |
| | | |
- | *** ダウンロード (v0.91) [#zecf805c] | + | *** Download (v0.91b) [#zecf805c] |
| | | |
| **** Patch File [#g434f466] | | **** Patch File [#g434f466] |
| **** Binary [#y50f2888] | | **** Binary [#y50f2888] |
| - [[opensim-0.8.1-nat-0.91.zip>http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim-0.8.1-nat-0.91.zip]] (2015 3/19) | | - [[opensim-0.8.1-nat-0.91.zip>http://www.nsl.tuis.ac.jp/DownLoad/SoftWare/OpenSim/opensim-0.8.1-nat-0.91.zip]] (2015 3/19) |
- | | + | -- Includes Settings for JOG. And some [[NSL modules>../NSL Modules]] are included. But you may be not used these modules. |
- | - [[NSLモジュール>../NSL Modules]] がいくつか入っていますが,使用しなくても問題ありません.Some [[NSL modules>../NSL Modules]] are included. But you may be not used these modules. | + | |
| #br | | #br |
| | | |
- | *** 設定方法 [#dfd4239f] | + | *** Settings [#zf455b05] |
| **** Regions.ini [#ec3bac23] | | **** Regions.ini [#ec3bac23] |
- | - ''InternalAddress'' にはサーバ(PC)の''プライベートIPアドレス''を記述する.0.0.0.0 と記述してはいけない. | + | - Set private IP address of Server to ''InternalAddress''. Don't set 0.0.0.0 |
- | -- Windows の場合は,コンソールウィンドウから ''ipconfig'' コマンドを入力すれば プライベートIPアドレスが表示される. | + | - Set domain name (FQDN) of Server to ''ExternalHostName''. Don't set SYSTEMIP or IP address. |
- | - ''ExternalHostName'' にはサーバ(PC)の''ドメイン名(FQDN)''を記述する.SYSTEMIP またはグローバルなIPアドレスを記述してはいけない. | + | |
- | -- ドメイン名(FQDN)を外部のDNSに登録する(ほとんどの場合はDynamicDNSとなるはず). | + | |
| | | |
- | - サンプル | + | - Example |
| [Remote Test] | | [Remote Test] |
| RegionUUID = ccfaa21e-ed4a-4e2e-bcee-d8a3272a5fdc | | RegionUUID = ccfaa21e-ed4a-4e2e-bcee-d8a3272a5fdc |
| ExternalHostName = sirius.star-dust.jp | | ExternalHostName = sirius.star-dust.jp |
| | | |
- | **** hosts ファイル [#p64fb26f] | + | **** hosts file [#i39a9c2b] |
- | - %%基本的には hosts ファイルを記述しなくても良いはずであるが,もし動作がおかしいサービスがあった場合はViewerが動作するPCの hosts ファイルを記述してみる.%% | + | - &font(Red){You must describe ''hosts'' file}; |
- | - &font(Red){Viewerを起動するPC上の ''hosts ファイルの内容を必ず記述''してください.}; | + | - Example |
- | - 上の例では下記のように記述する | + | |
| 192.168.27.7 sirius.star-dust.jp | | 192.168.27.7 sirius.star-dust.jp |
| | | |
- | - hosts ファイルの場所 | + | - hosts file |
| -- Linux/Unix: /etc/hosts | | -- Linux/Unix: /etc/hosts |
| -- Windows: C:\Windows\System32\drivers\etc\hosts | | -- Windows: C:\Windows\System32\drivers\etc\hosts |
| #br | | #br |
| | | |
- | *** JOGrid で使用する方法 [#hf619c80] | + | *** How to use in [[JOG>http://www.jogrid.net]] [#a114962a] |
- | | + | - Download Binary from here and describe Regions.ini and hosts file |
- | **** JOGrid 内のメイン サーバには全てパッチが適用されています. [#w948a59b] | + | |
- | - Regions.ini を記述する | + | |
- | - Viewerを起動するPC上の hosts ファイルの内容を記述 | + | |
| #br | | #br |
| | | |
- | *** OSGrid で使用する方法 [#d0f2c85a] | + | *** How to use in OSGrid [#kfc2a6d1] |
- | - OSG では Robust (Login) サーバにパッチを適用できませんので,同じNAT内の自分のリージョンに直接ログインすることはできません. | + | - Download Binary from here |
- | - 他のパッチが適用されていないリージョンから直接,移動,TPはできません. | + | - Download setting files (OpenSim.ini, GridCommon.ini, FlotsamCache.ini) from OSG |
- | - ''JOG Gate'' (9999,9886) にはパッチが適用されていますので,''JOG Gate'' を経由して自分のリージョンにTPしてください. | + | - Describe Regions.ini and hosts file |
| #br | | #br |
| | | |
- | *** 自分の管理するグリッドで使用する場合. [#raa6f75e] | + | **** Attention [#q44e6d1f] |
- | - グリッドで管理する全てのOpenSim のソースコードにパッチを適用して,コンパイルする.(Robust サーバを含む) | + | - As we can not apply the patch to Robust (Login) server in OSG, ''you can not log in directly to your own Region'' in the same NAT. |
- | - HyperGrid 接続するユーザにパッチ適用済みのバイナリを使用するように指示する. | + | - ''You can not directory TP or move into your own Region'' in the same NAT from other Regions that are not applied the Patch. |
| + | - Since ''JOG Gate'' (9999,9886) has been patched,please TP to your region via the ''JOG Gate'' |
| #br | | #br |
| | | |
- | *** 原理・仕組み [#ee0bd468] | + | *** Hoe to use in your own managed grid. [#yaa1b127] |
| + | - Apply the Patch to all Servers in your own Grid. (include Robust Server) |
| #br | | #br |
| | | |
- | *** トラブルシューティング [#s63053eb] | + | ** Other Informations [#va5af4ae] |
| + | |
| + | *** mechanisms [#e9eb1936] |
| #br | | #br |
| | | |
- | ** [[devel>../NAT]] [#c6340d7a] | + | *** Trouble Shooting [#wb21da50] |
| #br | | #br |