Commit Graph

  • a888cae1f8 x Love Hörnquist Åstrand 2006-10-02 08:15:08 +00:00
  • d4476e0582 build gssapi mech private files Love Hörnquist Åstrand 2006-10-02 08:14:57 +00:00
  • 246de3cc42 prefix all gss_spnego with _, use generated headers Love Hörnquist Åstrand 2006-10-02 08:07:58 +00:00
  • 0f9e86aa49 Split all mech to diffrent mechsrc variables. Love Hörnquist Åstrand 2006-10-02 08:06:03 +00:00
  • 493bd788d4 Make internal function static (and rename). Love Hörnquist Åstrand 2006-10-02 07:29:58 +00:00
  • af7f029a28 x Love Hörnquist Åstrand 2006-10-01 18:05:53 +00:00
  • dce4b55512 Fix double free's, NULL ptr de-reference, and conform better to pkcs11. From Douglas Engert. Love Hörnquist Åstrand 2006-10-01 18:05:05 +00:00
  • 75ece1ac48 Fix "if (x) lock(y)" bug. From Harald Barth. Love Hörnquist Åstrand 2006-10-01 17:55:35 +00:00
  • fd557f4d6c Add ret16. Love Hörnquist Åstrand 2006-10-01 17:52:36 +00:00
  • c667d17ea8 Include <sys/param.h> for MAXHOSTNAMELEN. Love Hörnquist Åstrand 2006-10-01 17:50:55 +00:00
  • 54422e87f8 remove ^M, it breaks solaris 10s cc. From Harald Barth Love Hörnquist Åstrand 2006-10-01 17:43:42 +00:00
  • 14f1218bfc Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald Barth. Love Hörnquist Åstrand 2006-10-01 17:36:38 +00:00
  • 9d38bdd08c x Love Hörnquist Åstrand 2006-09-26 19:40:12 +00:00
  • 000e414563 Handle FIRST_CALL in the context building, better error handling. Love Hörnquist Åstrand 2006-09-26 19:39:20 +00:00
  • 76548e0fd2 switch from wrap/unwrap to encrypt/decrypt Love Hörnquist Åstrand 2006-09-26 09:55:55 +00:00
  • e4bf1ed0e8 make less exit() happy Love Hörnquist Åstrand 2006-09-26 01:21:37 +00:00
  • 77a889cd29 Don't announce spn if there is non. Love Hörnquist Åstrand 2006-09-25 23:33:54 +00:00
  • 3cf6b97bbf Check that the pre-wrapped data is the same as afterward. Love Hörnquist Åstrand 2006-09-25 22:33:39 +00:00
  • 839c8fba02 DCE-style token do include padding, add it back. Love Hörnquist Åstrand 2006-09-25 22:23:27 +00:00
  • 26ae75721a Add wrap support, interrop with itself but not w2k3s-sp1 Love Hörnquist Åstrand 2006-09-25 21:42:28 +00:00
  • 0ecd7e58ad move the arcfour specific stuff to the arcfour header. Love Hörnquist Åstrand 2006-09-25 20:45:00 +00:00
  • 24c75bf8eb Support DCE-style unwrap, tested with w2k3server-sp1. Love Hörnquist Åstrand 2006-09-25 20:44:03 +00:00
  • 8cd665242d Remove stray GSS_C_DCE_STYLE. Love Hörnquist Åstrand 2006-09-25 19:29:03 +00:00
  • e88a91bffb x Love Hörnquist Åstrand 2006-09-25 19:25:06 +00:00
  • 6accd4715c (gss_accept_sec_context): if the token doesn't start with [APPLICATION 0] SEQUENCE, lets assume its a DCE-style kerberos 5 connection. XXX this needs to be made better in cause we get another GSS-API protocol violating protocol. It should be possible to detach the Kerberos DCE-style since it starts with a AP-REQ PDU, but that have to wait for now. Love Hörnquist Åstrand 2006-09-25 19:24:48 +00:00
  • 32f0206a80 x Love Hörnquist Åstrand 2006-09-25 18:20:51 +00:00
  • fc0fccde1c Add logsocket support. Love Hörnquist Åstrand 2006-09-25 18:20:33 +00:00
  • 58de1f16ce Fix logging. Love Hörnquist Åstrand 2006-09-25 16:28:40 +00:00
  • c715d0a0aa x Love Hörnquist Åstrand 2006-09-25 07:10:37 +00:00
  • 830e100213 remove unused file Love Hörnquist Åstrand 2006-09-24 09:15:10 +00:00
  • ae207c90aa x Love Hörnquist Åstrand 2006-09-24 09:13:36 +00:00
  • 4e79ae875a (decode_type): drop unused variable realtype. Love Hörnquist Åstrand 2006-09-24 09:13:12 +00:00
  • e44de8b05e x Love Hörnquist Åstrand 2006-09-22 15:49:20 +00:00
  • c7577f523b (read_string): Try to not call signaction for signal 0 and use NSIG if it exists to determin how many signals there exists, also, only restore those signalhandlers that we got out. Love Hörnquist Åstrand 2006-09-22 15:45:57 +00:00
  • 1e66a80b73 x Love Hörnquist Åstrand 2006-09-22 15:44:03 +00:00
  • 631229648a try to not call signaction for signal 0 and use NSIG if it exists to determin how many signals there exists, also, only restore those signalhandlers that we got out. Love Hörnquist Åstrand 2006-09-22 15:42:39 +00:00
  • 294b75a0d6 Add GSS_C flags from draft-brezak-win2k-krb-rc4-hmac-04.txt. Love Hörnquist Åstrand 2006-09-22 14:58:47 +00:00
  • ac365a5552 Free service_keyblock and fwd_data, indent. Love Hörnquist Åstrand 2006-09-22 14:57:22 +00:00
  • 057d0232fe x Love Hörnquist Åstrand 2006-09-22 14:53:11 +00:00
  • 7d573742a1 Merge of the acceptor part from the samba patch by Stefan Metzmacher and Andrew Bartlet. Love Hörnquist Åstrand 2006-09-22 14:52:11 +00:00
  • f103a5431d (build_context): print the step the context exchange. Love Hörnquist Åstrand 2006-09-22 14:18:04 +00:00
  • d6d6a0ae4b x Love Hörnquist Åstrand 2006-09-22 11:22:23 +00:00
  • 67655a5dd5 Add GSS_C_DCE_STYLE. Love Hörnquist Åstrand 2006-09-22 11:22:14 +00:00
  • 9bc15736ff x Love Hörnquist Åstrand 2006-09-22 10:42:16 +00:00
  • 226ba0b6cd merge most of the initiator part from the samba patch by Stefan Metzmacher and Andrew Bartlet (still missing DCE/RPC support) Love Hörnquist Åstrand 2006-09-22 10:41:31 +00:00
  • 1ade93b8c6 x Love Hörnquist Åstrand 2006-09-22 10:00:04 +00:00
  • ba22863ee0 Catch failures from gssmaestro. Love Hörnquist Åstrand 2006-09-22 09:59:51 +00:00
  • 7b16fb34b0 x Love Hörnquist Åstrand 2006-09-21 10:15:50 +00:00
  • 5f4bd93468 Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG to all flags Love Hörnquist Åstrand 2006-09-21 10:15:34 +00:00
  • 8224705132 Add wrap and mic tests for all elements Love Hörnquist Åstrand 2006-09-21 09:57:53 +00:00
  • d8bc0ea463 Add mic tests Love Hörnquist Åstrand 2006-09-21 09:57:26 +00:00
  • aea29bec78 Add previous ETypeList code again, it was a halfbuilt context that broke the code. Love Hörnquist Åstrand 2006-09-21 09:00:36 +00:00
  • fca3d2bdcf x Love Hörnquist Åstrand 2006-09-21 08:54:12 +00:00
  • 597c5e99e5 dont exit early then co-worker is bad. Love Hörnquist Åstrand 2006-09-21 08:53:24 +00:00
  • 4492b832ae x Love Hörnquist Åstrand 2006-09-21 07:44:44 +00:00
  • 7c180646d3 disable ETypeList parsing usage for now, cfx seems broken and its not good to upgrade to a broken enctype. Love Hörnquist Åstrand 2006-09-21 07:44:32 +00:00
  • 5fdf405d6e limit keys to des3-cbc-sha1:pw-salt for now Love Hörnquist Åstrand 2006-09-21 07:10:52 +00:00
  • 9ca18bb277 clean more files Love Hörnquist Åstrand 2006-09-21 07:10:15 +00:00
  • 41251ac808 Add tests to wrap/unwrap. Love Hörnquist Åstrand 2006-09-21 07:09:49 +00:00
  • 3569862318 update useage for kafs, and add right lib (kafs) to lib_flags. From Joakim Fallsjö. Love Hörnquist Åstrand 2006-09-21 06:54:55 +00:00
  • 9f939ee9f2 x Love Hörnquist Åstrand 2006-09-20 12:16:25 +00:00
  • 6f5411adfa Add wrap/unwrap ops Love Hörnquist Åstrand 2006-09-20 12:16:15 +00:00
  • 5476093f39 x Love Hörnquist Åstrand 2006-09-20 03:35:55 +00:00
  • db11cf65a4 Add a third client Love Hörnquist Åstrand 2006-09-20 03:35:27 +00:00
  • f782011114 Add eGetVersionAndCapabilities flags Love Hörnquist Åstrand 2006-09-20 03:34:03 +00:00
  • 04816acff0 Add permutate_all (and support functions). Love Hörnquist Åstrand 2006-09-20 03:32:59 +00:00
  • 274feb35bd Add permutate_all Love Hörnquist Åstrand 2006-09-20 03:32:18 +00:00
  • e8d7e48ab5 use new flags, return moniker Love Hörnquist Åstrand 2006-09-20 03:31:50 +00:00
  • ec4137ea11 test self context building and all permutation of clients Love Hörnquist Åstrand 2006-09-20 03:28:13 +00:00
  • b98c29b898 x Love Hörnquist Åstrand 2006-09-19 14:09:10 +00:00
  • a8a340457c starfield test root cert and Ralf-Philipp and Andreis correctly padded bad cert Love Hörnquist Åstrand 2006-09-19 14:02:43 +00:00
  • 516245576b Bleichenbacher bad cert from Ralf-Philipp Weinmann and Andrew Pyshkin, pad right. Love Hörnquist Åstrand 2006-09-19 14:01:45 +00:00
  • ddfe099e3b x Love Hörnquist Åstrand 2006-09-19 10:22:48 +00:00
  • c079c30202 test for gssmask + gssmaestro. Love Hörnquist Åstrand 2006-09-19 10:22:33 +00:00
  • 740547646f Add krb5.conf for krb5.conf Love Hörnquist Åstrand 2006-09-19 10:21:57 +00:00
  • c0b050b7e1 Add check-gssmask and krb5.conf targets Love Hörnquist Åstrand 2006-09-19 10:21:24 +00:00
  • c1e7cda8e8 add --logfile option, use htons() on port number Love Hörnquist Åstrand 2006-09-19 10:20:50 +00:00
  • 99a2e32cad Log port in connection message. Love Hörnquist Åstrand 2006-09-19 10:20:08 +00:00
  • 62e15d7f6b Add documentation for -e, require encryption. Love Hörnquist Åstrand 2006-09-19 08:27:40 +00:00
  • b6e0a49796 Add require_encryption. Love Hörnquist Åstrand 2006-09-19 08:26:50 +00:00
  • 4adf47957d Allow encryption to be required, wait to the client to turn it on, if failes, refuse the connection. Love Hörnquist Åstrand 2006-09-19 08:26:21 +00:00
  • ead5f1b7b6 If encryption is required, don't allow it to be turned off. Love Hörnquist Åstrand 2006-09-19 08:25:20 +00:00
  • fbfc689300 Make pk-init turned on by default. Love Hörnquist Åstrand 2006-09-19 05:36:53 +00:00
  • 63572569a2 x Love Hörnquist Åstrand 2006-09-19 05:18:25 +00:00
  • 7e16fd5b87 x Love Hörnquist Åstrand 2006-09-18 19:07:40 +00:00
  • 2ae2ee05a3 Build lib/hx509/{hx509-protos.h,hx509-private.h}. Love Hörnquist Åstrand 2006-09-18 19:07:27 +00:00
  • 2e9ce6d405 Add (c) Love Hörnquist Åstrand 2006-09-18 18:06:21 +00:00
  • 105c3d84b6 x Love Hörnquist Åstrand 2006-09-18 17:59:56 +00:00
  • 3a023829eb Test constrained delegation impersonation. Love Hörnquist Åstrand 2006-09-18 17:59:41 +00:00
  • c1c7757afe Add tool for printing tickets. Love Hörnquist Åstrand 2006-09-18 17:36:06 +00:00
  • cafd935d88 Check the adtkt in the constrained delegation case too. Love Hörnquist Åstrand 2006-09-18 17:30:19 +00:00
  • 467d6b124c x Love Hörnquist Åstrand 2006-09-16 18:29:50 +00:00
  • 960ba25de3 Change the password on krbtgt a couple of times to have a non boring kvno. Love Hörnquist Åstrand 2006-09-16 18:29:38 +00:00
  • 961332d213 x Love Hörnquist Åstrand 2006-09-16 17:33:53 +00:00
  • de2de1213c Add samba socket wrapper fragment. Love Hörnquist Åstrand 2006-09-16 17:33:07 +00:00
  • 6438583810 Add samba_SOCKET_WRAPPER fragment Love Hörnquist Åstrand 2006-09-16 17:31:39 +00:00
  • a10e7216d6 (sigterm): don't _exit, let loop() catch the signal instead. Love Hörnquist Åstrand 2006-09-16 17:28:05 +00:00
  • 094d84a5ca x Love Hörnquist Åstrand 2006-09-16 09:28:15 +00:00
  • 64bcdf0b5d Fixes from Björn Sandell. Love Hörnquist Åstrand 2006-09-16 09:27:28 +00:00
  • 364e63f12a Add commeted out test that exponent is > 3 Love Hörnquist Åstrand 2006-09-15 14:09:28 +00:00