Love Hörnquist Åstrand
56f2ac7ff1
move encrypt.h and misc.h later
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-21 15:22:56 +00:00
Love Hörnquist Åstrand
d30899de91
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-31 08:15:49 +00:00
Love Hörnquist Åstrand
5a2f80dbaf
Use the correct length for unmap, msync
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:14:09 +00:00
Love Hörnquist Åstrand
ed34fe2309
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 14:13:43 +00:00
Love Hörnquist Åstrand
ddb80b9210
Rewrite sliding window code so it doesn't have a integer overrun.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 03:37:58 +00:00
Love Hörnquist Åstrand
6ffc3daa37
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:30 +00:00
Love Hörnquist Åstrand
5956372480
Try sliding mmap window over memory file (10MB window), works better with larger files (ie doesn't fail).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:22:15 +00:00
Love Hörnquist Åstrand
71a0098c0d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:46 +00:00
Love Hörnquist Åstrand
d2ecc5a8af
Use RAND_bytes() + DES_is_weak_key() to generate random DES
...
key. Introdunce random by feeding the des session key into the random
pool when the keys is recived instead of encrypt the random key with
the kerberos key.
This avoid depenency on DES_new_random_key() that doesn't exists in OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:41 +00:00
Love Hörnquist Åstrand
c99e6f2245
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:59 +00:00
Love Hörnquist Åstrand
bdc1855499
No need to call DES_init_random_number_generator, hcrypto is sane now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:54 +00:00
Love Hörnquist Åstrand
cd980194d9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:48 +00:00
Love Hörnquist Åstrand
aa080e84ce
Use DES_new_random_key().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:40 +00:00
Love Hörnquist Åstrand
85c940fa73
Sync with NetBSD rcp, add v6 parsing support and no setuid code at all.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 17:30:06 +00:00
Love Hörnquist Åstrand
2a96137bdb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:53 +00:00
Love Hörnquist Åstrand
3a9774c8eb
Reorder to avoid prototype.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:49 +00:00
Love Hörnquist Åstrand
9d195f977d
Should just drop wtmp support, make a comment that we should.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:45 +00:00
Love Hörnquist Åstrand
a65d2977ee
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:41 +00:00
Love Hörnquist Åstrand
8813c7dae3
If cygwin doesnt have WTMPX_FILE, it uses wtmp for wtmpx
...
http://www.cygwin.com/ml/cygwin/2006-12/msg00630.html
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 15:54:33 +00:00
Love Hörnquist Åstrand
811523efa5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:29 +00:00
Love Hörnquist Åstrand
5f47850b7e
Really, mac os uses wtmpx (or asl).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:23 +00:00
Love Hörnquist Åstrand
adf02cb72e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:18 +00:00
Love Hörnquist Åstrand
da109cd27f
Use asl for logging ftpd wtmp messages.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:14 +00:00
Love Hörnquist Åstrand
e73d108978
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:32 +00:00
Love Hörnquist Åstrand
ae560bddd3
Remove utmp warning on mac os x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:28 +00:00
Love Hörnquist Åstrand
90177e82db
add AlgorithmIdentifier for glue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 09:47:16 +00:00
Love Hörnquist Åstrand
fe5323f0e5
use unsigned/size_t where approprite
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand
254f650128
Use size_t where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:03 +00:00
Love Hörnquist Åstrand
b077706b1d
Use size_t where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:58 +00:00
Love Hörnquist Åstrand
aa52c1ef26
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:54 +00:00
Love Hörnquist Åstrand
c72b9bb2b9
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:49 +00:00
Love Hörnquist Åstrand
832a72e67b
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:38 +00:00
Love Hörnquist Åstrand
9d1d030025
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:34 +00:00
Love Hörnquist Åstrand
e36a5a60a5
Use unsigned where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:30 +00:00
Love Hörnquist Åstrand
c008e1015f
Attached is a patch that fixes the following:
...
- The argument for setsockopt is an int, not a size_t. This breaks on
64bit OS's causing the buffer not to be set (or triggers a kernel
bug on AIX due to size_t being parsed as an int and setting the
socket buffer to zero due to bad kernel error checking).
- Add a check to see if the socket buffer is large enough already,
don't make it smaller if it is.
From Niklas Edmundsson
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-21 21:37:32 +00:00
Love Hörnquist Åstrand
574683e7ab
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:48:09 +00:00
Love Hörnquist Åstrand
bdd75a7ca8
Dont need to set this as the controlling PTY on steams sockets, don't
...
abort on failure. From Harald Barth and Ian Delahorne.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:47:53 +00:00
Love Hörnquist Åstrand
4e58a4c1cd
use krb5_free_cred_contents
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 09:41:54 +00:00
Love Hörnquist Åstrand
793dd27918
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-31 10:13:15 +00:00
Love Hörnquist Åstrand
39733fdb03
Use strlcpy instead of strncpy, thanks to Antoine Brodin.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-31 10:12:48 +00:00
Love Hörnquist Åstrand
6855b33640
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-13 20:36:12 +00:00
Love Hörnquist Åstrand
c2fcf3f57d
Add missing files, from Buchan Milne.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-13 20:35:52 +00:00
Love Hörnquist Åstrand
a69298f8c8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-13 20:34:54 +00:00
Love Hörnquist Åstrand
103e7dc783
Add missing files, from Buchan Milne.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-13 20:34:44 +00:00
Love Hörnquist Åstrand
5fed824f37
its vs it\'s etc. From Bjorn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
465fcb5cb9
fix section for manpage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 14:08:36 +00:00
Love Hörnquist Åstrand
c9c608a574
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:40:07 +00:00
Love Hörnquist Åstrand
35af8afeba
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:37:07 +00:00
Love Hörnquist Åstrand
fa7b8061d9
read environment from _PATH_ETC_ENVIRONMENT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:36:54 +00:00
Love Hörnquist Åstrand
b1bac360b3
add more paths.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-19 05:36:11 +00:00