Commit Graph

18677 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6250ffe2b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:43:55 +00:00
Love Hörnquist Åstrand
7d3572d5f0 use top_builddir for libasn1.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:43:23 +00:00
Love Hörnquist Åstrand
f52cd44f41 build ntlm-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:39:37 +00:00
Love Hörnquist Åstrand
688957a2f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 20:03:28 +00:00
Love Hörnquist Åstrand
fca448bd23 Don't send targetinfo now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 20:02:28 +00:00
Love Hörnquist Åstrand
6b7ecbef09 Build ntlmv2 answer buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 20:02:01 +00:00
Love Hörnquist Åstrand
cf5e2e451d add some new tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 19:59:11 +00:00
Love Hörnquist Åstrand
a93ff932a2 Add ntlmv2 answer calculating functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 19:58:38 +00:00
Love Hörnquist Åstrand
bc057e5bc8 Include <.../hmac.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 19:51:53 +00:00
Love Hörnquist Åstrand
eb22cff9ff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 17:27:36 +00:00
Love Hörnquist Åstrand
7576da2827 reorder to show slot here ntlmv2 code will be placed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 17:27:17 +00:00
Love Hörnquist Åstrand
afff6fd22a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 16:53:25 +00:00
Love Hörnquist Åstrand
0ee0699c46 Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 16:14:02 +00:00
Love Hörnquist Åstrand
a9f3a45bde x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:36:53 +00:00
Love Hörnquist Åstrand
3e8f397701 Announce that we support key exchange.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:34:13 +00:00
Love Hörnquist Åstrand
c40b4081cf Announce that we support key exchange and add bits to detect when it
wasn't used.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:32:40 +00:00
Love Hörnquist Åstrand
3008492b15 Add key exchange (NTLM_NEG_KEYEX).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:28:37 +00:00
Love Hörnquist Åstrand
546a1f0f6c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:48:05 +00:00
Love Hörnquist Åstrand
e42b5f4049 sent lm hashes, needed for NTLM2 session
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:47:32 +00:00
Love Hörnquist Åstrand
fadaad6712 Set error code on wrong lm.length.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:46:53 +00:00
Love Hörnquist Åstrand
60e458b33b Add NTLM_NEG_NTLM2_SESSION, NTLMv2 session security (disable because
missing sign and seal).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:38:43 +00:00
Love Hörnquist Åstrand
91307a9282 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:20:04 +00:00
Love Hörnquist Åstrand
96145a7a51 Add support for generating NTLM2 session security answer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:19:46 +00:00
Love Hörnquist Åstrand
df5c3ff11d Add NTLM_NEG_NTLM2_SESSION, NTLMv2 session security.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:13:10 +00:00
Love Hörnquist Åstrand
076bc1de73 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 19:47:13 +00:00
Love Hörnquist Åstrand
89e1ccd48f Add sessionkey accessor functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 19:46:17 +00:00
Love Hörnquist Åstrand
1843ccc158 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 19:40:15 +00:00
Love Hörnquist Åstrand
9221d73d7d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:23:11 +00:00
Love Hörnquist Åstrand
35dc0e94d1 split RC4 send and recv keystreams
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:22:08 +00:00
Love Hörnquist Åstrand
026563966f Implement SEAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:19:07 +00:00
Love Hörnquist Åstrand
9afb696dc5 test wrapunwrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:16:29 +00:00
Love Hörnquist Åstrand
5e734075a4 Overwrite the first 4 bytes of the encrypted checksum with a random
number (or so davenport tells me). Interesting question, is this
really how it worked, not that the first 4 bytes is a nonce/iv to hide
first bytes of the rc4 stream, in the end it doesn't matter, it fact
the bits didn't even need to go over the network.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 17:03:01 +00:00
Love Hörnquist Åstrand
02e6aa25a4 remove ntlm/{,un}wrap.c, move functions to ntlm/crypto.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 16:09:28 +00:00
Love Hörnquist Åstrand
056c0a96ed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 16:08:35 +00:00
Love Hörnquist Åstrand
ca9bd7b087 move to crypto.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:57:23 +00:00
Love Hörnquist Åstrand
a68c0f76db move gss_wrap/gss_unwrap here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:56:37 +00:00
Love Hörnquist Åstrand
0270e1d1af Test get and verify MIC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:44:40 +00:00
Love Hörnquist Åstrand
db4922b209 request INT and CONF from the gss layer, test get and verify MIC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:40:45 +00:00
Love Hörnquist Åstrand
70be8c4637 revert previous that was done to krb5 mech and do it for ntlm instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:38:59 +00:00
Love Hörnquist Åstrand
e668adb5d7 add crypto bits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:35:53 +00:00
Love Hörnquist Åstrand
86e8665085 move to crypto.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:35:22 +00:00
Love Hörnquist Åstrand
566e8ae67a Save session master key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:34:32 +00:00
Love Hörnquist Åstrand
d1433fabd9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:33:40 +00:00
Love Hörnquist Åstrand
10483c353c (heim_ntlm_build_ntlm1_master): return session master key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:33:17 +00:00
Love Hörnquist Åstrand
4a70c638b0 Add NTLM_NEG_ALWAYS_SIGN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19441 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:32:54 +00:00
Love Hörnquist Åstrand
7a7d056ee3 Move get and verify mic to the same file (crypto.c) since they share code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:32:26 +00:00
Love Hörnquist Åstrand
b5d0a38c06 Move get and verify mic to the same file since they share code,
implement NTLM v1 and dummy signatures.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:31:46 +00:00
Love Hörnquist Åstrand
ace0210c49 pass on GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG, save the session master key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:30:44 +00:00
Love Hörnquist Åstrand
edfb0d4719 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 12:12:59 +00:00
Love Hörnquist Åstrand
a9e71ed195 don't need to set GSSAPI_SPNEGO_NAME any longer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 12:11:05 +00:00