Package: macchanger / 1.7.0-5.3
Metadata
Package | Version | Patches format |
---|---|---|
macchanger | 1.7.0-5.3 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
02 fix_usage_message.patch | (download) |
src/main.c |
3 2 + 1 - 0 ! |
fix --help message |
06 update_OUI_list.patch | (download) |
data/OUI.list |
174 144 + 30 - 0 ! |
oui list update (new and modified vendor names) |
08 fix_random_MAC_choice.patch | (download) |
src/mac.c |
52 32 + 20 - 0 ! |
ensure random new mac is not same as old mac When requesting a random MAC with or without some specific prefix there is a small probability (1 / 2^24 for -e) that the new adress is the same as the old one. However unlikely, we don't want that. . If the requested mac is the same as the current mac; don't even try to change it. Print an error message instead. |
check random device read errors.patch | (download) |
src/main.c |
26 19 + 7 - 0 ! |
check for random device read errors In some cases it is possible to open /dev/hwrng but not to read from it. We need to check for errors and move on to the next possible random device in this case. |
verify changed MAC.patch | (download) |
src/main.c |
16 12 + 4 - 0 ! |
actively verify if the mac was changed macchanger tries to detect if the new MAC is the same as the old. However, it does this by calling mc_net_info_get_mac, on the same net_info structure that it's called mc_net_info_set_mac on. . So, mc_net_info_set_mac sets the mac *in the data structure*, then calls SIOCSIFHWADDR, which returns success even without doing anything if the kernel driver is buggy. And then mc_net_info_get_mac examines the data structure, without calling SIOCGIFHWADDR to check if the MAC was actually changed. . This patch actively verifies if the MAC was changed. |
1