LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

havn

Fast configurable port scanner with reasonable defaults

TLDR

Scan default ports on a host
$ havn [host]
copy
Scan a specific port range
$ havn -p [1-1024] [host]
copy
Scan specific ports
$ havn -p [80,443,8080] [host]
copy
Scan with increased retry count
$ havn -r [3] [host]
copy
Scan with custom timeout (in milliseconds)
$ havn -t [2000] [host]
copy
Scan all ports
$ havn -p [1-65535] [host]
copy

SYNOPSIS

havn [-p ports] [-r retries] [-t timeout] host

DESCRIPTION

havn is a lightweight, self-contained port scanning application written in Rust. It uses asynchronous Tokio multithreading to deliver fast and reliable results with a binary size under 1MB. It supports both IPv4 and IPv6 scanning and runs on Linux (including ARM), macOS, and Windows.havn comes with sensible defaults for quick scanning while allowing customization of port ranges, timeouts, and retry counts for more thorough scans.

PARAMETERS

-p PORTS

Port or port range to scan (e.g. 80, 1-1024, 80,443,8080)
-r RETRIES
Number of retries for each port
-t TIMEOUT
Timeout in milliseconds per port
-h, --help
Print help
-V, --version
Print version

INSTALL

sudo pacman -S havn
copy
sudo apk add havn
copy
brew install havn
copy
nix profile install nixpkgs#havn
copy

CAVEATS

Scanning ports on systems you do not own or have authorization to test may be illegal. Firewalls and intrusion detection systems may block or rate-limit scan attempts. Very large port ranges with short timeouts may produce false negatives.

HISTORY

havn was created by Jack Wills (mrjackwills) and is written in Rust. The name is Danish for "port" (as in harbor). It was designed as a minimal, fast alternative to more complex scanning tools.

SEE ALSO

nmap(1), ss(8), netcat(1), rustscan(1), masscan(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid