← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1316278] Re: Cannot change mac with --random

 

** Also affects: macchanger (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: macchanger (Ubuntu Xenial)
   Importance: Undecided
       Status: Confirmed

** Also affects: macchanger (Ubuntu Wily)
   Importance: Undecided
       Status: New

** Changed in: macchanger (Ubuntu Trusty)
       Status: New => Confirmed

** Changed in: macchanger (Ubuntu Wily)
       Status: New => Fix Released

** Changed in: macchanger (Ubuntu Xenial)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1316278

Title:
  Cannot change mac with --random

Status in macchanger package in Ubuntu:
  Fix Released
Status in macchanger source package in Trusty:
  In Progress
Status in macchanger source package in Wily:
  Fix Released
Status in macchanger source package in Xenial:
  Fix Released
Status in macchanger package in Debian:
  Fix Released

Bug description:
  [Impact]
  A bad patch prevents the --random option from working at all.

  This was corrected in Debian, and in newer Ubuntu releases, but has
  not been corrected in Trusty. This SRU contains the corrected patch.

  [Test Case]
  - Use --random option
  - See if MAC changed or if resulted in error message

  [Regression Potential]
  Since this code simply doesn't work at all at the moment, the only regression would be for it to crash instead of not printing the error message.

  
  Original description:

  Hello,

  macchanger works only when I'm specifying which MAC to use. Using
  macchanger with --random always return 'It's the same MAC!!'.

  I think I find out why, there's something in this patch made to
  improve random MAC generation :

  http://bazaar.launchpad.net/~ubuntu-
  branches/ubuntu/trusty/macchanger/trusty/view/head:/debian/patches/08-fix_random_MAC_choice.patch

  In mc_mac_random()
  - 'mac' argument is saved into 'newmac', on the stack (line 40)
  - the MAC is randomized and every byte of 'mac' is changed (line 48...)
  - 'mac' is overwritten by 'newmac' value (line 82)

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/macchanger/+bug/1316278/+subscriptions