1: 2011-12-30 (金) 11:26:19 iseki |
2: 2011-12-30 (金) 13:16:08 iseki |
| ** Configuration of anm_server [#ha01b244] | | ** Configuration of anm_server [#ha01b244] |
| + | *** Fire Wall [#s0bfd6a4] |
| + | - If your server is in the Fire Wall (or NAPT/NAT), you need to open the below ports of Fire Wall (or NAPT/NAT). (both incoming and outgoing) |
| + | -- ''Server Port'' (default is 8200) and ''MinUdpDataPort'' to ''MaxUdpDataPort'' (default is 8201-8300) |
| + | |
| + | *** /etc/init.d/anm_server [#zdab553a] |
| + | Execution Script |
| + | **** SPORT [#x1d387ce] |
| + | - Specify the ''Server Port''. Default is 8200 |
| + | |
| + | **** CONFF [#b3a50d84] |
| + | - Specify the configuration file of system. Default is /usr/local/etc/anm_server/anm_server.conf |
| + | |
| + | **** EUSER [#s85f0bb0] |
| + | - Specify the effective user that executes anm_server. Default is nobody. |
| + | - If you changed effective user, please change owner of working directory (default is /var/anm_server) and /usr/local/etc/anm_server to changed effective user. |
| + | |
| + | **** LOGFL [#i74ca7ec] |
| + | - Specify the log file name. Log file is created in working directory (default is /var/anm_server). |
| + | - Default of log file name is blank. This means that log file is not created. |
| + | - Perhaps, it is faster for operation of server not to create a log file. |
| + | #br |
| + | |
| + | *** anm_server.conf [#wbcea7fd] |
| + | Configuration File of System. Default is /usr/local/etc/anm_server/anm_server.conf |
| + | |
| + | **** MinUdpDataPort [#f9adf1df] |
| + | - The minimum of the UDP port number which anm_server uses. Default is 8201. |
| + | |
| + | **** MaxUdpDataPort [#i7535efb] |
| + | - The maximum of the UDP port number which anm_server uses. Default is 8300. |
| + | |
| + | **** MaxIdleTime [#z9aa8f1e] |
| + | - It is idle time that since animation data is not sent until a relay process is terminated. Unit is second. |
| + | - Default is 600s (10 minutes). |
| + | |
| + | **** Temp_File_Dir [#f199fb30] |
| + | - Specify the working directory. Default is /var/anm_server/ |
| + | - It is needed that an effective user can write in this directory. |
| + | |
| + | **** Hosts_Allow_File [#fee46cf6] |
| + | - Specify the ''Access Control List'' of network node for the server. |
| + | - Default is that access control list is not used. (File is not specified) |
| + | |
| + | **** GroupKeyPrefix [#gaa2fc17] |
| + | - Specify the Group Key Prefix for connect to the server. Default is null. |
| + | - This must be less than 16 bytes. But, if you used 16 bytes, only one group exist on the server, as Group Key is within 16 bytes. |
| + | #br |
| + | |
| + | *** hosts_access.allow [#v6617267] |
| + | - ''Access Control List'' |
| + | - Usually, this file is at /usr/local/etc/anm_server |
| + | |
| + | - ''#'' is for comment. |
| + | - # Blank Line is ignored. |
| + | - 192.168.1.1 # access is allowed from 192.168.1.1 only |
| + | - 192.168.27 # allowed from 192.168.27.0 - 192.168.27.255 |
| + | - 192.168.28.20/255.255.255.0 # allowed from 192.168.28.0 - 192.168.28.255 |
| + | - 192.168.28.10/255.255. # allowed from 192.168.28.0 - 192.168.28.255 |
| + | - 192.168.28.0/20 # allowed from 192.168.28.0 - 192.168.28.255 |
| + | - www.star-dust.jp # FQDN is transformed to IP address and checked |
| + | - www.star-dust.jp/255.255.255 # FQDN is transformed to IP address and checked |
| + | - www.tuis.ac.jp/20 # FQDN is transformed to IP address and checked |
| + | |
| #br | | #br |