rainforestapp/go-arp

Name: go-arp

Owner: Rainforest QA

Description: ARP table tools for golang

Created: 2015-09-30 18:37:00.0

Updated: 2015-09-30 18:37:30.0

Pushed: 2015-09-09 13:39:41.0

Homepage: null

Size: 148

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

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 or OSX.

I've only tested this library on OSX and Linux.

For Linux, /proc/net/arp is used. For OSX (or other unix systems), exec.Command is used to call the arp utility and parse its output.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.