48 Commits

Author SHA1 Message Date
9d0e261bbe method_eap: Add EAP Success/Failure support
Although, EapHost takes care for EAP Success and Failure packets for us,
it does so for the outer-most method only. When using EAP inside a TLS
tunnel, we are responsible for EAP Success and Failure packets ourselves.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:07:53 +01:00
dfa8115883 Simplify EAPMETHOD_PEER(_UI) constants to match other EAPMETHOD... ones
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:40 +01:00
08a67c561a Make EAP method StdAfx(_UI).h and RC files reusable
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:40 +01:00
8b66c7ad8d Parameterize EAP method author ID
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:40 +01:00
33612b556c Reorganize EAPMethods projects to scale better
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:39 +01:00
059710d83c Update Copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-05 11:45:51 +01:00
fac33ee0b1 Remove UTF-8 BOM
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-11-28 17:04:16 +01:00
6fb5cb88d2 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-09-04 13:11:48 +02:00
0d73e2f7a2 Incorrect pEapOutput in method::set_ui_context() methods fixed 2016-10-24 14:11:15 +02:00
a1f9a7bab9 ppResult >> pResult 2016-10-24 13:33:01 +02:00
79cc1af86f Clean-up and XML handling enhancement:
- XML helper functions always return objects by winstd::com_obj or winstd::bstr reference now to ensure proper release by caller
- get_element_value()/put_element_value() can optionally return reference to the XML object if required
- WinStd macros to simplify dplhandle<> and handle<> inherited classes reused by non-copyable classes
2016-09-23 14:43:31 +02:00
9daa5b52a4 Incorrect letter case referencing EapHost service fixed 2016-08-27 06:58:57 +02:00
db27355e46 Some last compiler warnings resolved 2016-08-16 00:58:22 +02:00
f7fdfb8dda EAP packet type check moved to Main.cpp 2016-08-13 08:09:13 +02:00
1bf51fda25 win_runtime_error moved to WinStd; eapxml functions return HRESULT now 2016-08-09 01:05:00 +02:00
b71e30f642 EAP_ERROR replaced with C++ exceptions for increased code readability 2016-08-08 22:59:17 +02:00
afe5450b95 Peer (Main.cpp) no longer manipulates session directly. Session management moved to eap::peer. 2016-08-06 08:06:38 +02:00
2aa4bce8cc eap::config::m_module reference again 2016-08-06 07:01:12 +02:00
54bb2050fa peer and peer_ui are no longer templates; method specific BLOB management moved from Main(_UI).cpp to modules. 2016-08-05 15:45:45 +02:00
460adb9858 m_module is now a pointer instead of reference 2016-08-05 11:23:59 +02:00
f2aa43913d EAP-TTLS session development continues... 2016-08-05 00:32:57 +02:00
22a87bf90d eap::session::get_response_packet() implemented 2016-08-04 10:07:03 +02:00
cb24fbd6a3 eap::peer_ttls::get_method_properties() implemented 2016-08-03 13:50:12 +02:00
6d8bd3f1c1 Cached credentials are correctly honored now 2016-07-21 13:21:40 +02:00
d69e8b3f6a EapPeerGetIdentity() accounts for missing cached credentials now 2016-07-21 12:30:46 +02:00
9376404164 eap::config_provider changed from template to class followed by a mass detemplatization of other classes 2016-07-20 17:57:43 +02:00
db69c23689 usr => cred 2016-07-20 11:27:23 +02:00
43751ed908 Template arguments and type names unified 2016-07-20 11:25:03 +02:00
bdd3fc616c EAP BLOBs are encrypted now 2016-06-22 09:18:27 +02:00
a2ca2fd850 Logging and error reporting simplified 2016-06-21 13:15:50 +02:00
ec0b283540 Functions using EAP_ERROR descriptor return bool now for code simplicity 2016-06-15 22:59:52 +02:00
6800de3df7 .h/.cpp files converted to UTF-8 to allow rcgettext parsing 2016-06-09 15:28:30 +02:00
98273c6bdc UI development continues... 2016-06-09 15:12:42 +02:00
6b541ce1ff Storing/retrieval of passwords to Windows Credential Manager introduced; UI development continues... 2016-06-08 15:29:30 +02:00
6c935d53c3 UI building started 2016-06-03 16:49:59 +02:00
1e68895a92 Configuration handling changed to match draft-winter-opsawg-eap-metadata-02 2016-06-01 16:32:48 +02:00
b9fa4ae646 Debug "hand-brakes" released 2016-05-22 00:34:24 +02:00
19d471ffa1 Sample configuration introduced, XML <-> BLOB transformation added 2016-05-21 23:49:18 +02:00
748ba7c4c0 Code cleanup and reorganization 2016-05-20 13:39:37 +02:00
7cb809d947 eap::eap_module_base renamed to eap::module_base and simplified 2016-05-20 10:30:39 +02:00
d1bb9b2b4c Sources are UTF-16 now 2016-05-20 09:54:29 +02:00
f5d647e81f EAPTTLS split to EAP Method itself and UI 2016-05-20 01:33:24 +02:00
61fa67a415 Development continues... 2016-05-19 23:39:02 +02:00
05d0dd71f1 EAP Method event manifest moved to EAPMethodEvents.dll resource DLL 2016-05-19 09:33:00 +02:00
f610d4183f Event tracing support added 2016-05-18 21:35:51 +02:00
fda660a752 Includes fixed 2016-05-17 14:36:05 +02:00
3f2d74beed WinStd library introduced 2016-05-16 16:41:05 +02:00
573838711a Initial commit 2016-05-16 11:52:11 +02:00