# lft を Homebrew, apt, MacPorts でインストール

lft のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:lft
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install lft
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install lft
```

  証拠: MacPorts ports tree: net/lft/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Debian apt (92%):

```sh
sudo apt install lft
```

  証拠: Debian stable package indexes: lft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## パッケージ情報

- **パッケージキー:** brew:lft
- **パッケージマネージャ:** Homebrew
- **バージョン:** 3.99
- **ソース概要:** Layer Four Traceroute (LFT), an advanced traceroute tool
- **ホームページ:** <https://pwhois.org/lft/>
- **最終更新:** 2026-07-20T15:27:15Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- lft (エイリアス)
- whob (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.99
## プロジェクトの歴史と使われ方

LFT, Layer Four Traceroute, is a network diagnostic tool that extends traceroute-style path discovery with TCP, UDP, ICMP, AS lookup, netblock lookup, and firewall-aware heuristics. It is packaged together with WhoB, a whois-oriented companion tool for routed IP address context.

### プロジェクトの歴史

The official LFT page says LFT was first released publicly in 1998 under the name FFT. Its distinguishing idea was tracing with transport-layer probes, including TCP SYN or FIN probes to arbitrary services, instead of relying only on the classic UDP probe pattern associated with traditional traceroute.

The project has continued as an operational networking tool rather than a large hosted source-code community. The 3.95, 3.96, and 3.97 changelog entries document modernization work such as getaddrinfo/getnameinfo migration, asynchronous DNS through c-ares, Path MTU discovery, ncurses watch mode, and ECMP-stable tracing.

### 採用の歴史

LFT's adoption is strongest among network engineers, reverse engineers, and operators who need route visibility across firewalls, ECMP paths, or protocol-specific forwarding behavior. Packaging in Homebrew, Debian, Ubuntu, and MacPorts makes it available in the same toolbox as traceroute, mtr, tcpdump, and whois.

### 使われ方

Users run `lft` to trace a path with TCP, UDP, ICMP, or RFC 1393 style probes, then use options for AS numbers, netblock names, verbose packet interpretation, or newer visual/statistical output. The bundled `whob` client provides quick origin-ASN and registry context for IP addresses.

### パッケージ好きにとっての重要性

LFT is a classic small networking package: specialized, privilege-sensitive, and valuable when the default platform traceroute does not model the path a service actually takes. Its continued packaging matters because it preserves a 1990s diagnostic idea that remains relevant on filtered and load-balanced networks.

### タイムライン

- 1998: The tool was released publicly under the name FFT, according to the official authors' note.
- Version 2.5: Recent releases at that point included WhoB as a standalone client in the LFT binary directory.
- 2026-03: LFT 3.95 modernized resolver APIs and added asynchronous DNS.
- 2026: LFT 3.96 added active Path MTU Discovery and richer per-hop statistics.
- 2026-04: LFT 3.98 was announced with build-system fixes for Linux packaging and autoconf.

### Related projects

- LFT is related to traceroute, tcpdump/libpcap, whois clients, Prefix WhoIs, RIPE NCC and Team Cymru ASN lookups, mtr, and other operator-focused path diagnosis tools.

### ソース

- <https://formulae.brew.sh/formula/lft>
- <https://pwhois.org/lft>
- <https://pwhois.org/lft/CHANGELOG>
- <https://pwhois.org/lft/lft-manpage.html>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## 他のパッケージマネージャ記録

- Debian apt - lft - 3.91-2: normalized package name match | Debian stable package indexes: lft from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | layer-four traceroute | https://pwhois.org/lft/
- Ubuntu apt - lft - 3.91-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: lft from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | layer-four traceroute | http://pwhois.org/lft/
- MacPorts - lft: normalized package name match | MacPorts ports tree: net/lft/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/lft.yml](https://github.com/mxcl/pkgdb/blob/main/combined/lft.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
