Skip to content

Scan Instant Failed on IPv6 ULA Address #783

Open
@Chapoly1305

Description

@Chapoly1305

Describe the bug
The scan on a given ULA IPv6 address immediately failed without useful debugging information.

To Reproduce
Exact Steps to reproduce the behavior:

  1. Setup Open Thread Borader Router and Join a Thread Network
  2. Scan an address within this Thread network

Expected behavior
Scan shall complete, as Nmap given proper scanned results.
Or, give a meaningful debug message, assist debug any potential setup issue.

Desktop (please complete the following information):

  • Ubuntu 22.04, X86-64

Additional context

chen@chen-virtual-machine:~$ nmap -6 fd52:8844:886a:fca9:c1a:4a93:2099:80fa -p- -Pn 
Starting Nmap 7.80 ( https://nmap.org ) at 2025-04-27 12:41 EDT
Nmap scan report for fd52:8844:886a:fca9:c1a:4a93:2099:80fa
Host is up (0.0059s latency).
Not shown: 65531 closed ports
PORT      STATE    SERVICE
49152/tcp open     unknown
49200/tcp open     unknown
62078/tcp open     iphone-sync
64691/tcp filtered unknown

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


chen@chen-virtual-machine:~$ sudo docker run --net=host -it --rm --name rustscan rustscan/rustscan:latest -b 10 -p 22,80,443 -a fd52:8844:886a:fca9:c1a:4a93:2099:80fa -- -6 -Pn
Unable to find image 'rustscan/rustscan:latest' locally
latest: Pulling from rustscan/rustscan
c6a83fedfae6: Pull complete 
d9bd24e2554c: Pull complete 
582df0bcf6ab: Pull complete 
Digest: sha256:1a0137749007f12880c7174c65e9f16835106a787ebc952118c2f9f4ff7a1309
Status: Downloaded newer image for rustscan/rustscan:latest
.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.
| {}  }| { } |{ {__ {_   _}{ {__  /  ___} / {} \ |  `| |
| .-. \| {_} |.-._} } | |  .-._} }\     }/  /\  \| |\  |
`-' `-'`-----'`----'  `-'  `----'  `---' `-'  `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: http://discord.skerritt.blog         :
: https://github.com/RustScan/RustScan :
 --------------------------------------
Port scanning: Making networking exciting since... whenever.

[~] The config file is expected to be at "/home/rustscan/.rustscan.toml"
[~] File limit higher than batch size. Can increase speed by increasing batch size '-b 1048476'.
[!] Looks like I didn't find any open ports for fd52:8844:886a:fca9:c1a:4a93:2099:80fa. This is usually caused by a high batch size.
        
*I used 10 batch size, consider lowering it with 'rustscan -b <batch_size> -a <ip address>' or a comfortable number for your system.
        
 Alternatively, increase the timeout if your ping is high. Rustscan -t 2000 for 2000 milliseconds (2s) timeout.

chen@chen-virtual-machine:~$ ping6 fd52:8844:886a:fca9:c1a:4a93:2099:80fa 
PING fd52:8844:886a:fca9:c1a:4a93:2099:80fa(fd52:8844:886a:fca9:c1a:4a93:2099:80fa) 56 data bytes
64 bytes from fd52:8844:886a:fca9:c1a:4a93:2099:80fa: icmp_seq=1 ttl=64 time=4.83 ms
64 bytes from fd52:8844:886a:fca9:c1a:4a93:2099:80fa: icmp_seq=2 ttl=64 time=24.1 ms
64 bytes from fd52:8844:886a:fca9:c1a:4a93:2099:80fa: icmp_seq=3 ttl=64 time=2.35 ms
64 bytes from fd52:8844:886a:fca9:c1a:4a93:2099:80fa: icmp_seq=4 ttl=64 time=72.5 ms
^C
--- fd52:8844:886a:fca9:c1a:4a93:2099:80fa ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 2.346/25.938/72.470/28.154 ms
chen@chen-virtual-machine:~$ sudo docker run --net=host -it --rm --name rustscan rustscan/rustscan:latest -b 1 -p 22,80,443 -a fd52:8844:886a:fca9:c1a:4a93:2099:80fa -- -6 -Pn
.----. .-. .-. .----..---.  .----. .---.   .--.  .-. .-.
| {}  }| { } |{ {__ {_   _}{ {__  /  ___} / {} \ |  `| |
| .-. \| {_} |.-._} } | |  .-._} }\     }/  /\  \| |\  |
`-' `-'`-----'`----'  `-'  `----'  `---' `-'  `-'`-' `-'
The Modern Day Port Scanner.
________________________________________
: http://discord.skerritt.blog         :
: https://github.com/RustScan/RustScan :
 --------------------------------------
Breaking and entering... into the world of open ports.

[~] The config file is expected to be at "/home/rustscan/.rustscan.toml"
[~] File limit higher than batch size. Can increase speed by increasing batch size '-b 1048476'.
[!] Looks like I didn't find any open ports for fd52:8844:886a:fca9:c1a:4a93:2099:80fa. This is usually caused by a high batch size.
        
*I used 1 batch size, consider lowering it with 'rustscan -b <batch_size> -a <ip address>' or a comfortable number for your system.
        
 Alternatively, increase the timeout if your ping is high. Rustscan -t 2000 for 2000 milliseconds (2s) timeout.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions