lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <53A01799.5060304@redhat.com>
Date:	Tue, 17 Jun 2014 12:25:29 +0200
From:	Daniel Borkmann <dborkman@...hat.com>
To:	Albert Krenz <albert.krenz87@...glemail.com>
CC:	netdev@...r.kernel.org
Subject: Re: How does the linux kernel select the MAC address for TAP devices?

On 06/16/2014 10:00 AM, Albert Krenz wrote:
> As stated in the email subject: Where does the kernel get the used
> MAC-Adress for a newly create TAP device? Are they randomly generated
> or does it select one from a fixed pool of reserved MAC-Adresses?
>
> I have not found any official documentation about the selection of
> MAC-addresses for TAP-devices. Most sites like
> http://backreference.org/2010/03/26/tuntap-interface-tutorial/ state
> that the MAC addresses are auto-generated and can be changed. But they
> do not explain the generation rules.
>
> Does anyone know an official document (preferably from kernel.org)
> explaining the MAC selection process? Or is it only explained in the
> Source?

See: drivers/net/tun.c +936
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ