Feature #7011
closed
Retain vendor MAC address at power up
Added by Anonymous almost 8 years ago.
Updated over 7 years ago.
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.
- Assignee changed from Luiz Souza to Renato Botelho
- Status changed from New to Feedback
- % Done changed from 0 to 100
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
- 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
- Target version changed from 2.4.0 to 2.3.4
Also available in: Atom
PDF