Skip to content
IPv4 cache refreshed 26 hr ago  ◆  IPv6 cache refreshed 25 hr ago  ◆  Prefixes in table 1,107,739 v4 · 261,906 v6  ◆  Peers 91 v4 · 20 v6  ◆  whois.pwhois.org:43 answering  ◆ 
Prefix WhoIs The Prefix
WhoIs Project
build & install

Autoconf, libpcap, and one line.

Root for the install step only. LFT builds and tests on Linux, FreeBSD, OpenBSD, NetBSD, macOS (Darwin) and Solaris; ./configure identifies the target and writes the makefiles.

Dependencies

libpcapRequired. Available from the tcpdump/libpcap project or your package manager.
c-aresOptional, recommended: asynchronous reverse DNS during the trace. Works with the versions distributions ship. -Q disables it at run time.
ncursesOnly for --watch.

./configure finds Homebrew, /usr/local, /opt/local and /opt/pkg prefixes on its own.

The easy way

Configure, build and install in one go (root required for the install step):

# ./configure && make && sudo make install

Why the binary needs privilege — briefly

Tracing needs a raw socket to send probes and a capture handle to receive replies. On Linux, make install uses setcap(8) to grant exactly cap_net_raw,cap_net_admin — no setuid root. On FreeBSD and the other BSDs, LFT installs setuid root. On macOS, setuid root is required: ChmodBPF (the mechanism Wireshark uses) grants access to BPF capture devices only and does not grant the ability to create raw sockets, and macOS has no setcap equivalent — ping and traceroute ship setuid root for the same reason.

Whatever the platform, LFT drops root immediately after opening those two handles, the drop is verified, and it aborts if the drop fails. All parsing, name resolution, whois and output happen unprivileged; there is no system, exec or popen anywhere. The build enables stack protection, fortified calls, PIE and RELRO where the toolchain supports them. whob is never privileged.

"Root for two syscalls, then never again."

Installing by hand

Linux — preferred, least privilege:

# sudo setcap cap_net_raw,cap_net_admin=eip ./lft

BSD / macOS — setuid root (required):

# sudo chown root lft && sudo chmod 4755 lft

lft -v prints the linked-library capabilities.

Windows

A Visual C makefile targeting the Npcap SDK is included (makefile.vc). Windows is a best-effort build, not a release platform, and TCP tracing on Windows is not supported.

Reporting bugs

Send reports through the contact form (choose Technical Support) with level-2 verbose output attached: lft -VV <target>.

504 KB · released September 2026 · includes whob
MD538eecfa9693a8af768747fb10ef5124f
SHA-256b1645ade44896a69efcbd0dbd78321b5b2dce1fdb68c890d45b26d2d09262b9c
Verify before you build: shasum -a 256 lft-4.0.tar.gz
Direct link for scripts: lft-4.0.tar.gz · release notes
Source only. Build with ./configure && make, or install the lft package from your distribution or ports tree. Build & install →
A few emails a year, only when a release ships. Privacy notice.