我已经配置了xinetd,我想远程访问echo服务。关键是,当你做:
nmap localhost
出现
PORT STATE SERVICE
7/tcp open echo
但是当我做的时候
nmap [远程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 :(得分:0)
我发现了错误:我一直在使用错误的IP。 感谢任何人