Track MAC Addresses

Started by giffordj, June 26, 2024, 08:01:46 AM

Previous topic - Next topic
I have a few office's that need the ability to track the mac-addresses attached to their network for audit purposes. The way the some of offices do that today is by a program on the server using LAN sweeper. Is there a plugin for OPNsense to offer similar functionaility?

That's just ARP.

https://en.wikipedia.org/wiki/Address_Resolution_Protocol

You can check the ARP Table:

Interfaces - Diagnostics - Arp Table
/ui/diagnostics/interface/arp
Hardware:
DEC740

If you have there as well a switch that connects the Hosts to the network, and if that switch is a managed one you can check the mac-address table to see to which port which MAC address is connected.

Regards,
S.
Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD

This is a HIPAA compliance thing, they want to see a report that shows a new address within 15 minutes of it being added. I was thinking a cron script, but wasn't sure if anything was out there currently.

June 27, 2024, 09:41:04 AM #4 Last Edit: June 27, 2024, 10:01:51 AM by Seimus
If they want to do compliance on persistent base to scope network, just use some kind of tool.

For example you can use NetAlertX by jokob-sk or just plain old good arpscan.

https://github.com/jokob-sk/NetAlertX

I use it at home running as a docker container. Its basically a combination of several features such as arpscan and NMAP, than can scope out what was connected, disconnected on the network.

Regards,
S.

Networking is love. You may hate it, but in the end, you always come back to it.

OPNSense HW
APU2D2 - deceased
N5105 - i226-V | Patriot 2x8G 3200 DDR4 | L 790 512G - VM HA(SOON)
N100   - i226-V | Crucial 16G  4800 DDR5 | S 980 500G - PROD