fi6s is a IPv6 port scanner designed to be fast. This is achieved by sending and processing raw packets asynchronously. The design and goal is pretty similar to Masscan, though it is not as full-featured yet.
Building should be fairly easy on up-to-date distros.
On Ubuntu 16.04 (xenial) it looks like this:
The scanner executable will be ready in at
# apt install gcc make git libpcap-dev
$ git clone https://github.com/sfan5/fi6s.git
$ cd fi6s
$ make BUILD_TYPE=release
./fi6s. Note that fi6s is developed solely on Linux, thus it probably won't compile on non-Linux OSs (notably Windows).
Usage is pretty easy, fi6s will try to auto-detect the dirty technical details (source/dest MAC, source IP).
This example will:
# ./fi6s -p 80,8000-8100 2001:db8::/120
- scan the 2001:db8::/120 subnet (256 addresses in total)
- scans port 80 and ports 8000 to 8100 (102 ports in total)
- output scan results to
stdoutin the "
--echo-hostsand it will print every host that would've been scanned.
For advanced features please consult the output of
Since fi6s has its own TCP stack, the OS stack needs to disabled to avoid interference with banner grabbing (RST packets). This is most easily done using ip6tables and a constant
Banner grabbing is then enabled by passing
# ip6tables -A INPUT -p tcp -m tcp --dport 12345 -j DROP
# ./fi6s -p 22 --banners --source-port 12345 2001:db8::/120