Registry / networking / cilium-arping

cilium-arping

JSON →
library1.0.0gogounverified

A native Go library to ping hosts via ARP datagrams or query MAC addresses.

go get github.com/cilium/arping
INSTALL
IMPORT
SIG · CILIUM-ARPING
C
cilium-arping
networkinggov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

arping
github.com/cilium/arping

Pings an IP address via ARP and prints the MAC address.

package main import ( "fmt" "github.com/cilium/arping" ) func main() { mac, err := arping.Ping("192.168.1.1") if err != nil { panic(err) } fmt.Println(mac) }
Debug
Known issues
gotchaRequires root or CAP_NET_RAW capability on Linux.
fix
Run with sudo or setcap cap_net_raw+ep on the binary.
affects: all
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
OpenAI (training)
1
Resources
cilium-arping — go get cilium-arping · libregistry