Created attachment 359175 [details] Use pid and time for random initalization (patch needs %define _default_patch_fuzz 2) Description of problem: If you want to change mac addresses of more then one interface within one second, macchanger sets only one mac address. Version-Release number of selected component (if applicable): 1.5.0 How reproducible: always Steps to Reproduce: 1. macchanger -r eth0 2. macchanger -r eth1 (within one second) Actual results: eth0 and eth1 get the very same mac address. Expected results: eth0 and eth1 should get different mac addresses. Additional info: patch has already been submitted and excepted upstream and will be included in the next release. but looking at the release history the next release will unlikely be within the next months..
(In reply to comment #0) > If you want to change mac addresses of more then one interface within one > second, macchanger sets only one mac address. Right, I learnt about this issue quite a long time before taking over this package not many days ago and was one of the first things I planned to change. Probably easiest way to reproduce is to run macchanger in loop on one interface and see lot of errors: It's the same MAC!! > patch has already been submitted and excepted upstream and will be included in > the next release. Excepted? Did you mean accepted?
uuum.. "accepted", yes. I sent the patch upstream (to Alvaro Lopez Ortega) about 1 year ago.
Committed in Rawhide as 1.5.0-8 with few other fixes. Do you are about updates for F10/F11, or you're already running own patched version?
I have been using my own patched version and just compiled/installed 1.5.0-8 which works for me. Thank you Tomas! (: