User Tools

Site Tools


addressrandomization

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
addressrandomization [2020/03/27 16:14]
James Prestwood
addressrandomization [2020/03/27 16:22]
James Prestwood
Line 9: Line 9:
 </​code>​ </​code>​
  
-This option was added to ''​AddressRandomization''​ but truthfully this is not random. The MAC address is generated using a SHA256 digest from the permanent adapters address and the SSID being connected to. This is a deterministic operation which will allow the same MAC to be used on every connection to a given SSID. Generally this is the behavior the average user wants. For fully randomized MAC addresses see ''​AlwaysRandomizeAddress''​+This option was added to ''​AddressRandomization''​ but truthfully this is not random. The MAC address is generated using a SHA256 digest from the permanent adapters address and the SSID being connected to. This is a deterministic operation which will allow the same MAC to be used on every connection to a given SSID. Generally this is the behavior the average user wants. For fully randomized MAC addresses see [[#AlwaysRandomizeAddress]].
  
 ===== AlwaysRandomizeAddress ===== ===== AlwaysRandomizeAddress =====
-This option was added to network provisioning files ([[https://​iwd.wiki.kernel.org/​networkconfigurationsettings#​general_network_configuration_settings|here]])+The ([[https://​iwd.wiki.kernel.org/​networkconfigurationsettings#​general_network_configuration_settings|AlwaysRandomizeAddress]]) ​option was added to network provisioning files. Its value only takes effect when ''​AddressRandomization''​ is set to ''​network''​. When enabled the MAC address is randomized on each connection to a network in a non-deterministic fashion. To the access point it will appear as if a brand new client is connecting every time. 
 + 
 +===== AddressOverride ===== 
 +The ([[https://​iwd.wiki.kernel.org/​networkconfigurationsettings#​general_network_configuration_settings|AddressOverride]]) option was added to network provisioning files. Its value only takes effect when ''​AddressRandomization''​ is set to ''​network''​. When enabled the MAC address will be set to this value when connecting to the network that the provisioning file dictates, and only for this network. 
 + 
 +<​code>​ 
 +# /​var/​lib/​MySSID.psk 
 +[Settings] 
 +AddressOverride=11:​22:​33:​44:​55:​66 
 +</​code>​
addressrandomization.txt · Last modified: 2020/03/27 17:18 by James Prestwood