Andrew Zaborowski
4d366df23f
wsc: Handle beacon lost event
...
Handle the beacon loss event same as a disconnect: if any credentials
have been received try using them, otherwise fail.
2016-12-15 16:57:05 -06:00
Andrew Zaborowski
a750b7067a
netdev: Drop netdev->remote_addr
2016-12-15 15:47:57 -06:00
Andrew Zaborowski
b99c89fd35
netdev: Drop separate mde parameter, simplify
2016-12-15 15:46:57 -06:00
Andrew Zaborowski
9c6643b773
netdev: Always require handshake_state with netdev_connect
2016-12-15 15:25:53 -06:00
Andrew Zaborowski
d93a44a3f0
wsc: Move eapol_sm creation to netdev_connect_wsc
2016-12-15 15:16:25 -06:00
Denis Kenzior
c9ee5b8e7f
TODO: Add task about MSK sizes
2016-12-15 11:15:21 -06:00
Denis Kenzior
e458d0604e
TODO: Cleanup some completed tasks
2016-12-15 10:59:19 -06:00
Denis Kenzior
3d4da25b6c
unit: Tweak style
2016-12-14 23:09:55 -06:00
Denis Kenzior
aca4641fad
eap-mschapv2: Fixup some style issues
2016-12-14 23:07:02 -06:00
Markus Ongyerth
214603e68f
tools: Add MD4 to test runner kernel config
2016-12-14 23:01:22 -06:00
Markus Ongyerth
5af52f519b
autotests: add autotest for eap-mschapv2
2016-12-14 23:01:00 -06:00
Markus Ongyerth
9afe21f86f
eap-mschapv2: add code for eap method
2016-12-14 22:56:56 -06:00
Markus Ongyerth
dfc852dd3e
unit: Add tests for eap-mschapv2 functions
2016-12-14 22:47:00 -06:00
Markus Ongyerth
1baa6ec04c
eap-mschap: Add crypto functions for mschapv2
...
Add the key-derivation and hash functions required for mschapv2.
The eap-mschapv2 protocol can be implemented on top of these functions.
2016-12-14 22:46:18 -06:00
Denis Kenzior
6e729f6175
test-runner: Make sure to chdir to top_level_path
...
Some unit tests expect to be running from the top level iwd tree
directory to load certificates and such. Make sure that test-runner
chdirs to the appropriate directory prior to running the unit tests.
2016-12-14 15:52:28 -06:00
Denis Kenzior
3440652520
doc: Mention the need for ell-key-crypto branch
2016-12-14 15:48:23 -06:00
Rahul Rahul
0327be75c8
autotests: WPA2 test with MFP required
2016-12-14 14:53:28 -06:00
Denis Kenzior
2cd36be5ff
netdev: Fixup USE_MFP atribute usage
...
The kernel parses NL80211_ATTR_USE_MFP to mean an enumeration
nl80211_mfp. So instead of using a boolean, we should be using the
value NL80211_MFP_REQUIRED.
2016-12-13 09:26:42 -06:00
Denis Kenzior
221a8f9218
eapol: Fix IGTK key index extraction
2016-12-13 09:25:21 -06:00
Denis Kenzior
fea29229f3
eapol: Fix IGTK key index extraction
...
IGTK key index is a 2-byte little-endian field, not a bit field. This
makes sense since IGTK key id can only be 4 or 5.
2016-12-12 22:07:31 -06:00
Daniel Wagner
20c8761711
README: Add links to project's mailing list and irc channel
2016-12-12 11:46:43 -06:00
Rahul Rahul
c07addc4bf
netdev: set NL80211_ATTR_USE_MFP if mfp is enabled
2016-12-09 11:47:14 -06:00
Tim Kourt
8bc1b6866f
tools: Add option for CMAC in 4.9.0-rc5+
2016-12-06 17:04:07 -06:00
Tim Kourt
22a7a209d0
tools: Add required for 4.9.0-rc5+ config option
2016-12-06 15:18:50 -06:00
Rahul Rahul
0453b4e52f
unit/test-eapol: fixed handshake frame in tls test
...
eapol_sm_test_tls was using an incorrect frame in
handshake_state_set_own_wpa.
2016-12-02 10:05:50 -06:00
Rahul Rahul
71932acd2d
unit/test-eapol: igtk test with mfp enabled
...
This is the first version of the test
2016-12-02 09:45:42 -06:00
Denis Kenzior
c78d6fda26
build: Add eap-md5.c to test-eapol requirements
...
Otherwise the EAP-MD5 driver is not found and we get the following
output:
TEST: EAPoL/8021x EAP-TTLS+EAP-MD5 & 4-Way Handshake
Error initializing EAP for ifindex 1
Program received signal SIGSEGV, Segmentation fault.
2016-12-01 13:41:36 -06:00
Tim Kourt
eeb4f35bcb
unit: WSC unfragmented retransmission
2016-12-01 11:33:39 -06:00
Tim Kourt
4a8fdc4b33
eap-wsc: Add re-transmission handler for WSC
2016-12-01 11:33:03 -06:00
Tim Kourt
f21698095b
t-runner: Specify a python version to run
2016-11-30 22:57:16 -06:00
Tim Kourt
8d7b88ad25
t-runner: Disable PMU emulation for a guest
2016-11-30 22:57:13 -06:00
Denis Kenzior
bd9e1883ee
eap: Add retransmission support
2016-11-30 12:44:13 -06:00
Tim Kourt
32d623a09e
auto-t: Raname testWPS to testEAP-WPS
2016-11-30 10:07:15 -06:00
Tim Kourt
a2d638791d
t-runner: Enable unit test support
2016-11-29 11:34:07 -06:00
Tim Kourt
79f4d1a9cd
eap-wsc: Increment TX frag. offset only after ACK
2016-11-23 14:49:37 -06:00
Tim Kourt
fe25198af6
build: Include eap-md5.c
2016-11-21 11:08:56 -06:00
Tim Kourt
b0930d8f79
eap: Extract md5 logic into eap-md5.c
2016-11-21 11:08:50 -06:00
Andrew Zaborowski
1a64c4b771
eapol: Send EAPOL-Start if AP starts 4-Way Handshake
...
Make the use of EAPOL-Start the default and send it when configured for
8021x and either we receive no EAPOL-EAP from from the AP before
timeout, or if the AP tries to start a 4-Way Handshake.
2016-11-18 14:10:17 -06:00
Denis Kenzior
413287d5cf
eapol: Relax VERIFY_IS_ZERO condition
...
On certain routers, the 4-Way handshake message 3 of 4 contains a key iv
field which is not zero as it is supposed to. This causes us to fail
the handshake.
Since the iv field is not utilized in this particular case, it is safe
to simply warn rather than fail the handshake outright.
2016-11-18 14:04:07 -06:00
Denis Kenzior
d26e224bfc
unit: Update to new eap_init API
2016-11-15 16:44:24 -06:00
Denis Kenzior
d03f23200a
eap: Load MTU settings from iwd.conf
2016-11-15 16:44:07 -06:00
Denis Kenzior
ec93454e65
netdev: Send additional attributes
...
For fullmac drivers, these attributes are also needed
2016-11-15 15:39:55 -06:00
Denis Kenzior
d33fe385da
crypto: Add AKMs
2016-11-15 15:39:55 -06:00
Tim Kourt
d0b735c73c
handshake: Add getter for settings_8021x
2016-11-15 13:31:43 -06:00
Andrew Zaborowski
ea08bcd8fd
unit: Fix eapol TLS test after handshake_state changes
2016-11-14 11:20:20 -06:00
Denis Kenzior
2c2af4edd3
doc: Add WSC api
2016-11-11 11:29:04 -06:00
Tim Kourt
92ece898d1
eap-wsc: Add RX fragmentation support
2016-11-07 16:31:47 -06:00
Tim Kourt
fe90dcaab4
eap-ttls: Fix msg size miscalculation
2016-11-07 16:27:26 -06:00
Denis Kenzior
ee074153ed
doc: Add Adapter API documentation
2016-11-07 11:55:07 -06:00
Denis Kenzior
0b98f75dda
doc: Add AgentManager API documentation
2016-11-07 11:50:20 -06:00