A fast TCP port scanner
Netscan is a fast TCP port scanner for IPv4 and IPv6 networks. Netscan is written in Go and is intended for normal users to run on Linux, Windows or Mac systems. The goal of netscan is to find open server ports quickly for service tracking and later testing and deep analysis using tools such as Nmap and Nessus. Netscan results are intended to be loaded into a relational database.
$ time ./netscan 172.txt ports.txt > 172.results.txt
real 44m3.894s
user 24m15.180s
sys 48m20.012s
$ go get github.com/62726164/netscan
$ go build netscan.go
$ netscan ips.txt ports.txt > results.txt
user_name soft nofile 150000
user_name hard nofile 150000
192.168.1.54
2001:468:c80:c111:0:401a:d2f8:de6c
hostname.your.domain
21
22
23
80
443
445
3389
Add AAAA DNS records for all of your IPv6 servers and allow your netscan scan engines to do zone transfers. This limits the scan to IPv6 enabled servers that are in the DNS.
You may also consider using a network management tool, such as netdisco, as input to netscan.