Feature #7011
closedRetain vendor MAC address at power up
100%
Description
There are circumstances where it is desirable to be able to read the vendor's MAC addresses on an interface, even if the user has specified another address for spoofing.
The interface vendor MAC addresses should be stored at boot time in such a way that they can be accessed from user space.
Updated by Renato Botelho over 7 years ago
- Assignee changed from Luiz Souza to Renato Botelho
I'll take it
Updated by Renato Botelho over 7 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Updated by NOYB NOYB over 7 years ago
Prefer they be stored in /var/db directory along with some of the other network stuff. Also friendlier for write cycle sensitive media to store in RAM disk since they do not need to survive a reboot.
Also saving to a single file means only having to do one write at bootup. Along with the logic to only use when not booting means the files don't need to be opened during booting.
See PR for additional details.
Vendor MAC Retention, Restore Logic, Consolidate
https://github.com/pfsense/pfsense/pull/3546
Updated by Jim Pingle over 7 years ago
- Status changed from Feedback to Resolved
Works well!
Spoof MAC -> New MAC shows on the interface
Remove spoofed MAC -> Original MAC returns just like we wanted
Spoof MAC again -> New MAC in place
Reboot -> Still has the new MAC
Remove spoofed MAC -> Original MAC returns just like we wanted
Updated by Jim Pingle over 7 years ago
- Target version changed from 2.4.0 to 2.3.4