Commit Graph

224 Commits

Author SHA1 Message Date
Marcel Holtmann 30c79d2633 build: Generate ell/ell.h from list of public headers 2018-10-30 20:54:16 +01:00
Marcel Holtmann 5bec514229 build: Include ell/utf8.h and ell/utf8.c into build objects 2018-10-26 21:22:37 +02:00
Marcel Holtmann 4412cbf1b4 build: Include ell/strv.h and ell/strv.c into build objects 2018-10-25 23:24:41 +02:00
Tim Kourt b46376980a mschaputil: Add MS CHAP utilities 2018-10-24 16:28:46 -05:00
Ross Burton 282a9f1a14 build: fix out-of-tree builds
In out-of-tree builds without dependency tracking the src/ directory generally
won't be created before genbuiltin tries to write into it.  Fix the race by
explicitly creating the directory.
2018-10-20 19:19:31 +02:00
Marcel Holtmann c9c5cbcd27 build: Remove fswatch.[ch] files from ELL compilation 2018-10-19 20:12:01 +02:00
Denis Kenzior d22e57c994 treewide: Remove use of key-private.h 2018-10-19 00:31:41 -05:00
Marcel Holtmann 2200b2663e build: Add support for compiling with an external ELL shared library 2018-10-18 20:31:29 +02:00
Marcel Holtmann a3c1fa28da build: Rename nl80211_util.[ch] into nl80211util.[ch] 2018-10-14 05:41:06 +02:00
James Prestwood 04a9315a3c nl80211: introduce nl80211 utility API's
Netdev/AP share several NL80211 commands and each has their own
builder API's. These were moved into a common file nl80211_util.[ch].

A helper was added to AP for building NEW_STATION to make the associate
callback look cleaner (rather than manually building NEW_STATION).
2018-10-08 21:34:58 -05:00
Marcel Holtmann f16e671e62 build: Include ell/dir.h and ell/dir.c into build objects 2018-10-04 22:54:32 +02:00
Tim Kourt 410ee2f6b9 eap-tls-common: introduce utility functions for eap-tls 2018-09-21 12:15:25 -05:00
Marcel Holtmann 004c9ebcd0 build: Fix typo within eap-wsc.h header path 2018-09-19 21:57:28 +02:00
Denis Kenzior 6b46beef45 client: Move properties from Device to Station 2018-09-14 21:12:11 -05:00
Marcel Holtmann 247b2ccc5c wired: Move D-Bus setup into separate source file 2018-09-14 23:29:46 +02:00
Marcel Holtmann b8d45a440a wired: Add initial version of Ethernet authentication daemon 2018-09-14 19:49:10 +02:00
Marcel Holtmann 1e37ef31fe eapol: Move eapol_key_validate() into eapolutil helper 2018-09-14 17:31:42 +02:00
Marcel Holtmann c40be7a7d5 monitor: Add EAP dummy method to keep linker happy 2018-09-14 17:12:47 +02:00
Marcel Holtmann 4a345511a7 wired: Add skeleton for Ethernet device handling and EAP setup 2018-09-14 16:41:05 +02:00
Marcel Holtmann fd181839f7 build: Introduce $(eap_sources) for splitting EAP from daemons 2018-09-14 16:35:04 +02:00
Marcel Holtmann 502aac073f tools: Add configure option and D-Bus policy file for hwsim utility 2018-09-14 15:24:15 +02:00
Marcel Holtmann c9b460f5cc build: Add D-Bus policy for Ethernet authentication daemon 2018-09-14 15:07:30 +02:00
Marcel Holtmann 706f0775c3 build: Add option to disable the wireless daemon binary 2018-09-14 14:36:07 +02:00
Marcel Holtmann 5efc88f3af build: Add systemd service configuration for Ethernet daemon 2018-09-14 14:09:53 +02:00
Marcel Holtmann a053084228 build: Prepare the systemd configuration option for extensions 2018-09-14 14:07:34 +02:00
Marcel Holtmann f81570eb75 build: Enable all optional features during distcheck 2018-09-14 13:53:55 +02:00
Marcel Holtmann 0071ecef8b build: Add skeleton for Ethernet authentication daemon 2018-09-14 13:47:51 +02:00
Marcel Holtmann 8da33905f4 build: Add configuration for building internal utilities 2018-09-14 13:46:55 +02:00
Marcel Holtmann f2d4b9afbd build: Move plugin conditionals closer to the daemon sources 2018-09-14 13:46:15 +02:00
Marcel Holtmann a01bbcfc19 build: Split noinst_PROGRAMS and libexec_PROGRAMS statements 2018-09-14 13:40:21 +02:00
Marcel Holtmann b6720d52ac build: Fix source file entries for hwsim and test-runner 2018-09-14 13:33:08 +02:00
Denis Kenzior 641e71a02f station: Add skeleton 2018-08-31 20:24:15 -05:00
James Prestwood 26246e75c8 unit: tests for SAE 2018-08-15 13:26:58 -05:00
James Prestwood 220fb61128 sae: implementation
SAE (Simultaneous Authentication of Equals) takes place during
authentication, and followed by EAPoL/4-way handshake. This
module handles the entire SAE commit/confirm exchange. This was
done similar to eapol.

SAE begins when sae_register is called. At this point a commit
message will be created and sent out which kicks off the SAE
authentication procedure.

The commit/confirm exchange is very similar to EAP-PWD, so all
the ecc utility functions could be re-used as-is. A few new ecc
utility functions were added to conform to the 80211 'blinding'
technique for computing the password element.
2018-08-13 20:40:59 -05:00
Marcel Holtmann 28573c90d1 build: Add support for systemd D-Bus activation 2018-08-06 22:37:22 +02:00
Tim Kourt efe45e4180 client: add client support for AdHoc 2018-07-30 09:00:57 -05:00
Tim Kourt 0fec184eae client: add client support for AP 2018-07-30 09:00:57 -05:00
Tim Kourt bb1a0adec7 client: introduce proxy property utils
All of the shared functions related to the processing of the
proxy properties will reside in this collection.
2018-07-25 11:21:14 -05:00
Andrew Zaborowski 2ca2d080d5 build: Add fswatch.[ch] from ell 2018-07-23 11:45:29 -05:00
Denis Kenzior c37146d403 wsc: Rework wsc_init & wsc_exit
- wsc module does not need nl80211 any longer, so remove it.
- Move wsc_init & wsc_exit declarations to iwd.h and remove wsc.h
- re-arrange how wsc_init & wsc_exit is called inside main.c.
2018-07-17 19:19:09 -05:00
James Prestwood 55cb9aa2e9 adhoc: adhoc implementation 2018-07-17 16:46:18 -05:00
Denis Kenzior 1d40c6cee7 build: Add util.c to test-eapol
src/eapol.c now uses util_*
2018-06-22 14:40:46 -05:00
Denis Kenzior 180a893c0c unit: Update to the new EAP API 2018-06-14 20:01:22 -05:00
Denis Kenzior a2d8054218 eap: Separate private bits into eap-private.h 2018-06-14 20:01:19 -05:00
Denis Kenzior 5616962bb2 unit: Update scan_get_security usage to new API 2018-05-24 19:22:16 -05:00
Marcel Holtmann 3d69c3b134 build: Remove readline header files from sources listing 2018-05-05 09:19:01 +02:00
Tim Kourt 85a1678147 client: introduce agent 2018-05-03 16:00:23 -05:00
Tim Kourt d1a00d9b34 client: implement agent-manager API 2018-05-03 16:00:23 -05:00
James Prestwood d10369cf60 eap-pwd: core EAP-PWD code 2018-05-03 10:50:30 -05:00
James Prestwood 49d313ab68 unit: Add ECC math sanity tests 2018-05-03 10:48:46 -05:00