티스토리 뷰

$ yum -y install xinetd.x86_64

 

 

 

 

 

 

root@PSDEV:/etc] cat xinetd.conf 
#
# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.

defaults
{
# The next two items are intended to be a quick access place to
# temporarily enable or disable services.
#
#       enabled         =
#       disabled        =

# Define general logging characteristics.
        log_type        = SYSLOG daemon info 
        log_on_failure  = HOST
        log_on_success  = PID HOST DURATION EXIT

# Define access restriction defaults
#
#       no_access       =
#       only_from       =
#       max_load        = 0
        cps             = 50 10
        instances       = 50
        per_source      = 10

# Address and networking defaults
#
#       bind            =
#       mdns            = yes
        v6only          = no

# setup environmental attributes
#
#       passenv         =
        groups          = yes
        umask           = 002

# Generally, banners are not used. This sets up their global defaults
#
#       banner          =
#       banner_fail     =
#       banner_success  =
}

includedir /etc/xinetd.d

 

 

#예제 

 

다음은 telnet 서버의 설정의 일부이다. 아래의 조건에 맞게 ( 괄호 ) 안에 알맞은 내용을
적으시오.
service telnet
{
disable = no
flags = REUSE
socket_type = stream
( ① ) = no
( ② ) = 5
( ③ ) = 08:00-20:00
( ④ ) = 7
( ⑤ ) = 10.20.16.0/24
log_type = ( ⑥ )
server = /usr/sbin/in.telnetd
■ 조 건
- 다중 스레드로 동작하여 새로운 서비스 요청을 받아들일 수 있다
- 서버의 우선순위를 5로 지정한다.
- 텔넷 서버의 접속은 오전 8시부터 오후 8시까지만 가능하게 설정한다.
- 동일한 IP 주소에서의 접속은 7개로 제한한다.
- IP 주소가 10.20.16.0/24 인 네트워크 대역을 사용하는 호스트는 접속을 거부한다.
- 로그는 /var/log/telnetd.log 파일에 별도로 저장한다.

 

 

① wait 
② nice 
③ access_times 
④ per_source 
⑤ no_access 
⑥ FILE /var/log/telnetd.log 

 

 

 

 

 

 

 

 

찍어서 풀지말고 확실하게 알고 풀자!

영어공부를 어디서부터 시작해야 할지 모른다면?

지금 바로 해커스에서 무료로 내 영어실력 확인하기

▽▽▽▽▽▽ 바로가기

https://bit.ly/3mggc1n

 

해커스인강 기초영어 레벨테스트

 

nefing.com

 

 

※ 해당 광고클릭은 필자에게 경제적으로 큰 도움이 됩니다.

댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31