Andrew Zaborowski
f0fb1d2c89
autotests: Add a Preauthentication test
...
Unfortunately this doesn't currently ensure that the preauthentication
has succeeded and that later the PMKSA from the preauthentication was
used in the transition, only that the preauthentication process doesn't
break the transition. For now this can be confirmed by looking at the
testrunner -v output to see that the line "EAP completed with eapSuccess"
appears before the following line, and not after:
src/device.c:device_enter_state() Old State: connected, new state: roaming
2017-05-01 11:24:17 -05:00
Andrew Zaborowski
a620a02d35
device: In roam, preauthenticate to target BSS if supported
...
If FT is not possible and we're using 8021x try to preauthenticate to
target BSS before reassociation to it.
2017-05-01 11:24:04 -05:00
Andrew Zaborowski
08e863cb7e
netdev: Add netdev_preauthenticate
...
Add preauthentication logic. The callback receives the new PMK only.
2017-05-01 11:19:06 -05:00
Andrew Zaborowski
b910784e83
eapol: Add preauth_sm class, drop eapol_sm.preauth
...
Remove the preauthentication support code from the normal eapol_sm
methods and add a separate simplified class that only handles EAP
packets.
2017-05-01 11:13:32 -05:00
Tim Kourt
b2ea962a67
client: remove unused function
2017-04-28 15:02:15 -05:00
Tim Kourt
6a06623b0d
client: exclude unicode characters
2017-04-28 13:27:05 -05:00
Tim Kourt
cd3d9a26c1
client: add null check for adapter proxy
2017-04-28 13:27:05 -05:00
Tim Kourt
44e9e604f6
client: change str representation of bool fields
2017-04-28 13:27:05 -05:00
Tim Kourt
d5c7fea13d
client: Implement 'list, show' adapter commands
2017-04-27 15:14:22 -05:00
Tim Kourt
81172d0932
client: Define commands for adapter interface
2017-04-27 15:14:05 -05:00
Tim Kourt
636bdaeb5d
client: Add basic ops. for adapter interface
2017-04-27 15:13:53 -05:00
Tim Kourt
0a68431ef9
client: Add adapter argument completers
2017-04-27 15:13:28 -05:00
Tim Kourt
6d210d5aa4
client: Add properties for adapter interface
2017-04-27 15:12:27 -05:00
Tim Kourt
60c4025cdf
client: Introduce adapter interface
2017-04-27 15:11:59 -05:00
Tim Kourt
bc17967c91
client: network connection check
2017-04-27 15:11:35 -05:00
Tim Kourt
c6b05c722b
client: add network basic ops
2017-04-27 15:11:17 -05:00
Tim Kourt
c2fcba8040
client: add network properties
2017-04-27 15:10:35 -05:00
Tim Kourt
425cb23f98
client: Ops check on destroy
2017-04-26 18:51:45 -05:00
Tim Kourt
8f7066ec36
client: Remove deprecated properties proxy
2017-04-26 18:51:32 -05:00
Tim Kourt
5b94af5aab
client: display device properties
2017-04-26 18:51:21 -05:00
Tim Kourt
4740dc8445
client: display ordered networks
2017-04-26 18:50:16 -05:00
Tim Kourt
7e441040e5
client: Add 'connect' cmd for device
2017-04-26 18:49:52 -05:00
Tim Kourt
e2a81248df
client: Display handler for the completion candidates
2017-04-26 18:48:53 -05:00
Tim Kourt
e04df7f282
client: cmd argument completion based on properties
2017-04-26 18:48:25 -05:00
Tim Kourt
7882390e81
client: convert property getters to tostr
2017-04-26 18:47:32 -05:00
Andrew Zaborowski
f5036d7e1f
autotests: Always wait for DBus name in IWD.__init__
...
Sometimes iwd will take a while to register its dbus name. The python
class already waits for the name to appear on dbus if iwd is being
launched from python, do this also if iwd was already launched by the
test-runner. My use case was when running iwd under valgrind in which
case it runs slower.
2017-04-26 14:44:47 -05:00
Tim Kourt
0c64cc226a
client: Handle empty entity field
2017-04-26 14:36:25 -05:00
Tim Kourt
bfbffa1111
client: Add 'forget' cmd for known network
2017-04-26 14:36:25 -05:00
Tim Kourt
e0117febd5
client: Introduce cmd execution status
2017-04-26 14:36:25 -05:00
Tim Kourt
7a9f72018a
client: Add 'list' cmd for known networks
2017-04-26 14:36:25 -05:00
Tim Kourt
59a3c848ff
client: Change signature of the prop. setters
2017-04-25 17:04:14 -05:00
Tim Kourt
8f632633c1
client: Add NULL check for ops
2017-04-25 12:37:24 -05:00
Tim Kourt
4b4c7217fb
client: Add ops to known networks
2017-04-21 15:02:17 -05:00
Tim Kourt
21687e9a81
client: Argument completion for known-networks
2017-04-21 15:01:02 -05:00
Tim Kourt
8cdfd1e460
client: add commands for known networks
2017-04-21 15:00:57 -05:00
Tim Kourt
0be4a82946
client: Remove excluded client/device.h
2017-04-21 15:00:57 -05:00
Tim Kourt
d35322d347
client: Introduce known networks interface
2017-04-21 15:00:57 -05:00
Tim Kourt
1ef601dcf8
client: Handle failed retrieval of the objects
2017-04-21 15:00:57 -05:00
Andrew Zaborowski
48966f57e8
eapol: Only send EAPOL-Start on step 1/4 if really needed
...
Currently we'd send EAPOL-Start whenever EAP was configured and we
received an EAPOL-Key before EAP negotiation. Instead only do that if
we know we can't respond to the 4-Way handshake because we don't have
a PMK yet or the PMKID doesn't match. Require a PMKID in step 1/4 if
we'd sent a list of PMKIDs in our RSNE.
2017-04-21 14:16:25 -05:00
Tim Kourt
f53cb22b7e
client: Add display refresh
2017-04-21 12:56:46 -05:00
Tim Kourt
20588ff778
client: completion for device commands
2017-04-21 12:56:46 -05:00
Tim Kourt
02b52adf61
client: Entity argument completion
2017-04-21 12:56:46 -05:00
Tim Kourt
c85ea2f924
client: Command family argument completion
2017-04-21 12:56:46 -05:00
Tim Kourt
34797796ed
client: Introduce command completion
2017-04-21 12:56:46 -05:00
Tim Kourt
107cd45e92
client: Enable cmd prompt on dbus OM callback
2017-04-20 17:32:33 -05:00
Tim Kourt
1e6d7006f8
client: Add prompt for disabled input
2017-04-20 17:32:33 -05:00
Tim Kourt
0ee51c9dab
client: readline callback
2017-04-20 17:32:33 -05:00
Tim Kourt
2d567414f1
client: Change main exit to quit
2017-04-20 17:32:33 -05:00
Tim Kourt
c3aa97eec3
client: Remove display_types queue
2017-04-20 17:32:33 -05:00
Tim Kourt
2267d03bbb
client: Fix naming
2017-04-20 17:32:33 -05:00