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.