Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement Import/Export cred functionsexport_cred | Simo Sorce | 2014-01-12 | 3 | -0/+216 |
| | |||||
* | Generalize export_state and related functions | Simo Sorce | 2014-01-12 | 1 | -75/+82 |
| | |||||
* | Expose cred store names in public header file. | Simo Sorce | 2014-01-12 | 3 | -6/+8 |
| | | | | Easier to use from clients this way. | ||||
* | Implement import context function | Simo Sorce | 2013-12-15 | 1 | -1/+313 |
| | |||||
* | Implement export context function | Simo Sorce | 2013-12-15 | 4 | -1/+433 |
| | | | | | The Export format version is set to 0.1 Long term keys are not exported. | ||||
* | Add import/export functions for the RC4 state | Simo Sorce | 2013-12-15 | 2 | -0/+56 |
| | |||||
* | Use RC4 instead of EVP interface of openssl | Simo Sorce | 2013-12-15 | 1 | -49/+10 |
| | | | | | This makes it much easier to export/import the crypto state. In preparation for implemeting import/export of context. | ||||
* | Fix potential leaks in delete_context | Simo Sorce | 2013-12-15 | 1 | -0/+6 |
| | | | | | | | | Free RC4 state if any Free workstations tring if any Also make sure to safely zero the struct before freeing to avoid leaking any key material. | ||||
* | Do not copy creds on the context | Simo Sorce | 2013-12-15 | 2 | -63/+51 |
| | | | | | There is no need to copy creds around, they are always available or retrievable. | ||||
* | Fix memleaks in init_sec_context | Stefan Becker | 2013-12-13 | 1 | -1/+3 |
| | |||||
* | Fix memory leak with gssntlm_names | Simo Sorce | 2013-12-13 | 1 | -1/+1 |
| | | | | Thanks to Stefan Becker <chemobejk@gmail.com> for finding this leak. | ||||
* | Fix NTLM specific cred_store prefixes | Simo Sorce | 2013-11-23 | 1 | -3/+3 |
| | | | | | Can't use ':' in the prefix name as ':' is the separator between prefix and values. | ||||
* | Add methods to inquire credentials | Simo Sorce | 2013-10-24 | 3 | -0/+157 |
| | | | | Also add simple sanity check test. | ||||
* | Add support for NTLMv1 Signing and Sealing | Simo Sorce | 2013-10-23 | 2 | -35/+69 |
| | | | | Including tests to verify conformance to MS-NLMP | ||||
* | Add CRC32 function using Zlib's crc32 | Simo Sorce | 2013-10-23 | 2 | -0/+16 |
| | |||||
* | Support connectionless signing and sealing. | Simo Sorce | 2013-10-18 | 3 | -11/+104 |
| | | | | | In connectionless mode (GSS_C_DATAGRAM_FLAG on) sealing keys ust be rotated for each message. | ||||
* | Add way to set sequence numbres. | Simo Sorce | 2013-10-18 | 4 | -0/+77 |
| | | | | | | | | | | | In NTLMSSP connectionless mode applications are supposed to provide the sequence number, however GSSAPI's get_mic and verify_mic functions do not allow to pass an explicit sequence number. Allow to override the context sequence numbers using a custom oid and implemnting gss_set_sec_context_option() Allows the operation only if the context is in connectionless mode. | ||||
* | Add support for connectionless mode | Simo Sorce | 2013-10-18 | 1 | -46/+117 |
| | | | | | This needs a new GSSAPI flag, for now grab a number and define GSS_C_DATAGRAM_FLAG ourselves. | ||||
* | Add public devel header file | Simo Sorce | 2013-10-18 | 2 | -6/+44 |
| | | | | | This contains definitions for various OIDs and flags needed to implemented non-standard features like NTLMSSP Connectionless mode. | ||||
* | Add special case for enterprise names | Simo Sorce | 2013-10-18 | 1 | -1/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | When enterprise names are used they need to be passed with the embedded '@' signed escaped with a '\', when that is done the whole name is used as the user name and the name is not split on the @ or \ characters. These forms are now supported: foo USERNAME: foo DOMAIN: <null> BAR\foo USERNAME: foo DOMAIN: BAR foo@BAR USERNAME: foo DOMAIN: BAR foo\@bar.example.com USERNAME: foo\@bar.example.com DOMAIN: <null> | ||||
* | Treat NO OID as GSS_C_NT_USER_NAME on import | Simo Sorce | 2013-10-18 | 1 | -3/+6 |
| | |||||
* | Fix potential segfault condition in RC4_FREE | Simo Sorce | 2013-10-18 | 1 | -1/+1 |
| | |||||
* | Fix generation of signing keys and add tests | Simo Sorce | 2013-10-18 | 1 | -1/+1 |
| | |||||
* | Add support for gss_acquire_cred_with_password() | Simo Sorce | 2013-10-17 | 3 | -0/+60 |
| | |||||
* | Fix handling of NULL domain | Simo Sorce | 2013-10-17 | 2 | -10/+17 |
| | | | | | | | | | Fix segafult in NTOWFv2. When domain is NULL it is just omitted from the NTOWFv2 computation. Fix segfault in accept_sec_context, just make dom_name be an empty string. Fix also memory leaks. | ||||
* | Fix acquiring creds via cred_store | Simo Sorce | 2013-10-17 | 1 | -0/+26 |
| | | | | Make sure to set the cred type and copy in the name. | ||||
* | Add gss_display_name implementation | Simo Sorce | 2013-08-21 | 3 | -0/+85 |
| | |||||
* | Add implementation of gss_inquire_context | Simo Sorce | 2013-08-21 | 4 | -0/+154 |
| | | | | Also add source and target names to the context. | ||||
* | Add integrity and confidentiality functions | Simo Sorce | 2013-08-19 | 9 | -7/+547 |
| | |||||
* | Basic implementation of accept_sec_context | Simo Sorce | 2013-08-18 | 8 | -41/+625 |
| | | | | For now works only for satndalone server with access to a password file. | ||||
* | Add support for server credentials | Simo Sorce | 2013-07-28 | 1 | -1/+40 |
| | |||||
* | Add helper to copy names and gss_duplicate_name | Simo Sorce | 2013-07-28 | 3 | -0/+92 |
| | |||||
* | Internal release name | Simo Sorce | 2013-07-28 | 2 | -9/+14 |
| | |||||
* | Helper function to check lm compatibility level | Simo Sorce | 2013-07-28 | 4 | -17/+21 |
| | | | | Also stop associating it with th creds struct. | ||||
* | Fix message type check | Simo Sorce | 2013-07-28 | 3 | -5/+5 |
| | |||||
* | Add gss_context_time() implementation | Simo Sorce | 2013-07-28 | 3 | -1/+35 |
| | |||||
* | Helper function to check security context validity | Simo Sorce | 2013-07-28 | 3 | -0/+20 |
| | |||||
* | Add expiration time checks | Simo Sorce | 2013-07-28 | 2 | -0/+16 |
| | | | | | | | | | Check Maxlife for challenge response messages. Also add a Maximum lifetime for the context itself based on the same challene/response maximum life. According to MS-NLMP MaxLifetime is 36h on modern Windows OSs, use the same for now. | ||||
* | Add Credential Store support | Simo Sorce | 2013-07-28 | 3 | -84/+203 |
| | | | | | This allows a program to feed crdentials directly to GSSAPI from a configuration file, or other means. | ||||
* | Fix some comments | Simo Sorce | 2013-07-28 | 1 | -3/+2 |
| | |||||
* | Fix target_info length calculation | Simo Sorce | 2013-07-28 | 1 | -10/+10 |
| | | | | | The size of the AV filed itself was missing for each field resulting in a shorter than needed buffer size. | ||||
* | Always request NTLMSSP_REQUEST_TARGET | Simo Sorce | 2013-07-19 | 1 | -0/+1 |
| | | | | | | | Otherwise Windows 2003 may not return a target_info field for NTLMv2 or a server name for NTLMv1 in the challenge message. Thanks to David Woodhouse for providing help to debug this issue. | ||||
* | Add NTLMv1 support to context initialization | Simo Sorce | 2013-07-18 | 3 | -6/+73 |
| | |||||
* | Add NTLM Crypto support functions for NTLMv1 | Simo Sorce | 2013-07-18 | 5 | -4/+324 |
| | |||||
* | Implement basic naming functions | Simo Sorce | 2013-07-18 | 3 | -1/+310 |
| | |||||
* | Implement credential handling | Simo Sorce | 2013-07-18 | 6 | -93/+297 |
| | |||||
* | Initial GSS Mechanism code. | Simo Sorce | 2013-07-18 | 4 | -2/+853 |
| | | | | Implements init sec context and basic mechanism initialization. | ||||
* | NTLM Crypto functions | Simo Sorce | 2013-07-18 | 6 | -55/+941 |
| | | | | Adds crypto function helpers needed by NTLM authentication | ||||
* | Initial NTLM message parsing library | Simo Sorce | 2013-07-16 | 2 | -0/+1721 |
| | | | | Implements functions to encode/decode NTLMSSP packets | ||||
* | Scheleton to start bulding the GSS-NTLMSSP project. | Simo Sorce | 2013-07-13 | 2 | -0/+48 |