Love Hörnquist Åstrand
d3a2df7306
break out struct ntlmv2_key;
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:52 +00:00
Love Hörnquist Åstrand
7f49c4ad56
use _gss_ntlm_set_key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:37 +00:00
Love Hörnquist Åstrand
2412c6be41
(_gss_ntlm_set_key): set ntlm v2 keys.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:07 +00:00
Love Hörnquist Åstrand
d296c67503
Set dummy ntlmv2 keys.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:08:25 +00:00
Love Hörnquist Åstrand
9421ec31ba
Set dummy ntlmv2 keys and Check TI.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:08:06 +00:00
Love Hörnquist Åstrand
95d767da33
NTLMv2 keys.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:00:27 +00:00
Love Hörnquist Åstrand
3f4a53cda3
NTLMv2 sign and verify.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 13:58:52 +00:00
Love Hörnquist Åstrand
1384d00d1d
add v2 sign and seal function (commented out, key derivation still missing).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 18:16:38 +00:00
Love Hörnquist Åstrand
63abf99eb3
disable ntlmv2 since we can't handle wrap/unwrap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 14:19:29 +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
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
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
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
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
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
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
3c9d3266f4
try using gss_accept_sec_context() on the opportunistic token instead
...
of guessing the acceptor name and do gss_acquire_cred, this make
SPNEGO work like before.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 12:10:35 +00:00
Love Hörnquist Åstrand
76160f2497
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:24:02 +00:00
Love Hörnquist Åstrand
450f635e88
Calculate the NTLM version 1 "master" key.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:23:24 +00:00
Love Hörnquist Åstrand
20e973fda2
Resurect negHints for the acceptor sends first packet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:50:15 +00:00
Love Hörnquist Åstrand
a11517a4d9
Add "windows" versions of the NegTokenInitWin and friends.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:28:49 +00:00
Love Hörnquist Åstrand
d2946a3c8e
add --wrapunwrap flag
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 18:07:15 +00:00
Love Hörnquist Åstrand
3ac5851185
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:52:48 +00:00
Love Hörnquist Åstrand
6a8647e1c6
move _gss_spnego_indicate_mechtypelist() to compat.c, use the sequence
...
types of MechTypeList, make add_mech_type() static.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:52:26 +00:00
Love Hörnquist Åstrand
acccf21ce2
move _gss_spnego_indicate_mechtypelist() to compat.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:51:13 +00:00
Love Hörnquist Åstrand
2ce12d8caa
Generate sequence code for MechTypeList
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 17:19:53 +00:00
Love Hörnquist Åstrand
e0585ffc8d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:42:27 +00:00
Love Hörnquist Åstrand
363515e856
check that the generated acceptor mechlist is acceptable too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:42:03 +00:00
Love Hörnquist Åstrand
826acbd391
Abstract out the initiator filter function, it will be needed for the
...
acceptor too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19410 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:00:19 +00:00
Love Hörnquist Åstrand
c11cc5fd1b
Abstract out the initiator filter function, it will be needed for the
...
acceptor too. Remove negHints.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 15:00:03 +00:00
Love Hörnquist Åstrand
33260e362f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:15:30 +00:00