CFS
Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

88 check-ins using file README.esm version 05fed9172d

2023-02-15
11:26
Fix build and release version 1.5.0 Nearly ten years after 1.5.0beta has been in use I think it's probably OK :) Leaf check-in: 24fd6d62e4 user: crees tags: trunk
11:02
Don't match parent directory when we only wanted to match this one. check-in: c4550e1873 user: crees tags: trunk, 1.5.0
10:55
Types were wrong and initialisation was incorrect with SHORTLINKS cfs_fh.c:315:78: error: incompatible pointer to integer conversion initializing 'int' with an expression of type 'void *' [-Wint-conversion] cfs_fileid rootnode={1,0,"\0\0\0\0\0\0\0\0","/NOWHERE/null",NULL,NULL,0,NULL,NULL};/* fileid=1; should be unique */ check-in: e6e97126fe user: crees tags: trunk
2013-05-15
16:46
Revert [0b7d118875], sloppily done and incorrect check-in: 004262b7e9 user: crees tags: trunk
16:22
Create beta check-in: 651f4d07de user: crees tags: trunk
16:20
Add Changelog check-in: 3c14f1086f user: crees tags: trunk
2013-05-14
19:59
Simplify Makefile, using target variables check-in: 0b7d118875 user: crees tags: trunk
19:48
Add a datastore property, which is added to each crypted dir. At the moment, the version is 0, which makes the directories compatible with all versions of cfsd (which might not be the case). Once the version in DATASTORE is bumped, previous versions are unreadable with new cfs, and new versions are unreadable with old cfs. The most likely use of this is when architecture independence is hopefully added to directories check-in: 644b82009e user: crees tags: trunk
19:41
Fix array bounds error causing .. in root of attached dir to refer to self check-in: aac04db8a8 user: crees tags: trunk
2013-05-13
18:16
Extend typed passphrases to 256 characters, just as allowed when provided to stdin. Remove some buffer overflows... Use NFS_MAXPATHLEN where appropriate. While here, use sig_t rather than manually defining the signal type. check-in: 61fe14c2e9 user: crees tags: trunk
2013-05-12
17:35
Audit cfsd for buffer overflows. Some of the userland utilities may still overflow, but it's not such a big deal-- they can be checked later. check-in: 03ea0fc977 user: crees tags: trunk
16:52
Raise the theoretical limit on file size to uint32_t; 4G. Fixes SEGV with files over 2G, file size limit should be hit much above that. Thanks to: Gerrit Pape, Carlo Contavalli <ccontavalli@commedia.it> Security: CVE-2006-3123 check-in: db812beaa1 user: crees tags: trunk
16:45
Use NFS_MAXPATHLEN where appropriate Obtained from: Debian; Gerrit Pape check-in: abc6c70e11 user: crees tags: trunk
11:14
Replace possibly unsafe strcmp function with safer and faster direct comparisons Use macro is_dot_or_dotdot for checking for string being "." or ".." While here, use snprintf instead of a strcpy check-in: 034d95b8ed user: crees tags: trunk
2013-05-11
17:29
Sort and trim headers-- does anyone use NeXT any more??? While here remove redundant function prototypes. check-in: 9eda39bf3f user: crees tags: trunk
17:21
Annotate and typesafe pfh() check-in: aa74da8e23 user: crees tags: trunk
15:44
Turns out the ls issue was because of the way the encrypted name on the local filesystem was represented; the encrypted name is changed to hex using %02x, and used as the filename. %02x expects u_char, so feeding it char makes it give strange output such as fffffe4 for perfectly normal chars. Big d'oh moment :/ Correctly fixes [06d1571c8d] check-in: 0f6d1c5ae8 user: crees tags: trunk
13:18
Faster to directly check for . and .. rather than unsafe strcmp check-in: b92e3d0e19 user: crees tags: trunk
13:02
Direct use of fhdata * causes pain; compiler complains about type mismatches when passing nfs_fh * to these functions. Instead use some accessor macros which do the same job, and mean that we can stop doing casts in non-obvious places. check-in: 01e32c5872 user: crees tags: trunk
12:10
Change argument to u_char; this function deals with casting anyway check-in: d40ad569ad user: crees tags: trunk
11:32
Add missing stdlib header for malloc check-in: 10c58d55d4 user: crees tags: trunk
2013-05-10
18:05
Sort headers and remove some old cruft check-in: abbd6d9cea user: crees tags: trunk
17:59
Revert e65d55e8e0 and 2a1c134e08 until fhdata * and nfs_fh * are better understood. PR: 06d1571c8d check-in: 70d80f86d4 user: crees tags: trunk
2013-05-08
19:02
Revert 5c864b31; this caused all passphrases to be rejected. Check instead for return values of less than 1, which was the original intention check-in: 26e0adfa03 user: crees tags: trunk
2013-05-07
19:58
Add debug macro, and use it to annotate cipher types check-in: 91b291c68c user: crees tags: trunk
19:28
Fix a really stupid segfault (this bug was mine) check-in: 3c422f1459 user: crees tags: trunk
11:08
Oops, reversed lt and gt resulting in errors every time check-in: bd77e329b4 user: crees tags: trunk
2013-05-06
19:10
Use snprintf instead of strncpy; better error handling (i.e. it works) check-in: 93a9faa6da user: crees tags: trunk
18:23
Silence compiler warnings check-in: 125fe375c0 user: crees tags: trunk
18:16
Final type fixes check-in: cba569a942 user: crees tags: trunk
18:15
Add prototype for checkkey, sort & fix includes check-in: 983c9f021a user: crees tags: trunk
18:10
Strange typo here, looks as though buf was supposed to be a string check-in: 35f9e0431e user: crees tags: trunk
18:09
Fix headers, add ccat.h check-in: 9af2787525 user: crees tags: trunk
18:01
Hm, shouldn't declare main in headers check-in: a14cddc0bb user: crees tags: trunk
18:00
Fix cast, header style, create cname header check-in: a2bfd727ec user: crees tags: trunk
17:56
Style, add header, cast some xdrproc_t again as per cd2519f2c7 check-in: 12a0c680f1 user: crees tags: trunk
17:51
More casts to u_char check-in: 769c2890fd user: crees tags: trunk
17:45
Add headers for cmkdir.c, and create truerand.h check-in: bebd747d5c user: crees tags: trunk
17:36
Another reversal of args to mcg_block_encrypt. I suppose no-one ever actually used this. check-in: 510a5709be user: crees tags: trunk
17:34
BF_LONG can be cast from u_char check-in: ac9abb9dae user: crees tags: trunk
17:31
Cast a hash to unsigned char. Arguments to mcg_block_decrypt are reversed... this probably never worked correctly. check-in: 62d96599cc user: crees tags: trunk
17:14
Add string.h and make register int explicit check-in: 55cdefd0dd user: crees tags: trunk
17:05
Fix style of includes Add fcntl.h for open Remove ifdef for sgttyb check-in: 8083294227 user: crees tags: trunk
16:59
Cast some function defs; expecting (arg, ...) but giving (arg, arg). While here pass pointer instead-- looks as though that's what it should be doing. Hopefully harmless. check-in: cd2519f2c7 user: crees tags: trunk
16:44
Prototypes were compiled in ages ago check-in: ecb6668a83 user: crees tags: trunk
16:16
Add prototypes for getpass.c check-in: 6e4cf454e0 user: crees tags: trunk
16:12
Rename fhstat to avoid collision with mount.h check-in: 6158f34976 user: crees tags: trunk
16:09
fread never returns negative numbers; presume that it's checking for early EOF check-in: 5c864b31a9 user: crees tags: trunk
16:06
This one was my fault... char not chat! check-in: fe570a4230 user: crees tags: trunk
16:05
bcopy needs strings.h check-in: 173829001e user: crees tags: trunk
16:04
Oops, bump version... check-in: b61eecf98f user: crees tags: trunk
16:03
Cast some Blowfish stuff (u_char to u_int) and add prototypes for mcg*.c check-in: e89c6b5f9f user: crees tags: trunk
10:08
Properly remove make_with_bad_rpcgen check-in: 8b867e57c8 user: crees tags: trunk
10:05
Almost certainly unnecessary now. check-in: 8fbf6149e5 user: crees tags: trunk
2013-05-05
15:19
Just use u_char everywhere -- it matches and is safe check-in: 8421dee118 user: crees tags: trunk
15:06
Annotate casting check-in: 2e82b4441b user: crees tags: trunk
15:04
bcmp needs strings.h check-in: 01f7bbc828 user: crees tags: trunk
15:02
Make registers explicitly int check-in: db5a9d8cfa user: crees tags: trunk
15:01
Reorder headers, add stdlib for malloc/free Most fhdata can be replaced with nfs_fh Cast a few more chars check-in: 2a1c134e08 user: crees tags: trunk
14:45
Add prototypes for cfs_des check-in: 20949d279a user: crees tags: trunk
14:41
Add prototype for mkhandle check-in: a54991fa41 user: crees tags: trunk
14:38
Cast some u_chars for cipher() Add braces to avoid dangling else Remove /* in block comment check-in: 04415655ab user: crees tags: trunk
14:30
Some casting can be done here; nfs_fh.data is a raw char array, but fhdata is a nice struct that allows easy access to it. To be honest, this should be replaced with helper functions in the future. check-in: e65d55e8e0 user: crees tags: trunk
14:17
Don't recast in prototype, do it inside the function. Remove superfluous function prototypes. check-in: 3f8b9dc739 user: crees tags: trunk
14:13
Correct type and annotate unsafe function check-in: 05bcd8b035 user: crees tags: trunk
14:02
Remove duplicate typedef check-in: 50667bb333 user: crees tags: trunk
14:01
Fix accidental passing of cfs_admkey * as cfskey * check-in: 10004d1d14 user: crees tags: trunk
13:56
Make struct stat visible for header files check-in: 74f49dcab6 user: crees tags: trunk
13:44
Add prototypes for cfs_fh.c check-in: a1d9db57dd user: crees tags: trunk
13:30
Match char types check-in: 5740de9454 user: crees tags: trunk
13:21
Sort headers and add stdlib for malloc check-in: e9aaa6f2fc user: crees tags: trunk
13:03
verify() takes cfs_admkey *, and was being passed cfskey * which was specifically made from a type cfs_admkey *. Assume that the intent was to send the content to verify(), so stop generating a cfskey and just send it along. check-in: 51f418a85c user: crees tags: trunk
12:54
Add cfs_cipher prototypes, and line them up check-in: dcc2207df5 user: crees tags: trunk
12:52
More missing includes added, prototypes for cfs_adm.c and cfs_nfs.c check-in: f8f4eb0158 user: crees tags: trunk
12:15
Fix prototyping and include missing headers check-in: 6acf4f7d6f user: crees tags: trunk
12:07
Remove leading space-tab check-in: 14913dd9d3 user: crees tags: trunk
11:28
Sort some includes check-in: 077fc4d85c user: crees tags: trunk
11:22
More buffer overflows... and some more style fixes. Stop some implicit function definitions-- we have prototypes these days! check-in: eedcc52fd5 user: crees tags: trunk
2013-05-04
21:52
Fix buffer size check-in: 472e09cb70 user: crees tags: trunk
21:52
Don't declare gets check-in: df1f9a6ff1 user: crees tags: trunk
21:49
No more empty prototypes check-in: 33b919c529 user: crees tags: trunk
21:48
Some K&R sneaked past check-in: fd9d252d03 user: crees tags: trunk
21:25
Stop buffer overflow Obtained from: Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=135903 Submitted by: Gerrit Pape <pape@smarden.org> Security: CVE-2002-0351 check-in: a0292a2c6f user: crees tags: trunk
21:23
Ignore Makefile check-in: c9122e3e67 user: crees tags: trunk
21:14
Remove last K&R shims, strip some cruft from Makefile check-in: f0d442a6e8 user: crees tags: trunk
21:11
Bye K&R, hello ANSI check-in: 98ca8e559a user: crees tags: trunk
19:52
Integrate patches from the FreeBSD Ports Collection. For reference, see r282955 of ports/head/security/cfs/ and before check-in: 582b6762be user: crees tags: trunk
19:38
Import of cfs 1.4.1 check-in: 8d70fd1e74 user: crees tags: trunk, 1.4.1