Comment 10 for bug 1580385

Revision history for this message
Victor Tapia (vtapia) wrote :

# REPRODUCER: Install LXD, make it available over the network and run nmap against its ip:

# lxd init
Do you want to configure a new storage pool (yes/no) [default=yes]? no
Would you like LXD to be available over the network (yes/no) [default=no]? yes
Address to bind LXD to (not including port) [default=all]:
Port to bind LXD to [default=8443]:
Trust password for new clients:
Again:
Do you want to configure the LXD bridge (yes/no) [default=yes]? no
LXD has been successfully configured.

$ sudo netstat -anp | grep 8443
tcp6 0 0 :::8443 :::* LISTEN 817/lxd

$ while true; do nmap -sV localhost -Pn -d 2>&1 || break; done

Starting Nmap 7.01 ( https://nmap.org ) at 2019-10-02 18:33 CEST
PORTS: Using top 1000 ports found open (TCP:1000, UDP:0, SCTP:0)
--------------- Timing report ---------------
  hostgroups: min 1, max 100000
  rtt-timeouts: init 1000, min 100, max 10000
  max-scan-delay: TCP 1000, UDP 1000, SCTP 1000
  parallelism: min 0, max 0
  max-retries: 10, host-timeout: 0
  min-rate: 0, max-rate: 0
---------------------------------------------
NSE: Using Lua 5.2.
NSE: Arguments from CLI:
NSE: Loaded 35 scripts for scanning.
mass_rdns: Using DNS server 192.168.11.1
Initiating Connect Scan at 18:33
Scanning localhost (127.0.0.1) [1000 ports]
Discovered open port 22/tcp on 127.0.0.1
Discovered open port 8443/tcp on 127.0.0.1
Completed Connect Scan at 18:33, 0.01s elapsed (1000 total ports)
Overall sending rates: 67769.04 packets / s.
Initiating Service scan at 18:33
Scanning 2 services on localhost (127.0.0.1)
Completed Service scan at 18:35, 82.59s elapsed (2 services on 1 host)
NSE: Script scanning 127.0.0.1.
NSE: Starting runlevel 1 (of 1) scan.
Initiating NSE at 18:35
NSE: Starting rpc-grind against localhost (127.0.0.1:8443).
NSE: Starting http-server-header against localhost (127.0.0.1:8443).
Segmentation fault (core dumped)