2013-09-22 4 views
-1

xinetd를 구성했으며 원격으로 에코 서비스에 액세스하려고합니다. 요점은 y를 할 때, :xinetd가 원격으로 서버를 에코 할 수 없습니다.

nmap localhost 

PORT  STATE SERVICE 
7/tcp open echo 

나타납니다하지만

nmap [remote IP]

을 할 때 그렇지

> PORT  STATE SERVICE 

21/tcp open  ftp 
23/tcp open  telnet 
80/tcp open  http 

내가 돈을 표시 않는다 이유를 모르겠 음

다음은 /etc/xinetd.d/echo에게

> service echo 
{ 
     disable   = no 
     type   = INTERNAL 
     id    = echo-stream 
     socket_type  = stream 
     protocol  = tcp 
     user   = root 
     wait   = no 
} 

입니다 그리고 여기은 /etc/xinetd.conf에게 방법에 의해

# Simple configuration file for xinetd 

# 
# Some defaults, and include /etc/xinetd.d/ 

defaults { 

# Please note that you need a log_type line to be able to use log_on_success 
# and log_on_failure. The default is the following : 
# log_type = SYSLOG daemon info 

} 

includedir /etc/xinetd.d 

감사합니다! 건배!

답변

0

오류가 발견되었습니다. 잘못된 IP를 사용하고있었습니다. 감사합니다.

관련 문제