Solaris 5.10 telnet 连接被外部主机关闭

Solaris 5.10 telnet 连接被外部主机关闭

我尝试使用 telnet 连接到 Solaris 5.10 服务器,但我只看到:

$ telnet xxx.xxx.xxx.xxx
Trying xxx.xxx.xxx.xxx...
Connected to xxx.xxx.xxx.xxx.
Escape character is '^]'.
Connection closed by foreign host.

服务器不运行 TCP Wrappers。

以下是服务器配置:

bash-3.00# svcs -l telnet
fmri         svc:/network/telnet:default
name         Telnet server
enabled      true
state        online
next_state   none
state_time   Thu Jul 23 19:14:57 2015
restarter    svc:/network/inetd:default
contract_id

bash-3.00# svcs -l inetd
fmri         svc:/network/inetd:default
name         inetd
enabled      true
state        online
next_state   none
state_time   Thu Jul 23 19:14:52 2015
logfile      /var/svc/log/network-inetd:default.log
restarter    svc:/system/svc/restarter:default
contract_id  2982586
dependency   require_any/error svc:/network/loopback (online)
dependency   require_all/error svc:/system/filesystem/local (online)
dependency   optional_all/error svc:/milestone/network (online)
dependency   optional_all/error svc:/network/rpc/bind (online)
dependency   optional_all/none svc:/network/inetd-upgrade (disabled)
dependency   require_all/none svc:/milestone/sysconfig (online) svc:/milestone/name-services (online)

bash-3.00# inetadm -l telnet
SCOPE    NAME=VALUE
         name="telnet"
         endpoint_type="stream"
         proto="tcp6"
         isrpc=FALSE
         wait=FALSE
         exec="/usr/sbin/in.telnetd"
         user="root"
default  bind_addr=""
default  bind_fail_max=-1
default  bind_fail_interval=-1
default  max_con_rate=-1
default  max_copies=-1
default  con_rate_offline=-1
default  failrate_cnt=40
default  failrate_interval=60
default  inherit_env=TRUE
default  tcp_trace=FALSE
default  tcp_wrappers=FALSE

服务器上的23端口已经打开,我使用nmap进行测试:

PORT   STATE SERVICE
23/tcp open  telnet

我尝试从本地主机连接,但得到相同的结果:

bash-3.00# telnet localhost
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection to localhost closed by foreign host.

我还将服务器配置与运行良好的其他服务器配置进行了比较,我看到的一切都是一样的,我没有主意了。

感谢您的帮助!

相关内容