sl_relay[edit]

日本語はこちら

Outline[edit]

Outline of Functions.[edit]

  1. You can execute Second Life from a PC with private IP address behind a firewall.
  2. You can specifiy the port number for firewall access.
  3. Access to sl_relay can be controlled.
  4. Full HTTPS access between Viewer and Relay Server is possible. (default is HTTP)
  5. MusicURL and MediaURL(High 23) is supported. However, it is recommended that a Web proxy be used.
  6. External Web Proxy (e.g. squid) connection is supported. Moreover, an internal Web Proxy function is included.
  7. OpenSim is supported. (Test version)
  8. sl_cache connection is supported. (sl_cache is the texture cache server for sl_relay.)
  9. When sl_cache is down or response is too slow, sl_relay automatically disconnects from the cache server after short delay.
  10. Access to Second Life SIMs can be controlled, by Avatar, viewer machine IP or at the global SIM level through the use of white lists with sl_info.

Annoyances or Bugs.[edit]

  1. You might see the same message two or more times in IM or chat. The cause is unknown, sorry.
  2. A stress test of sl_relay has not been carried out.

Explanation[edit]

  1. Over the Firewall
  2. Cooperation with the Cache Server
  3. Cooperation with the Information Server
  4. Communication by HTTPS
  5. Web Proxy Function
  6. When the server has two or more network interfaces
  7. Rewrite Viewer Version
  8. Log and Debug Mode
  9. Security
  10. Get Grid Information

Configuration[edit]

Items[edit]

Communication port with SIM Server[edit]
Communication port with Viewer[edit]
Control port of Relay Controller[edit]
HTTPS(SSL)[edit]
Access control[edit]
Etc. etc.[edit]

Execute Options[edit]

sl_relay  [-s server_name[:port]] [-p port] [-f config_file] [-u user_name]
          [-i interface_address]
          [-pid pid_file] [-l [log_file]] [-v syslog_level]
          [-cs [cache_server:port]] [-cg] [-cp]
          [-is [info_server:port]] [-wf]
          [-vs [voice_relay_server:port]]
          [-as] [-aca] [-ano]
          [-xp [web_proxy_server:porti]] [-ip [port]] [-ipx [port]] [-mm]
          [-ver version]
          [-d] [-x] [-xt] [-xu] [-xuf]
          [--version] [--help] [-h]

-s   : specify login server of Second Life. default is login.agni.lindenlab.com:443
-p   : port number that Viewer connects. default is 8100.
-f   : configuration file. default is /usr/local/etc/sl_proxy/sl_relay.conf
-u   : specify effective user.
-i   : specify Viewer side network interface IP address. 
      if your server has two or more network interfaces,
       you need to use this option.
-pid : specify pid file.
-l   : specify log file. default is /var/sl_proxy/sl_relay.log
-v   : level of syslog. default is LOG_INFO (7).

-cs  : specify sl_cache cache server. default is localhost:8200
-cg  : only get cache data. do not save data.
-cp  : only save cache data. do not get data.
                
-is  : specify sl_info infomation server. default is localhost:8086
-wf  : The access limitation to SIM by the white list is done in cooperation with sl_info.
                
-vs  : specify sl_voice_relay server. default is localhost:8088
                 
-as  : use HTTPS between Viewer and Relay Server.
-aca : confirms Second Life Server by using C:\Program Files\SecondLife\app_settings\CA.pem
-ano : no HTTPS communication. Do not use, usually. It is for OpenSim olny. (Experimental option)
                
-xp  : specify external web proxy server.
-ip  : use internal web proxy function with full access mode. 
       excute internal web proxy process. port number can be specified.
-ipx : use internal web proxy function with restricted mode. 
      excute internal web proxy process.  port number can be specified.
-mm  : relay MusicURL and MediaURL(High 23). If it is possible, to use web proxy function of viewer.
       
-ver : rewrite Viewer version. 
       Please use this temporarily only when you cannot immediately install new Viewer.
       It is dangerous to use this lasting long, and never do it!!
       
-d   : debug mode. display debug information
-x   : TCP(HTTP/HTTPS) packets are saved at working directory and UDP packet headers are printed.
-xt  : TCP(HTTP/HTTPS) packets are saved at working directory.
-xu  : UDP packet headers are printed.
-xuf : UDP packet is full dumped.
       
--version  : display Version information.
--help, -h : display this Help messages.

Processes[edit]

Relationship between Processes[edit]

sl_relay.png

Transformation of UDP and HTTP/HTTPS Packets[edit]

sl_relay2.png

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2025-04-15 (火) 19:21:13