An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/runZeroInc/mac-tracker

Package mactracker provides IEEE OUI lookups for MAC addresses. The package ships with an embedded database of IEEE OUI/CID/IAB/OUI-28/OUI-36 registrations, supplemented by tables for virtual-machine and other private prefixes. The simplest entry point is Lookup, which accepts any common MAC notation: When you already have the address as a byte slice (e.g. from a packet capture), use LookupBytes to avoid an unnecessary string round-trip: ParseMAC converts a string in any common format to an OuiHardwareAddr: Lookup returns a [OUiBlock] with a [Virtual] flag for known virtual-machine prefixes,and you can also check against the virtual table directly with LookupVirtual, LookupVirtual checks a MAC address against a table of hypervisor and cloud-provider prefixes: LookupOUI searches only the primary IEEE registration table: LookupOverride searches only the override table for unofficial and private registrations: MaskFromCIDR creates a byte-level mask useful for custom prefix matching:

Ecosystem
proxy.golang.org
Versions
0
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/run%21zero%21inc/mac-tracker
spec
License MIT
Namespace github.com/runZeroInc
Last Synced 18 days ago
Rankings on proxy.golang.org
Overall Top 5.0%