135 Commits

Author SHA1 Message Date
04a8eaa462 Add support for ARM64 platform 2018-09-07 11:20:22 +02:00
461d857cab Switch to Visual Studio 2017 2018-09-05 15:05:41 +02:00
4ae70c8575 Distinguish or merge variables with same names
...to resolve C4457 warnings.
2018-09-05 15:00:13 +02:00
decf8d0860 EAP_USE_NATIVE_CREDENTIAL_CACHE is now 0/1 #defined 2017-02-02 13:34:43 +01:00
391fc796d7 Clean-up 2017-01-31 14:00:37 +01:00
d1a6d02e67 Incorrect RFC quote removed 2017-01-31 11:07:25 +01:00
8e81ece9e3 Some extra diagnostic output added when configuration XML contains unknown/unsupported method 2016-12-07 11:54:42 +01:00
281c8a7119 eap::peer_ttls::end_session() fixed to call method's end_session() method 2016-12-05 13:17:38 +01:00
cebcf7506e Redundant std::string to const char* conversion in exception constructors cleaned 2016-11-04 14:50:12 +01:00
ff2871f126 WIN1250 >> UTF-8 2016-11-01 07:02:45 +01:00
26a7b7dab7 pEapOutput Prefast specifier for process_request_packet() methods changed
# Conflicts:
#	lib/EAPMsg/include/Method.h
#	lib/EAPMsg/src/Method.cpp
2016-10-24 14:58:17 +02:00
d08488d916 pEapOutput Prefast specifier for set_response_attributes() methods changed
# Conflicts:
#	lib/EAPBase/include/Method.h
#	lib/EAPBase/src/Method.cpp
#	lib/TTLS/include/Method.h
#	lib/TTLS/src/Method.cpp
2016-10-24 14:44:36 +02:00
4722c42903 Incorrect pEapOutput in method::set_ui_context() methods fixed
# Conflicts:
#	lib/EAPBase/include/Method.h
#	lib/EAPBase/src/Method.cpp
#	lib/TTLS/include/Method.h
#	lib/TTLS/src/Method.cpp
2016-10-24 14:18:11 +02:00
1ccf97b6d7 ppResult >> pResult 2016-10-24 13:35:46 +02:00
822cf92915 Some more C casting replaced with C++ dynamic casting 2016-10-04 12:41:01 +02:00
1d06d78294 Some more C casting replaced with C++ dynamic casting 2016-10-04 12:39:32 +02:00
76729d51cc Code clean-up 2016-10-03 14:49:17 +02:00
c0b51f767c ID 3. C style pointer casting from security audit fixed 2016-10-03 11:40:30 +02:00
82f5cd7507 ID 1. Variables shadowing from security audit report fixed 2016-10-03 09:35:14 +02:00
b6adb2a850 Common members from config_method_with_cred moved to parent config_method 2016-09-29 11:23:22 +02:00
7bc6494b4c Amend to commit 2684c6b7de3ac62ce2edf04cb57a8345600e66f9 2016-09-28 11:25:35 +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
0ab18017cd Pre-shared >> Configured credentials, Own >> Stored credentials 2016-09-21 09:43:02 +02:00
641c9b6932 Credentials are no longer stored using method name (TLS/PAP/MSCHAPv2) but with level/type identifier 2016-09-06 15:39:41 +02:00
b11cb3a5f2 MSCHAPv2 now functional
(closes #5)
2016-09-06 14:10:46 +02:00
c765954c0f "Last Authentication Failed" flag extended to support finer feedback, why last authentication failed 2016-09-06 14:10:02 +02:00
b7ed9d076f When inner method admits its authentication (credentials) failed, failed authentication flag for outer method is cleared 2016-09-06 10:02:55 +02:00
b255aa6505 EapPeerMethodResult's fIsSuccess and dwFailureReasonCode management revised to guarantee configuration gets saved 2016-09-06 09:57:34 +02:00
d83f5422d7 MSCHAPv2 almost finished... 2016-09-05 16:44:18 +02:00
4076655e2e MSCHAPv2 work continues... 2016-09-04 18:00:36 +02:00
e4e9604297 method_ttls::derive_challenge() introduced 2016-09-04 18:00:10 +02:00
765466f535 Missing memory-sanitation added 2016-09-04 17:57:59 +02:00
0095ebbff6 Provider identity is now coherent to draft-winter-opsawg-eap-metadata-02 2016-09-02 19:24:47 +02:00
a8070e9bba Clean-up 2016-09-02 14:07:56 +02:00
621669828b Schannel and ownTLS MSK derivation unified 2016-09-02 14:03:34 +02:00
00aee5bb78 ownTLS updated 2016-09-02 11:38:28 +02:00
198b9a576e Maximum packet size parameter is now optional 2016-09-02 10:19:39 +02:00
566785192a Requirement that eap::method processes EAP packets only dropped, work with non-EAP methods simplified 2016-09-02 09:50:21 +02:00
6c11b23267 MSCHAPv2 stub added - it's a PAP clone, so selecting it does PAP really 2016-09-01 14:59:40 +02:00
56e2448f71 Clearing session resumption for ownTLS added.
(Have yet to learn how do you do this for Schannel. Better yet: How do you make Schannel resume a session in the first place.)
2016-09-01 14:59:03 +02:00
1e60d21860 On session reconnect skip inner re-authentication now 2016-09-01 12:49:20 +02:00
844b185887 EAP packet classes organized in hierarchy now 2016-09-01 10:25:33 +02:00
ae66af02a2 After careful review of draft-winter-opsawg-eap-metadata the pre/post-processing of <OuterIdentity> was found inaccurate and has been dropped 2016-09-01 05:54:36 +02:00
60f1b4ccfb Pre&post-processing of XML configuration introduced to allow draft-winter-opsawg-eap-metadata-02 compliant XML profiles on the outside, while maintaining internal simplicity 2016-08-31 16:33:19 +02:00
c9be6f4f7b Support for multiple identity providers of draft-winter-opsawg-eap-metadata XML configuration added 2016-08-31 14:39:27 +02:00
452fa4b9dc Inserting single-occurrence XML elements with children simplified 2016-08-31 09:48:11 +02:00
68aec5dfb4 Namespace name is static member now 2016-08-31 08:43:03 +02:00
5dfd079686 Support for multi-provider management added to GUI 2016-08-31 00:36:19 +02:00
cafd786e19 Own TLS updated to keep it alive (now that the fuss around outer/inner methods settled) 2016-08-29 20:40:37 +02:00
a7c8052ee2 eap::method revised to support nesting, so the PAP method was made a stand-alone method 2016-08-29 20:05:58 +02:00