.\" -*- coding: UTF-8 -*- .\" This manpage is Copyright (C) 1996 Austin Donnelly , .\" with additional material Copyright (c) 1995 Martin Schulze .\" .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" This manpage was made by merging two independently written manpages, .\" one written by Martin Schulze (18 Oct 95), the other written by .\" Austin Donnelly, (9 Jan 96). .\" .\" Thu Jan 11 12:14:41 1996 Austin Donnelly .\" * Merged two services(5) manpages .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH services 5 "2022년 10월 30일" "Linux man\-pages 6.05.01" .SH 이름 services \- 인터넷 네트워크 서비스 리스트 .SH 설명 \fBservices\fP 는 인터넷 서비스를 위한 친근한 텍스트 형태의 이름과 원래 할당된 포트 번호와 프로토콜 타입 간의 맵핑을 제공하는 단순한 ASCII파일이다. 모든 네트워킹 프로그램은 서비스를 위한 포트 번호(와 프로토콜)을 얻기 위해 이 파일을 조사해 봐야한다. C 라이브러리 루틴 \fBgetservent\fP(3), \fBgetservbyname\fP(3), \fBgetservbyport\fP(3), \fBsetservent\fP(3), \fBendservent\fP(3) 은 프로그램으로부터 이 파일에 대한 질문을 지원한다. .PP 포트 번호는 IANA (Internet Assigned NumbersAuthority)에 의해 할당받고, 포트 번호를 할당 받을 때 그들의 현제 정책은 TCP아 UDP 프로토콜로 할당한다. 그러므로 하나의 서비스를 하더라도 대부분의 앤트리는 두개씩 가지고 있다 .PP 1024번 아래쪽 포트 번호는(보통 "low numbered" port라고 부르는) 루트에 의해서만 묶일 수 있다. (\fBbind\fP(2), \fBtcp\fP(7), \fBudp\fP(7). 를 참조) 그러므로, 낮은 번호의 포트에 연결된 클라이언트는 그 포트에서의 서비스가 표준 실행이고, 사용자에 의해 실행되는 낮은 품질의 서비스가 아니라는 것을 믿을 수 있다. IANA에 의해 분류된 잘 알려진 포트 번호는 일반적으로 루트 범위에 위치한다. .PP \fBservices\fP 파일 상에 서비스를 위한 앤트리가 존재한다는 것은 꼭 서비스가 현제 컴퓨터 상에서 실행되고 있다는 것을 뜻하진 않는다. 제공되는 인터넷 서비스의 형태를 알려면 \fBinetd.conf\fP(5) 를 참조하라. 모든 네트워킹 서비스가 \fBinetd\fP(8), 에 의해 시작된 것도 아니고, \fBinetd.conf\fP(5). 에 적용되는 것도 아니라는 것을 상기하자. 특히, 뉴스 (NNTP)와 메일 (SMTP) 서버는 종종 시스템 부트 스크립트로 시작된다. .PP \fBservices\fP 파일의 위치는 \fI\fP 에 있는 \fB_PATH_SERVICES\fP 에 의해 정의된다. 이것은 보통 \fI/etc/services\fP. 로 설정된다. .PP 각각의 라인은 하나의 서비스를 표현하고, 아래와 같은 형태를 가진다: .IP \fIservice\-name\ \ \ port\fP\fB/\fP\fIprotocol\ \ \ \fP[\fIaliases ...\fP] .TP 각각의 항목은: .TP \fIservice\-name\fP 은 서비스가 알려지고, 널리 퍼진 친근한 이름이다. 이것은 민감한 경우이다. 종종 \fIservice\-name\fP 뒤에 클라이언트 프로그램의 이름이 들어가기도 한다. .TP \fIport\fP 는 이 서버가 사용하는 포트 번호이다.(십진수) .TP \fIprotocol\fP 은 사용되는 프로토콜의 타입이다. 이 항목은 \fBprotocols\fP(5) 파일에 있는 엔트리와 맞아야한다. 일반적인 타입은 \fBtcp\fP 와 \fBudp\fP 가 있다. .TP \fIaliases\fP 는 이 서비스를 위한 다른 이름들의 리스트들과 구분되는 선택적인 공간 혹은 텝이다. 이 이름도 민감한 경우이다. .PP 공간이나 텝이나 영역을 나누는데 사용할 수 있다. .PP 주석은 hash sign (#)으로 시작해서 그 줄의 끝까지 계속된다. 빈 줄은 넘어간다. .PP The \fIservice\-name\fP should begin in the first column of the file, since leading spaces are not stripped. \fIservice\-names\fP can be any printable characters excluding space and tab. However, a conservative choice of characters should be used to minimize compatibility problems. For example, a\-z, 0\-9, and hyphen (\-) would seem a sensible choice. .PP 파일 안에 모든 라인은 이 형태를 따른다. (일반적으로, \fBgetservent\fP(3), \fBgetservbyname\fP(3), \fBgetservbyport\fP(3). 는 그것들을 조용히 넘어다닌다. 하지만 이 행동이 이것이 확실한 것은 아니다.) .PP .\" 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. .\" As a backward compatibility feature, the slash (/) between the .\" .I port .\" number and .\" .I protocol .\" 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와 같이 긴 이름의 서비스 네트웍을 사용하는 네트웍에 배포되었다. .PP 견본 \fBservices\fP 파일은 아래와 같다: .PP .in +4n .EX netstat 15/tcp qotd 17/tcp quote msp 18/tcp # message send protocol msp 18/udp # message send protocol chargen 19/tcp ttytst source chargen 19/udp ttytst source ftp 21/tcp # 22 \- unassigned telnet 23/tcp .EE .in .SH 파일 .TP \fI/etc/services\fP The Internet network services list .TP \fI\fP .\" .SH BUGS .\" It's not clear when/if the following was ever true; .\" it isn't true for glibc 2.8: .\" There is a maximum of 35 aliases, due to the way the .\" .BR getservent (3) .\" code is written. .\" .\" It's not clear when/if the following was ever true; .\" it isn't true for glibc 2.8: .\" 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. Definition of \fB_PATH_SERVICES\fP .SH "추가 참조" \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) .PP Assigned Numbers RFC, most recently RFC\ 1700, (AKA STD0002). .PP .SH 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: ASPLINUX . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.