OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man5 / services.5
index 64b9f5a..15cbd12 100644 (file)
@@ -12,7 +12,7 @@
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
 .\" permission notice identical to this one.
 .\" manual under the conditions for verbatim copying, provided that the
 .\" entire resulting derived work is distributed under the terms of a
 .\" permission notice identical to this one.
-.\" 
+.\"
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\" responsibility for errors or omissions, or for damages resulting from
 .\" Since the Linux kernel and libraries are constantly changing, this
 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
 .\" responsibility for errors or omissions, or for damages resulting from
@@ -20,7 +20,7 @@
 .\" have taken the same level of care in the production of this manual,
 .\" which is licensed free of charge, as they might when working
 .\" professionally.
 .\" have taken the same level of care in the production of this manual,
 .\" which is licensed free of charge, as they might when working
 .\" professionally.
-.\" 
+.\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
 .\"
 .\" Thu Jan 11 12:14:41 1996 Austin Donnelly  <and1000@cam.ac.uk>
 .\"   * Merged two services(5) manpages
 .\"
 .\" Thu Jan 11 12:14:41 1996 Austin Donnelly  <and1000@cam.ac.uk>
 .\"   * Merged two services(5) manpages
 .\"
-.\" Japanese Version Copyright (c) 1997 MOTOKI Akihiro
-.\"       all rights reserved.
-.\" Translated Wed Aug 20 08:32:26 JST 1997
-.\"       by MOTOKI Akihiro <motoki@hal.t.u-tokyo.ac.jp>
+.\"*******************************************************************
 .\"
 .\"
-.TH SERVICES 5 2010-05-22 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH SERVICES 5 2010\-05\-22 Linux "Linux Programmer's Manual"
 .SH 名前
 .SH 名前
-.\"O services \- Internet network services list
 services \- インターネット ネットワークサービス リスト
 services \- インターネット ネットワークサービス リスト
-.\"O .SH DESCRIPTION
 .SH 説明
 .SH 説明
-.\"O .B services
-.\"O is a plain ASCII file providing a mapping between human-friendly textual
-.\"O names for internet services, and their underlying assigned port
-.\"O numbers and protocol types.
-.\"O Every networking program should look into
-.\"O this file to get the port number (and protocol) for its service.
-.B services
-は、人が分かりやすい形のインターネットサービスの名前と、
-それらのサービスに割り当てられたポート番号や
-プロトコル種別の対応関係が書かれているテキストファイルである。
-ネットワーク上で動作するプログラムはすべて、
-そのサービスに対応するポート番号 (とプロトコル) を得るために、
-このファイルを調べる必要がある。
-.\"O The C library routines
-.\"O .BR getservent (3),
-.\"O .BR getservbyname (3),
-.\"O .BR getservbyport (3),
-.\"O .BR setservent (3),
-.\"O and 
-.\"O .BR endservent (3)
-.\"O support querying this file from programs.
-C ライブラリ関数である
-.BR getservent (3),
-.BR getservbyname (3),
-.BR getservbyport (3),
-.BR setservent (3),
-.BR endservent (3)
+\fBservices\fP は、人が分かりやすい形のインターネットサービスの名前と、 それらのサービスに割り当てられたポート番号や
+プロトコル種別の対応関係が書かれているテキストファイルである。 ネットワーク上で動作するプログラムはすべて、 そのサービスに対応するポート番号
+(とプロトコル) を得るために、 このファイルを調べる必要がある。 C ライブラリ関数である \fBgetservent\fP(3),
+\fBgetservbyname\fP(3), \fBgetservbyport\fP(3), \fBsetservent\fP(3), \fBendservent\fP(3)
 を利用することで、プログラムはこのファイルを調べることができる。
 
 を利用することで、プログラムはこのファイルを調べることができる。
 
-.\"O Port numbers are assigned by the IANA (Internet Assigned Numbers
-.\"O Authority), and their current policy is to assign both TCP and UDP
-.\"O protocols when assigning a port number.
-.\"O Therefore, most entries will
-.\"O have two entries, even for TCP-only services.
 ポート番号は、IANA (Internet Assigned Numbers Authority) によって
 ポート番号は、IANA (Internet Assigned Numbers Authority) によって
-割り当てられており、現在はポート番号を割り当てる際に
-TCP と UDP の両方のプロトコルを割り当てることになっている。
-そのため、ほとんどのサービスに対して、
-たとえ TCP だけのサービスの場合であっても、対応する項目が二つあることになる。
+割り当てられており、現在はポート番号を割り当てる際に TCP と UDP の両方のプロトコルを割り当てることになっている。
+そのため、ほとんどのサービスに対して、 たとえ TCP だけのサービスの場合であっても、対応する項目が二つあることになる。
 
 
-.\"O Port numbers below 1024 (so-called "low numbered" ports) can only be
-.\"O bound to by root (see
-.\"O .BR bind (2),
-.\"O .BR tcp (7),
-.\"O and 
-.\"O .BR udp (7)).
-.\"O This is so clients connecting to low numbered ports can trust
-.\"O that the service running on the port is the standard implementation,
-.\"O and not a rogue service run by a user of the machine.
-.\"O Well-known port numbers specified by the IANA are normally
-.\"O located in this root-only space.
-1024 より小さいポート番号 (いわゆる "low numbered" ポート) は
-管理者 (root) 権限によってのみ使用することができる
-.RB ( bind (2), 
-.BR tcp (7),
-.BR udp (7)
-参照)。
-これは、これらのポートに接続するクライアントに対して、
-そのポートで動いているサービスが標準的な実装であり、
-その計算機のユーザーが動かしている
-不正なサービスではないことを保証するためである。
-IANA に明記されているよく使用されるポート番号は、
-通常このような管理者だけが使用できる範囲に配置される。
+1024 より小さいポート番号 (いわゆる "low numbered" ポート) は 管理者 (root) 権限によってのみ使用することができる
+(\fBbind\fP(2), \fBtcp\fP(7), \fBudp\fP(7)  参照)。 これは、これらのポートに接続するクライアントに対して、
+そのポートで動いているサービスが標準的な実装であり、 その計算機のユーザーが動かしている 不正なサービスではないことを保証するためである。 IANA
+に明記されているよく使用されるポート番号は、 通常このような管理者だけが使用できる範囲に配置される。
 
 
-.\"O The presence of an entry for a service in the 
-.\"O .B services
-.\"O file does not necessarily mean that the service is currently running
-.\"O on the machine.
-.\"O See
-.\"O .BR inetd.conf (5)
-.\"O for the configuration of Internet services offered.
-.\"O Note that not all
-.\"O networking services are started by
-.\"O .BR inetd (8),
-.\"O and so won't appear in
-.\"O .BR inetd.conf (5).
-.B services
-ファイルにあるサービスに対する項目があっても、必ずしもそのサービスが現
-在その計算機で動いている訳ではない。利用可能なインターネットサービスの設定に
-ついては
-.BR inetd.conf (5)
-に記述されている。ただし、すべてのサービスが
-.BR inetd (8)
-によって起動されるわけではないので、
-.BR inetd.conf (5)
-には書かれていないサービスもあることに注意する必要がある。
-.\"O In particular, news (NNTP) and mail (SMTP) servers are often
-.\"O initialized from the system boot scripts.
-特に、ネットニュース (NNTP) や メール (SMTP) のサーバーは、システム起動時の
+\fBservices\fP ファイルにあるサービスに対する項目があっても、必ずしもそのサービスが現
+在その計算機で動いている訳ではない。利用可能なインターネットサービスの設定に ついては \fBinetd.conf\fP(5)
+に記述されている。ただし、すべてのサービスが \fBinetd\fP(8)  によって起動されるわけではないので、 \fBinetd.conf\fP(5)
+には書かれていないサービスもあることに注意する必要がある。 特に、ネットニュース (NNTP) や メール (SMTP) のサーバーは、システム起動時の
 スクリプトから起動されることが多い。
 
 スクリプトから起動されることが多い。
 
-.\"O The location of the
-.\"O .B services
-.\"O file is defined by
-.\"O .B _PATH_SERVICES
-.\"O in
-.\"O .IR <netdb.h> "."
-.\"O This is usually set to
-.\"O .IR /etc/services "."
-.B services
-ファイルの場所は、
-.I <netdb.h>
-中の
-.B _PATH_SERVICES
-によって定義されている。
-この値は通常
-.I /etc/services
-に設定されている。
+\fBservices\fP ファイルの場所は、 \fI<netdb.h>\fP 中の \fB_PATH_SERVICES\fP によって定義されている。
+この値は通常 \fI/etc/services\fP に設定されている。
 
 
-.\"O Each line describes one service, and is of the form:
- 1 行につき 1 サービスが記述されており、その形式は以下の通りである。
+1 行につき 1 サービスが記述されており、以下の形式である。
 .IP
 .IP
-\f2service-name\ \ \ port\f3/\f2protocol\ \ \ \f1[\f2aliases ...\f1]
-.TP
-.\"O where:
-.TP 10
-.I service-name
-.\"O is the friendly name the service is known by and looked up under.
-.\"O It is case sensitive.
-.\"O Often, the client program is named after the
-.\"O .IR service-name "."
-サービスを表す分かりやすい名前であり、検索の際にも使用される。
-大文字と小文字は区別される。
-クライアントプログラムは
-.I service-name
+\fIservice\-name\ \ \ port\fP\fB/\fP\fIprotocol\ \ \ \fP[\fIaliases ...\fP]
+.TP 
+各項目は以下の通り。
+.TP  10
+\fIservice\-name\fP
+サービスを表す分かりやすい名前であり、検索の際にも使用される。 大文字と小文字は区別される。 クライアントプログラムは \fIservice\-name\fP
 にちなんで名付けられることが多い。
 にちなんで名付けられることが多い。
-.TP
-.I port
-.\"O is the port number (in decimal) to use for this service.
+.TP 
+\fIport\fP
 サービスに対して使用されるポート番号。10 進数で指定する。
 サービスに対して使用されるポート番号。10 進数で指定する。
-.TP
-.I protocol
-.\"O is the type of protocol to be used.
-.\"O This field should match an entry
-.\"O in the
-.\"O .BR protocols (5)
-.\"O file.
-.\"O Typical values include
-.\"O .B tcp
-.\"O and
-.\"O .BR udp .
-使用されるプロトコルの種類。この欄は、
-.BR protocols (5)
-ファイルの中の項目と一致している必要がある。
-通常使用される値は、
-.B tcp
-と
-.B udp 
-である。
-.TP
-.I aliases
-.\"O is an optional space or tab separated list of other names for this
-.\"O service.
-.\"O Again, the names are case
-.\"O sensitive.
-サービスに対する別名のリスト (区切はスペースまたはタブ) で、この欄は
-必要にならば書くことができる。
-また、別名は大文字と小文字は区別される。
+.TP 
+\fIprotocol\fP
+使用されるプロトコルの種類。この欄は、 \fBprotocols\fP(5)  ファイルの中の項目と一致している必要がある。 通常使用される値は、
+\fBtcp\fP と \fBudp\fP である。
+.TP 
+\fIaliases\fP
+サービスに対する別名のリスト (区切はスペースまたはタブ) で、この欄は 必要にならば書くことができる。 また、別名は大文字と小文字は区別される。
 .PP
 .PP
-.\"O Either spaces or tabs may be used to separate the fields.
 それぞれの欄の区切りには、スペースまたはタブが使用される。
 
 それぞれの欄の区切りには、スペースまたはタブが使用される。
 
-.\"O Comments are started by the hash sign (#) and continue until the end
-.\"O of the line.
-.\"O Blank lines are skipped.
-コメントはシャープ (#) で始まり、その行の終わりまでがコメントとみなされる。
-空行は飛ばされる。
+コメントはシャープ (#) で始まり、その行の終わりまでがコメントとみなされる。 空行は飛ばされる。
 
 
-.\"O The
-.\"O .I service-name
-.\"O should begin in the first column of the file, since leading spaces are
-.\"O not stripped.
-行の始めのスペースは無視されないので、
-.I service-name
-は、行頭から書かなければならない。
-.\"O .I service-names
-.\"O can be any printable characters excluding space and tab.
-.\"O However, a conservative choice of characters should be used to minimize
-.\"O compatibility problems.
-.\"O E.g., a\-z, 0\-9, and hyphen (\-) would seem a
-.\"O sensible choice.
-.I service-names
-は、スペースとタブ以外の印字可能な文字なら何でもよいが、しかしながら
-互換性の問題を少なくするような文字を選択すべきである。
-例えば、a\-z 、0\-9 、ハイフォン (\-) を使用するのが無難と思われる。
+行の始めのスペースは無視されないので、 \fIservice\-name\fP は、行頭から書かなければならない。 \fIservice\-names\fP
+は、スペースとタブ以外の印字可能な文字なら何でもよいが、しかしながら 互換性の問題を少なくするような文字を選択すべきである。 例えば、a\-z 、0\-9
+、ハイフォン (\-) を使用するのが無難と思われる。
 
 
-.\"O Lines not matching this format should not be present in the
-.\"O file.
-.\"O (Currently, they are silently skipped by
-.\"O .BR getservent (3),
-.\"O .BR getservbyname (3),
-.\"O and
-.\"O .BR getservbyport (3).
-.\"O However, this behavior should not be relied on.)
-指定された形式に合わない行はあってはならない (現在は、そのような行は
-.BR getservent (3),
-.BR getservbyname (3),
-.BR getservbyport (3)
-によって無視される。しかし、その場合の挙動は信頼できない)。
+指定された形式に合わない行はあってはならない (現在は、そのような行は \fBgetservent\fP(3), \fBgetservbyname\fP(3),
+\fBgetservbyport\fP(3)  によって無視される。しかし、その場合の挙動は信頼できない)。
 
 .\" The following is not true as at glibc 2.8 (a line with a comma is
 .\" ignored by getservent()); it's not clear if/when it was ever true.
 
 .\" The following is not true as at glibc 2.8 (a line with a comma is
 .\" ignored by getservent()); it's not clear if/when it was ever true.
-.\"O .\"   As a backward compatibility feature, the slash (/) between the
-.\"O .\"   .I port
-.\"O .\"   number and
-.\"O .\"   .I protocol
-.\"O .\"   name can in fact be either a slash or a comma (,).
-.\"O .\"   Use of the comma in
-.\"O .\"   modern installations is deprecated.
-.\"   古いバージョンとの整合性の問題から、実際には
+.\"   As a backward compatibility feature, the slash (/) between the
 .\"   .I port
 .\"   .I port
-.\"   番号と
+.\"   number and
 .\"   .I protocol
 .\"   .I protocol
-.\"   の間のスラッシュ (/) は、スラッシュかコンマ (,) のどちらでも構わない。
-.\"   しかしながら、今なおコンマを使用するのは望ましいことではない。
-.\"   
-.\"O This file might be distributed over a network using a network-wide
-.\"O naming service like Yellow Pages/NIS or BIND/Hesiod.
-このファイルは、Yellow Pages/NIS や BIND/Hesiod のようなネットワーク上の名前
-サービスを用いて、ネットワークを通じて配布される可能性もある。
+.\"   name can in fact be either a slash or a comma (,).
+.\"   Use of the comma in
+.\"   modern installations is deprecated.
+.\"
+このファイルは Yellow Pages/NIS や BIND/Hesiod
+のようなネットワーク上の名前サービスを用いて、ネットワークを通じて配布される可能性もある。
 
 
-.\"O A sample
-.\"O .B services
-.\"O file might look like this:
-.B services
-ファイルの見本を以下に示す。
+\fBservices\fP ファイルの見本を以下に示す。
 .RS
 .nf
 .sp
 .RS
 .nf
 .sp
@@ -284,56 +124,33 @@ ftp             21/tcp
 telnet          23/tcp
 .fi
 .RE
 telnet          23/tcp
 .fi
 .RE
-.\"O .SH FILES
 .SH ファイル
 .SH ファイル
-.TP
-.I /etc/services
-.\"O The Internet network services list
+.TP 
+\fI/etc/services\fP
 インターネット ネットワークサービスのリスト
 インターネット ネットワークサービスのリスト
-.TP
-.I <netdb.h>
-.\"O Definition of
-.\"O .B _PATH_SERVICES
-.B _PATH_SERVICES
-の定義
-.\"O .\" .SH BUGS
-.\" .SH バグ
+.TP 
+\fI<netdb.h>\fP
+.\" .SH BUGS
 .\" It's not clear when/if the following was ever true;
 .\" it isn't true for glibc 2.8:
 .\" It's not clear when/if the following was ever true;
 .\" it isn't true for glibc 2.8:
-.\"O .\"    There is a maximum of 35 aliases, due to the way the
-.\"O .\"    .BR getservent (3)
-.\"O .\"    code is written.
-.\"O .\"
+.\"    There is a maximum of 35 aliases, due to the way the
 .\"    .BR getservent (3)
 .\"    .BR getservent (3)
-.\"    のコードの書き方の問題で、35 個までしか別名を付けることができない。
+.\"    code is written.
 .\"
 .\" It's not clear when/if the following was ever true;
 .\" it isn't true for glibc 2.8:
 .\"
 .\" It's not clear when/if the following was ever true;
 .\" it isn't true for glibc 2.8:
-.\"O .\"   Lines longer than
-.\"O .\"   .B BUFSIZ
-.\"O .\"   (currently 1024) characters will be ignored by
-.\"O .\"   .BR getservent (3),
-.\"O .\"   .BR getservbyname (3),
-.\"O .\"   and
-.\"O .\"   .BR getservbyport (3).
-.\"O .\"   However, this will also cause the next line to be mis-parsed.
-.\"   .B BUFSIZ
-.\"   (現在は 1024) 文字より長い行は、
-.\"   .BR getservent (3),
-.\"   .BR getservbyname (3),
-.\"   .BR getservbyport (3)
-.\"   により無視される。さらに、このことは次の行が正しく解釈されない原因となる。
-.\"O .SH "SEE ALSO"
+.\"    Lines longer than
+.\"    .B BUFSIZ
+.\"    (currently 1024) characters will be ignored by
+.\"    .BR getservent (3),
+.\"    .BR getservbyname (3),
+.\"    and
+.\"    .BR getservbyport (3).
+.\"    However, this will also cause the next line to be mis-parsed.
+\fB_PATH_SERVICES\fP の定義
 .SH 関連項目
 .SH 関連項目
-.BR listen (2),
-.BR endservent (3),
-.BR getservbyname (3),
-.BR getservbyport (3),
-.BR getservent (3),
-.BR setservent (3),
-.BR inetd.conf (5),
-.BR protocols (5),
-.BR inetd (8)
+\fBlisten\fP(2), \fBendservent\fP(3), \fBgetservbyname\fP(3), \fBgetservbyport\fP(3),
+\fBgetservent\fP(3), \fBsetservent\fP(3), \fBinetd.conf\fP(5), \fBprotocols\fP(5),
+\fBinetd\fP(8)
 
 
-.\"O Assigned Numbers RFC, most recently RFC\ 1700, (AKA STD0002)
 ポート番号の割り当てを定めている RFC (最新版は RFC\ 1700、別名 STD0002)
 ポート番号の割り当てを定めている RFC (最新版は RFC\ 1700、別名 STD0002)