보안

docker ubuntu fping, nmap 사용.

사리생성 2024. 1. 13. 11:13

 

fping 

root@9adc278e1064:/# fping -q -s -a -g 10.30.0/24
10.30.0.1
10.30.0.2
10.30.0.31
10.30.0.30
10.30.0.40
10.30.0.41
10.30.0.105
10.30.0.106
10.30.0.114
10.30.0.131
10.30.0.137
10.30.0.149
10.30.0.150
10.30.0.153
10.30.0.126
10.30.0.159
10.30.0.177
10.30.0.174
10.30.0.182
10.30.0.181
10.30.0.163
10.30.0.225

     254 targets
      22 alive
     232 unreachable
       0 unknown addresses

     930 timeouts (waiting for response)
     952 ICMP Echos sent
      24 ICMP Echo Replies received
       0 other ICMP received

 1.25 ms (min round trip time)
 98.2 ms (avg round trip time)
 382 ms (max round trip time)
        9.607 sec (elapsed real time)

root@9adc278e1064:/#

 

 

nmap

root@9adc278e1064:/# nmap -sT 10.30.0.225
Starting Nmap 7.80 ( https://nmap.org ) at 2024-01-13 01:48 UTC
Nmap scan report for 10.30.0.225
Host is up (0.0069s latency).
Not shown: 998 closed ports
PORT     STATE SERVICE
22/tcp   open  ssh
8080/tcp open  http-proxy

Nmap done: 1 IP address (1 host up) scanned in 1.52 seconds