Skip to content
Contents
GuidesOpenWrt

Identify a new device from OpenWrt lease and access logs

First, check recent DHCP lease records, wireless association logs, and interface statuses. Compare device time, SSID, MAC address, and assigned IP address.

First, check recent DHCP lease records, wireless association logs, and interface statuses. Compare device time, SSID, MAC address, and assigned IP address. Mobile devices might obtain separate IP addresses per network, and wired endpoints may connect through another switch. To identify abnormal outbound connections, match the source IP address with outbound traffic counters.

Monitor a small number of explainable metrics

Select DNS query counts, new sources, repeated failure rates, and peak traffic metrics. Synchronize the router's clock, log by network day, and set retention periods. Perform detailed packet captures only within necessary scopes and timeframes, and validate alerts against your own experimental objectives.

Remind new devices to find evidence of access-side connectivity

After joining with the test device, record the timestamp, current MAC address, DHCP lease and connected AP. Compare unexpected outbound connections with the destinations used by normal applications.

After isolating unknown devices, verify that known services have resumed. Access the backend via the management terminal to confirm login is still possible. When troubleshooting, prioritize recording timestamps, network zones, and affected services to facilitate verification with device owners.

Only isolate or notify when events can be precisely tied to a specific device and network. Retain necessary anonymized fields with clear expiration periods, and avoid treating transient, random addresses as indications of intrusion.

Add a lab event and retrieve it from the router log by tag. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Check the terminal output
Add a lab event and retrieve it from the router log by tag. · OpenWrt 25.12.6 x86/64 (QEMU/KVM).
Add a lab event and retrieve it from the router log by tag. · OpenWrt 25.12.6 x86/64 (QEMU/KVM). Open the original image

Reference

Related guides

Reference

Check the model, region and hardware revision on the label before selecting firmware.

Explore hardware

Comments