File: README.md

package info (click to toggle)
golang-github-mdlayher-arp 0.0~git20191213.f72070a-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 140 kB
  • sloc: makefile: 3
file content (23 lines) | stat: -rw-r--r-- 468 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
arpc
=====

Command `arpc` provides a simple ARP client which can be used to retrieve
hardware addresses of other machines in a LAN using their IPv4 addresses.

Usage
-----

```
$ ./arpc -h
Usage of ./arpc:
  -d=1s: timeout for ARP request
  -i="eth0": network interface to use for ARP request
  -ip="": IPv4 address destination for ARP request
```

Request hardware address for IPv4 address:

```
$ ./arpc -i eth0 -ip 192.168.1.1
192.168.1.1 -> 00:12:7f:eb:6b:40
```