Commit Graph

18692 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b54d2595c5 Parse digest acl's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 12:49:34 +00:00
Love Hörnquist Åstrand
f424d5432c forward decl;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 12:48:04 +00:00
Love Hörnquist Åstrand
b592e99683 Add digest acl's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 12:47:11 +00:00
Love Hörnquist Åstrand
44c3c7620b Add ntlm v2 processing, more verbose logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 11:30:06 +00:00
Love Hörnquist Åstrand
529149a437 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:28:14 +00:00
Love Hörnquist Åstrand
8c53b863e9 Verify infotarget.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:26:11 +00:00
Love Hörnquist Åstrand
2904a66bb1 Extract the infotarget from the answer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:25:17 +00:00
Love Hörnquist Åstrand
5809ab6a85 (heim_ntlm_verify_ntlm2): verify the ntlmv2 reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-25 23:40:45 +00:00
Love Hörnquist Åstrand
e174024fae x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 22:52:06 +00:00
Love Hörnquist Åstrand
36f0777805 Include <limits.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 22:51:29 +00:00
Love Hörnquist Åstrand
bd97edc20b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 17:34:11 +00:00
Love Hörnquist Åstrand
93eb1b8a47 Make str2time_t parser more robust.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 17:28:27 +00:00
Love Hörnquist Åstrand
7d27f2af2c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 17:27:09 +00:00
Love Hörnquist Åstrand
0531c10f7f Add test_util test program.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 17:26:54 +00:00
Love Hörnquist Åstrand
d298b5569f Test str2time_t parser.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 17:25:59 +00:00
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