In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Take querying port 873 as an example:
① # ss-lntup | grep 873
[root@backup nfsbackup] # ss-lnutp | grep 873
Tcp LISTEN 0 64: 873:: * users: (("xinetd", 1810, 5))
[root@backup nfsbackup] #
② # netstat-lntup | grep 873
[root@backup nfsbackup] # netstat-lnutp | grep 873
Tcp 0 0: 873: * LISTEN 1810/xinetd
[root@backup nfsbackup] #
③ # lsof-I: 873
[root@backup nfsbackup] # lsof-iRU 873
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODENAME
Xinetd 1810 root 5u IPv6 12433 0t0 TCP *: rsync (LISTEN)
[root@backup nfsbackup] #
④ # telnet 10.0.0.41 873 (linux yuminstall telnet)
[root@web02] # telnet 172.16.1.41873
Trying 172.16.1.41...
Connected to 172.16.1.41.
Escape character is'^]'.
@ RSYNCD: 30.0
⑤ # nc 10.0.0.41 873
[root@web02] # nc 172.16.1.41 873
@ RSYNCD: 30.0
⑥ # nmap-p 873 10.0.0.41
[root@web02 ~] # nmap-p 873 172.16.1.41 # # scan the host
Starting Nmap 5.51 (http://nmap.org) at 2017-05-13 13:41 CST
Nmap scan report for backup (172.16.1.41)
Host is up (0.00069s latency).
PORT STATE SERVICE
873/tcp open rsync
MAC Address: 00:0C:29:01:17:0F (VMware)
Nmap done: 1 IP address (1 host up) scanned in 0.20 seconds
[root@web02 ~] # nmap-p 873 172.16.1.0 swap 24 # scan the network segment
Starting Nmap 5.51 (http://nmap.org) at 2017-05-13 13:41 CST
Nmap scan report for web01 (172.16.1.7)
Host is up (0.00018s latency).
PORT STATE SERVICE
873/tcp closed rsync
Nmap scan report for web02 (172.16.1.8)
Host is up (0.00072s latency).
PORT STATE SERVICE
873/tcp closed rsync
MAC Address: 00:0C:29:B1:33:AE (VMware)
Nmap scan report for nfs01 (172.16.1.31)
Host is up (0.00039s latency).
PORT STATE SERVICE
873/tcp closed rsync
MAC Address: 00:0C:29:86:08:29 (VMware)
Nmap scan report for backup (172.16.1.41)
Host is up (0.00057s latency).
PORT STATE SERVICE
873/tcp open rsync
MAC Address: 00:0C:29:01:17:0F (VMware)
Nmap done: 256 IP addresses (4 hostsup) scanned in 2.02 seconds
[root@web02 ~] #
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.