oui

command
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 20 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command oui builds content/oui/oui.tsv.gz, the table that turns the first bits of a MAC address into the name of the company the IEEE registered them to. It downloads runZero's mac-tracker file (MIT; rebuilt twice a day from the IEEE registries oui, mam, oui36, iab and cid), keeps the latest organisation of every /24, /28 and /36 prefix, drops pointer and "private" entries, and writes the table in a fixed order. Run it with `make oui`; the result is committed, the product never downloads it.

The source is pinned: the file of one commit of mac-tracker, whose SHA-256 is recorded below; a download that does not hash to it is refused. `-ref main` only looks at what the newest commit would be (it asks the GitHub API for the commit id, downloads the file and prints the two constants to review and copy; it writes nothing). The same input always gives the same bytes (the gzip header carries no time). oui.source records the commit, the file's SHA-256 and the counts. Network, for a maintainer only: raw.githubusercontent.com (and api.github.com for `-ref main`), 60 s limit each.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL