https://github.com/rkojedzinszky/mac2vendor
Mac address lookup service
https://github.com/rkojedzinszky/mac2vendor
golang http lookup macaddress service
Last synced: 9 months ago
JSON representation
Mac address lookup service
- Host: GitHub
- URL: https://github.com/rkojedzinszky/mac2vendor
- Owner: rkojedzinszky
- License: other
- Created: 2019-11-13T13:27:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-28T17:54:26.000Z (over 5 years ago)
- Last Synced: 2025-02-02T12:17:03.152Z (over 1 year ago)
- Topics: golang, http, lookup, macaddress, service
- Language: Go
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mac2vendor
[](https://drone.srv.kojedz.in/krichy/mac2vendor)
Is a small service offered via http to look up mac addresses to vendors. It uses Wireshark's oui database,
reading the whole content into memory and serving requests over http, replying with a single text content.
## Usage
```bash
$ docker run -it --rm -p 3000:3000 ghcr.io/rkojedzinszky/mac2vendor
```
To access:
```bash
$ curl http://127.0.0.1:3000/F0:41:C8:A0:00:00
IeeeRegi
$ curl http://127.0.0.1:3000/00:02:4B
Cisco
```
To request json output, you can specify it in the request:
```bash
$ curl http://127.0.0.1:3000/F0:41:C8:A0:00:00?format=json
{"prefix":"F0:41:C8","vendor":"IeeeRegi","comments":"IEEE Registration Authority"}
```
# Service
A free live service is available [here](https://mac2vendor.srv.kojedz.in).