https://github.com/mostlygeek/arp
ARP table tools for golang
https://github.com/mostlygeek/arp
Last synced: about 2 months ago
JSON representation
ARP table tools for golang
- Host: GitHub
- URL: https://github.com/mostlygeek/arp
- Owner: mostlygeek
- License: mit
- Created: 2015-02-14T04:08:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-03T07:39:57.000Z (12 months ago)
- Last Synced: 2025-05-09T00:04:10.266Z (about 2 months ago)
- Language: Go
- Size: 7.81 KB
- Stars: 89
- Watchers: 3
- Forks: 36
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
golang library for looking up MAC address by IP address. It currently supports
different methods for retrieving the ARP cache from the system depending if running
on Linux, OSX or Windows.I've only tested this library on OSX and Linux.
For Linux, `/proc/net/arp` is used. For OSX (or other unix systems) and Windows,
`exec.Command` is used to call the `arp` utility and parse its output.