From 8241d83ac5ec30ae6a29180f4bffa82c9b28e222 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 19 Aug 2017 10:53:40 +0000 Subject: [PATCH] wireless: Use random MAC addresses when scanning for better privacy Signed-off-by: Michael Tremer --- src/functions/functions.wpa_supplicant | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/functions/functions.wpa_supplicant b/src/functions/functions.wpa_supplicant index 7362601..f815910 100644 --- a/src/functions/functions.wpa_supplicant +++ b/src/functions/functions.wpa_supplicant @@ -32,6 +32,13 @@ wpa_supplicant_config_header() { if isset country; then print "country=${country}" fi + print + + print "# Privacy" + + # Use a random MAC address for any pre-association + # operations like scanning or ANQP + print "preassoc_mac_addr=1" print # end of header } -- 2.47.3