248e15641a
config_method_ttls: Split to make reusable
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:08:28 +01:00
a943a14d0f
Rename credentials_ttls => credentials_tls_tunnel to make reusable
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:08:27 +01:00
2282a2c45f
Explicitly check buffer length before touching it and unify exception
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:07:53 +01:00
0daa0579fe
method_defrag: Merge EAP response/request flags
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:07:00 +01:00
b908ff3aa9
method_defrag: Add support for version negotiation
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:07:00 +01:00
4af1bdc935
method_defrag: Simplify data length calculation
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:42 +01:00
d8cc9636b5
MSCHAPv2: Set keying material the proper way
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:42 +01:00
9e9648c924
Make modules and methods non-copyable & non-movable
...
Modules and methods are never duplicated or moved in a memory. Moving
constructors and operators are dead code.
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:42 +01:00
a2a4d75745
method: Cleanup get_result()
...
fIsSuccess is already set to TRUE by module::get_result().
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:41 +01:00
5a7827e85e
Make enums scoped
...
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:38 +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
366e08899b
Review implicit narrowing conversions
2018-09-05 14:29:49 +02:00
d5142aaf15
Distinguish or merge variables with same names
...
...to resolve C4457 warnings.
2018-09-05 14:27:59 +02:00
57372b8f95
Simple BLOB encryption/decryption added & comment updates
2017-02-01 10:23:07 +01:00
d82e22d188
Post-festum CRL checking introduced
2016-12-05 13:00:39 +01:00
e8d2e33aac
WideCharToMultiByte() and MultiByteToWideChar() optimization
2016-11-07 13:44:40 +01:00
6166dd3887
Reported events are more consistent now
2016-11-04 11:51:39 +01:00
d08b70c284
Last result status handling improved
2016-11-04 11:50:58 +01:00
7750ebdb66
MSCHAPv2 server challenge issue fixed
2016-11-04 11:49:01 +01:00
1fc2b7ff66
Redundant std::string to const char* conversion in exception constructors cleaned
2016-11-04 09:26:27 +01:00
88651e4ffe
EAP-MSCHAPv2 support finished
2016-11-04 09:16:43 +01:00
a450d02485
Maximum inner method packet length now precisely calculated in begin_session() methods too
2016-11-03 07:55:33 +01:00
fba3619747
eap::method_eapmsg initial testing and issue resolving
2016-11-02 11:04:48 +01:00
52a428bb5e
Various ownTLS leftover clean-up
2016-11-01 05:33:55 +01:00
c31e019cef
eap::metod thorough redesign:
...
- Support for method stacking introduced
- EAP-TLS method has been discontinued
- ownTLS has been discontinued
2016-10-31 16:58:53 +01:00
654c965851
Support for various peer action request extended
2016-10-27 10:00:18 +02:00
65ea47eb4e
EAPMsg >> EapHost
2016-10-25 08:51:13 +02:00
e7e1a6735d
pEapOutput Prefast specifier for process_request_packet() methods changed
2016-10-24 14:55:31 +02:00
2c91b6ca8c
pEapOutput Prefast specifier for set_response_attributes() methods changed
2016-10-24 14:42:56 +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
bafbdec9d3
User interaction and EAP response attributes management delegated to eap::method
2016-10-14 10:34:14 +02:00
7a26128c7b
"auto" simplified
2016-10-10 15:00:10 +02:00
dab9e69dd3
Inner EAP method support progress continues...
2016-10-04 10:32:11 +02:00
2f49934a92
Some more C casting replaced with C++ dynamic casting
2016-10-04 10:20:01 +02:00
559ffc5ead
ID 3. C style pointer casting from security audit fixed
2016-10-03 14:53:50 +02:00
7924612419
ID 1. Variables shadowing from security audit report fixed
2016-10-03 14:52:44 +02:00
b6adb2a850
Common members from config_method_with_cred moved to parent config_method
2016-09-29 11:23:22 +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
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
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