3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-27 03:19:24 +01:00
iwd/src
James Prestwood 5a1b1184fc netdev: support per-network MAC addresses
For privacy reasons its advantageous to randomize or mask
the MAC address when connecting to networks, especially public
networks.

This patch allows netdev to generate a new MAC address on a
per-network basis. The generated MAC will remain the same when
connecting to the same network. This allows reauthentications
or roaming to work, and not have to fully re-connect (which would
be required if the MAC changed on every connection).

Changing the MAC requires bringing the interface down. This does
lead to potential race conditions with respect to external
processes. There are two potential conditions which are explained
in a TODO comment in this patch.
2020-03-18 13:10:41 -05:00
..
80-iwd.link build: Move 50-iwd.link up to 80-iwd.link for less confusion 2019-10-25 01:08:56 +02:00
adhoc.c treewide: fix typos 2020-01-21 16:03:28 -06:00
agent.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
agent.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
anqp.c anqp: Only register for frames on station interfaces 2019-11-20 20:24:43 -06:00
anqp.h anqp: utilize IWD_MODULE 2019-10-11 15:37:33 -05:00
anqputil.c treewide: fix typos 2020-01-21 16:03:28 -06:00
anqputil.h anqp: move ANQP parsers into anqputil 2019-07-15 14:53:44 -05:00
ap.c ap: React to NL80211_CMD_STOP_AP events 2020-02-17 12:27:54 -06:00
auth-proto.h auth-proto: introduce auth-proto concept 2019-05-03 13:53:50 -05:00
backtrace.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
backtrace.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
blacklist.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
blacklist.h blacklist: Convert to use IWD_MODULE 2019-05-22 09:58:04 -05:00
common.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
common.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
crypto.c crypto: Add support for PRF+ SHA1 2019-12-09 01:47:11 -06:00
crypto.h crypto: Add support for PRF+ SHA1 2019-12-09 01:47:11 -06:00
dbus.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
dbus.h dbus: Use the new /net/connman/iwd root path 2019-10-28 11:32:57 -05:00
device.c device: Switch to new frame watch API 2020-01-16 11:37:55 -06:00
eap-aka.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap-gtc.c eap-gtc: limit password length to maximum 2020-03-06 13:08:05 -06:00
eap-md5.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap-mschapv2.c treewide: fix typos 2020-01-21 16:03:28 -06:00
eap-mschapv2.h cleanup: Remove extra empty lines 2020-03-17 15:35:22 -05:00
eap-peap.c peap: Fail auth. if invalid compound MAC is received 2020-02-06 15:18:04 -06:00
eap-private.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap-pwd.c cleanup: Remove extra empty lines 2020-03-17 15:35:22 -05:00
eap-sim.c treewide: fix typos 2020-01-21 16:03:28 -06:00
eap-tls-common.c eap-tls-common: Don't fail with omitted EAP-TLS-CACert 2020-03-09 22:25:33 -05:00
eap-tls-common.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap-tls.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap-ttls.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap-wsc.c treewide: fix typos 2020-01-21 16:03:28 -06:00
eap-wsc.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eap.c eap: check MTU when loading identity 2020-03-06 12:17:09 -06:00
eap.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eapol.c eapol: fix use of non-ascii apostrophe 2019-11-21 14:00:35 -06:00
eapol.h eapol: Drop unused eapol_sm_set_event_func 2019-10-30 14:34:20 -05:00
eapolutil.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
eapolutil.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
erp.c treewide: fix typos 2020-01-21 16:03:28 -06:00
erp.h erp: Convert to using IWD_MODULE 2019-05-19 13:07:13 -05:00
fils.c fils: Fix endianness issues 2019-05-23 16:59:14 -05:00
fils.h fils: netdev: update to use auth_proto concepts 2019-05-03 14:37:11 -05:00
frame-xchg.c frame-xchg: Allow frame_xchg_stop calls inside frame callbacks 2020-03-17 15:45:07 -05:00
frame-xchg.h frame-xchg: Add a frame exchange API 2020-02-17 10:45:40 -06:00
ft.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
ft.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
genbuiltin make: plugin system for build 2017-11-28 13:20:33 -06:00
handshake.c treewide: fix typos 2020-01-21 16:03:28 -06:00
handshake.h eapol: Move the EAP events to handshake event handler 2019-10-30 14:26:09 -05:00
hotspot.c knownneetworks: React to mtime updates 2020-01-27 14:28:08 -06:00
ie.c cleanup: Remove extra empty lines 2020-03-17 15:35:22 -05:00
ie.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
iwd-dbus.conf tools: Add configure option and D-Bus policy file for hwsim utility 2018-09-14 15:24:15 +02:00
iwd.config.rst manpage: Add route prioritization setting 2019-11-08 17:05:18 -06:00
iwd.debug.rst doc: Add manual page for debugging information 2019-11-05 22:14:09 +01:00
iwd.h iwd: define a maximum password length 2020-03-06 13:07:58 -06:00
iwd.network.rst manpage: Add section about IPv4 static network configuration 2019-12-17 11:30:54 -06:00
iwd.rst doc: Add manual page for debugging information 2019-11-05 22:14:09 +01:00
iwd.service.in build: Add StateDirectoryMode=0700 option to systemd service 2019-09-09 06:55:22 +02:00
knownnetworks.c knownneetworks: React to mtime updates 2020-01-27 14:28:08 -06:00
knownnetworks.h knownneetworks: React to mtime updates 2020-01-27 14:28:08 -06:00
main.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
manager.c manager: remove warning for AddressRandomization option 2020-03-18 13:10:41 -05:00
missing.h build: Support missing rawmemchr 2020-02-03 11:54:28 -06:00
module.c module: Declare functions as foo(void) instead of just foo() 2019-11-24 19:44:06 +01:00
module.h module: Fix variable names 2019-11-11 18:29:45 -06:00
mpdu.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
mpdu.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
mschaputil.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
mschaputil.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
net.connman.iwd.service net.connman.iwd.service: Change SystemdService name to iwd.service 2018-08-09 10:45:16 -05:00
netconfig.c rtnlutil: Remove used rtnlutil 2020-02-17 09:08:50 -06:00
netconfig.h netconfig: Add netconfig event notifier 2019-10-09 17:51:57 -05:00
netdev.c netdev: support per-network MAC addresses 2020-03-18 13:10:41 -05:00
netdev.h treewide: fix typos 2020-01-21 16:03:28 -06:00
network.c network: enforce max EAP/pkey password length 2020-03-06 13:08:25 -06:00
network.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
nl80211cmd.c nl80211cmd: Add additional commands 2019-08-15 15:06:59 -05:00
nl80211cmd.h nl80211cmd: Introduce new utility 2019-07-15 14:06:26 -05:00
nl80211util.c nl80211util: Handle NL80211_ATTR_ACK flag in parser 2020-02-07 15:26:35 -06:00
nl80211util.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
owe.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
owe.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
p2putil.c p2putil: Replace free with clear in function names 2019-11-21 14:02:19 -06:00
p2putil.h p2putil: Replace free with clear in function names 2019-11-21 14:02:19 -06:00
pkcs8.conf build: Provide modules-load.d for loading pkcs8_key_parser module 2019-01-23 18:22:11 +01:00
plugin.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
plugin.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
resolve.c resolve: Fix invalid method name check 2019-12-17 16:58:04 -06:00
resolve.h resolve: Add systemd-resolved domain name installer 2019-12-11 00:57:35 -06:00
rfkill.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
rfkill.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
rrm.c rrm: Switch to new frame watch API 2020-01-16 11:37:57 -06:00
sae.c treewide: fix typos 2020-01-21 16:03:28 -06:00
sae.h cleanup: Remove extra empty lines 2020-03-17 15:35:22 -05:00
scan.c treewide: fix typos 2020-01-21 16:03:28 -06:00
scan.h scan: Add scan_bss_new_from_probe_req 2019-11-21 20:51:21 -06:00
simauth.c module: Move declarations into separate header file 2019-11-07 23:40:13 +01:00
simauth.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
simutil.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
simutil.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
station.c cleanup: Remove extra empty lines 2020-03-17 15:35:22 -05:00
station.h station: add APIs to get connected BSS and BSS list 2019-11-04 14:43:38 -06:00
storage.c storage: Add ability to preserve times 2020-01-22 11:15:19 -06:00
storage.h storage: Add ability to preserve times 2020-01-22 11:15:19 -06:00
util.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
util.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
watchlist.c treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
watchlist.h treewide: Move the Intel copyright forward to 2019 2019-10-25 00:43:08 +02:00
wiphy.c wiphy: add _generate_address_from_ssid 2020-03-18 13:10:41 -05:00
wiphy.h wiphy: add _generate_address_from_ssid 2020-03-18 13:10:41 -05:00
wsc.c treewide: fix typos 2020-01-21 16:03:28 -06:00
wsc.h wsc: Rework wsc_enrollee_destroy 2020-01-17 12:50:23 -06:00
wscutil.c wscutil: Add wsc_build_m8_encrypted_settings 2020-01-09 14:03:45 -06:00
wscutil.h wscutil: Add wsc_build_m8_encrypted_settings 2020-01-09 14:03:45 -06:00