Skip to content

Commit 003e7f7

Browse files
feat: add arp-scan to the container image
1 parent ef6b48c commit 003e7f7

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

Dockerfile.goreleaser

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ RUN apk add --no-cache \
44
bash \
55
iputils \
66
iproute2 \
7+
arp-scan \
78
curl \
89
ca-certificates \
910
bind-tools \

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -219,14 +219,7 @@ tasks:
219219

220220
For more advanced use cases just write a custom script that returns the IPv4s you need.
221221

222-
```yaml
223-
...
224-
tasks:
225-
myhome:
226-
ipv4:
227-
interval: 30s
228-
command: ./print_desired_ipv4s.sh
229-
args: []
230-
lifetime: 4m
231-
...
232-
```
222+
If you want to do the same MAC to address auto discovery in IPv4:
223+
`ip neigh show | grep -i "00:11:22:33:44:55" | awk '{print $1}'`
224+
or
225+
`arp-scan --localnet | grep -i "00:11:22:33:44:55" | awk '{print $1}'`

0 commit comments

Comments
 (0)