Love Hörnquist Åstrand
76548e0fd2
switch from wrap/unwrap to encrypt/decrypt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 09:55:55 +00:00
Love Hörnquist Åstrand
e4bf1ed0e8
make less exit() happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 01:21:37 +00:00
Love Hörnquist Åstrand
77a889cd29
Don't announce spn if there is non.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 23:33:54 +00:00
Love Hörnquist Åstrand
3cf6b97bbf
Check that the pre-wrapped data is the same as afterward.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 22:33:39 +00:00
Love Hörnquist Åstrand
8cd665242d
Remove stray GSS_C_DCE_STYLE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 19:29:03 +00:00
Love Hörnquist Åstrand
fc0fccde1c
Add logsocket support.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 18:20:33 +00:00
Love Hörnquist Åstrand
58de1f16ce
Fix logging.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 16:28:40 +00:00
Love Hörnquist Åstrand
1e66a80b73
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:44:03 +00:00
Love Hörnquist Åstrand
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.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:42:39 +00:00
Love Hörnquist Åstrand
f103a5431d
(build_context): print the step the context exchange.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:18:04 +00:00
Love Hörnquist Åstrand
5f4bd93468
Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG to all flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 10:15:34 +00:00
Love Hörnquist Åstrand
8224705132
Add wrap and mic tests for all elements
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:57:53 +00:00
Love Hörnquist Åstrand
d8bc0ea463
Add mic tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:57:26 +00:00
Love Hörnquist Åstrand
597c5e99e5
dont exit early then co-worker is bad.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 08:53:24 +00:00
Love Hörnquist Åstrand
41251ac808
Add tests to wrap/unwrap.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:09:49 +00:00
Love Hörnquist Åstrand
6f5411adfa
Add wrap/unwrap ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 12:16:15 +00:00
Love Hörnquist Åstrand
f782011114
Add eGetVersionAndCapabilities flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:34:03 +00:00
Love Hörnquist Åstrand
04816acff0
Add permutate_all (and support functions).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:32:59 +00:00
Love Hörnquist Åstrand
274feb35bd
Add permutate_all
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:32:18 +00:00
Love Hörnquist Åstrand
e8d7e48ab5
use new flags, return moniker
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:31:50 +00:00
Love Hörnquist Åstrand
ec4137ea11
test self context building and all permutation of clients
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:28:13 +00:00
Love Hörnquist Åstrand
c1e7cda8e8
add --logfile option, use htons() on port number
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 10:20:50 +00:00
Love Hörnquist Åstrand
99a2e32cad
Log port in connection message.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 10:20:08 +00:00
Love Hörnquist Åstrand
62e15d7f6b
Add documentation for -e, require encryption.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:27:40 +00:00
Love Hörnquist Åstrand
b6e0a49796
Add require_encryption.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:26:50 +00:00
Love Hörnquist Åstrand
4adf47957d
Allow encryption to be required, wait to the client to turn it on, if
...
failes, refuse the connection.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:26:21 +00:00
Love Hörnquist Åstrand
ead5f1b7b6
If encryption is required, don't allow it to be turned off.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:25:20 +00:00
Love Hörnquist Åstrand
5057bc0432
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 12:52:28 +00:00
Love Hörnquist Åstrand
9d9e47cb42
(kerberos5_forward): use KDCOptions2int on flags before passing them
...
to krb5_get_forwarded_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 12:37:02 +00:00
Love Hörnquist Åstrand
7127d167db
(proto): use keytab for krb5_recvauth
...
Patch from Ingemar Nilsson <init@pdc.kth.se >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-01 09:01:03 +00:00
Love Hörnquist Åstrand
847a99a0ec
Check return values from setuid, prompted by MIT
...
advisory. Thanks to Tom Yu at MIT, and Michael Calmer and Marcus
Meissner at SUSE. Either of CVE-2006-3083 or CVE-2006-3084.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:43:58 +00:00
Love Hörnquist Åstrand
cd67e721c3
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:31:30 +00:00
Love Hörnquist Åstrand
b42ab99857
Check for seteuid failure, prompted by MIT advisory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:31:02 +00:00
Love Hörnquist Åstrand
fd6204f302
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:09:34 +00:00
Love Hörnquist Åstrand
f1e2dae0f6
Check return values from seteuid, prompted by MIT advisory.
...
Thanks to Tom Yu at MIT, and Michael Calmer and Marcus Meissner at SUSE.
Either of CVE-2006-3083 or CVE-2006-3084.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:08:46 +00:00
Love Hörnquist Åstrand
7160948ea6
Add comment by seteuid call isn't not needed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:06:11 +00:00
Love Hörnquist Åstrand
7154d3b11d
Check return values from seteuid, prompted by MIT advisory.
...
Thanks to Tom Yu at MIT, and Michael Calmer and Marcus Meissner at SUSE.
Either of CVE-2006-3083 or CVE-2006-3084.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-08 21:03:26 +00:00
Love Hörnquist Åstrand
02a8293b7e
Add get_version_capa, cache target_name.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-03 10:53:21 +00:00
Love Hörnquist Åstrand
0822bf8ae4
use utname() to find the local hostname
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-03 10:52:05 +00:00
Love Hörnquist Åstrand
ede9adf78c
include <sys/utsname.h>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-03 10:51:37 +00:00
Love Hörnquist Åstrand
fffc248c1f
break out creation of a client and make handleServer pthread_create compatible
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-02 22:36:37 +00:00
Love Hörnquist Åstrand
40256ad394
break out out the build context function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-02 22:35:41 +00:00
Love Hörnquist Åstrand
b18cca48b1
ignore Makefile.in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:37:27 +00:00
Love Hörnquist Åstrand
95ee7df071
externalize slave handling, add GetTargetName glue
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:36:14 +00:00
Love Hörnquist Åstrand
f409403b7d
AcquireCreds: set principal to NULL to avoid memory corruption
...
GetTargetName: always send a string, even though we don't have a targetname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:28:42 +00:00
Love Hörnquist Åstrand
afd0ce92a8
externalize principal/password handling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 09:07:02 +00:00
Love Hörnquist Åstrand
88c076e738
break out common function; add gssmaestro (that only tests one context for now)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-01 08:44:30 +00:00
Love Hörnquist Åstrand
056e83995c
Add gssmask
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:26:15 +00:00
Love Hörnquist Åstrand
1a7f7f4e24
split out fetching of credentials for easier reuse for pk-init testing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:21:24 +00:00
Love Hörnquist Åstrand
cbad9c5477
gssapi maggot replacement, handles context testing
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-30 20:05:42 +00:00