Commit Graph

121 Commits

Author SHA1 Message Date
anwleung
8eac4771a8 turned some optimizations flags on for crypto stuff
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1222 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-13 01:19:03 +00:00
anwleung
b803102e8e renewal stuff is mostly there and working...added some timing stuff for
perf debugging


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1216 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 21:11:27 +00:00
anwleung
fa7d4cff37 Client periodic renewal request works
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1213 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-12 04:16:18 +00:00
anwleung
b6c7941d9b renewal stuff coming together, mds handling stuff incomplete
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1206 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 23:40:32 +00:00
anwleung
ce7bd320a3 Client cap caching totally redone
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1205 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 19:49:46 +00:00
anwleung
f849b45279 sage helped me fix some stupid i was doing
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1204 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 03:47:50 +00:00
anwleung
ea993ebac7 group bug fixed...i hope
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1203 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 02:36:31 +00:00
anwleung
f2b2a331bc fixed an initialization bug
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1201 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-11 01:49:09 +00:00
anwleung
527081071f update bug fixed
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1200 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 22:56:01 +00:00
anwleung
5c5e4d8a82 mds unix group handling better now
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1197 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 20:44:01 +00:00
anwleung
0d5fa02762 --fix_client_id 1/default off toggles a fixed group for all clients and
uid based on clientid


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1195 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-10 02:01:06 +00:00
anwleung
73e2686fdc secure_io toggles security (on defaultly) and --no_sec doesnt do
anything anymore


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1194 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 23:43:25 +00:00
anwleung
700d9463f3 fixed funny hash output thingy
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1191 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 20:25:47 +00:00
anwleung
b6bd8845b3 changed hash output
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1190 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 19:49:44 +00:00
anwleung
4eaee5a31e Added an example grouping file
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1189 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 18:33:16 +00:00
anwleung
631a004b22 Oops, forgot to check in reply message
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1188 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 18:23:49 +00:00
anwleung
34bc782124 add the sample file
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1187 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 18:12:16 +00:00
anwleung
7f23506f89 cleanup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1186 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 18:11:21 +00:00
anwleung
e8b063c746 List verification is done
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1185 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 08:20:42 +00:00
anwleung
b9ce005b19 mds unix group management redone
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1184 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 07:49:49 +00:00
anwleung
a0bd45d544 random stuff here and there
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1182 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-09 01:42:07 +00:00
anwleung
c49a04fa46 Update protocol with Merkle trees bascially done
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1177 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-07 06:43:29 +00:00
anwleung
171e5c502d merkle trees added, full cap stuff almost done
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1173 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-06 05:16:29 +00:00
anwleung
f530986d76 base of update protocol there
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1169 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-05 17:38:43 +00:00
anwleung
4e2bfa2126 moved everything to cryptopp5.4
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1168 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-03 02:31:31 +00:00
anwleung
552137f703 less crap in the output
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1166 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-03 01:44:34 +00:00
anwleung
e1e1e97c46 little cleanup
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1165 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-03 00:05:37 +00:00
anwleung
42e72384c3 security can be disabled now with --no_sec
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1163 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 22:15:11 +00:00
anwleung
4da38106e2 basic cap caching done
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1162 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 21:21:54 +00:00
anwleung
332112bad6 Added capids and caching class
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1161 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 20:15:16 +00:00
anwleung
85fcea7759 minor fixes...i think we in a happy state (knock on wood)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1155 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-02 01:35:22 +00:00
anwleung
f293d98f8f Cleaned up the mon key gen
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1152 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 20:55:54 +00:00
sageweil
dbac3102a4 merge trunk changes r1058:1150 into branches/aleung/security1/ceph
- new monitor key boostrapping


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1151 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 19:56:54 +00:00
anwleung
ba197ffce1 passing of caps works to s degree...still some issues to resolve. About
to merge trunk into branch. note version number is case bad things 
happen.


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1150 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 19:04:21 +00:00
anwleung
11632e9bf6 More normal state...not that everything works yet but better
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1145 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 03:55:38 +00:00
anwleung
98b3943e95 little changed...still in weird state :)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1142 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 03:04:35 +00:00
anwleung
73f4d1c4e5 Stuffs kinda in a weird state...weird extcap compile error...cap caching
on client buffer not totally done


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1141 29311d96-e01e-0410-9327-a35deaab8ce9
2007-03-01 02:05:46 +00:00
anwleung
3e5865809a Read caps are being received by OSD...write caps are next
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1125 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-24 00:00:16 +00:00
anwleung
432611ef46 Read cap is being passed through client
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1121 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-23 21:28:08 +00:00
anwleung
8dae85df5b Removed RC5 encryption, not compatible with older crypto libs
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1120 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-23 04:32:59 +00:00
anwleung
a60cdad6ff Changed cap cache handling
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1119 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-23 00:53:47 +00:00
anwleung
2d237693a4 Resolved some capability generation issues
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1118 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-23 00:22:12 +00:00
anwleung
9fe20ecf48 Modified extcap buffer management
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1115 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-21 07:03:58 +00:00
anwleung
a734251516 added the extcap class
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1101 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-17 06:51:06 +00:00
anwleung
9ce10fb9e8 Client gets cap back and begins passing to OSD
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1100 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-17 06:22:05 +00:00
anwleung
61a7f7bcdb client key distro is close to done
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1081 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-07 02:07:35 +00:00
anwleung
d1cb0f52e3 Passing of keys is working...but not finished
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1080 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-06 23:48:46 +00:00
anwleung
7426f9f937 Waiting for ClientMonitor to respond with ACK
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1074 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-02 02:29:44 +00:00
anwleung
e7619b6135 Ticket's are updated and supposedly passable
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1073 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-02 01:40:08 +00:00
sageweil
83e1102a96 client blocking to get a user ticket
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1072 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 23:36:57 +00:00
anwleung
ccddcb48a9 First steps towards client auth
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1071 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 20:58:58 +00:00
sageweil
32ade6da6c user auth messages
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1070 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 07:24:44 +00:00
anwleung
e08a9eb1bd A bit mote on the user.h
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1066 29311d96-e01e-0410-9327-a35deaab8ce9
2007-02-01 00:44:38 +00:00
anwleung
f113ad3e64 Modified the monmap to have keys
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1065 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 23:33:14 +00:00
anwleung
d60308fc7d Added the (empty) user class
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1064 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 23:28:11 +00:00
anwleung
b100a1ff64 More map stuff, should be ready to serialize to .ceph_monmap
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1062 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 02:25:28 +00:00
anwleung
05c59ebf7c got the seg fault fixed
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1061 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 01:53:27 +00:00
sageweil
d5d4231d56 more buffer encode templates for list<string> and map<T,string>
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1060 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 01:09:17 +00:00
anwleung
41770ec174 Doesn't compile at the moment but fixing that now
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1059 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 01:06:36 +00:00
sageweil
89334e7b42 merged trunk changes r1025:1057 into branches/aleung/security1/ceph
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1058 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-31 00:47:32 +00:00
anwleung
540afc053e Preparing the monitor to recieve keys from the MDS
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1048 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-29 07:49:16 +00:00
anwleung
381429cc18 Modified the osd boot message to pass key string
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1044 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-28 00:10:08 +00:00
anwleung
a684066de5 Fixed a core dump?
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1043 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-27 21:36:08 +00:00
anwleung
1cf877a978 Added some of the initial keys
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1042 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-27 08:29:59 +00:00
anwleung
4b92f84282 Keys can now turn to string and everything is a namespace
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1041 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-27 00:32:50 +00:00
anwleung
42dc444242 fixed a make bug
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1036 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-25 19:53:16 +00:00
anwleung
4d86037dd0 Added files need to test crypto libraries. These should also be used as
examples of use


git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1033 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-24 20:38:49 +00:00
anwleung
f0e15675b7 added security flags to the config files
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1028 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 21:05:57 +00:00
anwleung
7f00a63743 Makefile now builds crytpo stuff into fakesyn (and only fakesyn)
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1027 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:53:23 +00:00
anwleung
3f1811b9c0 added the base crypto packages...requires crypto++5.2
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1026 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:43:56 +00:00
anwleung
1bfa322a59 creating a security related branch
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@1025 29311d96-e01e-0410-9327-a35deaab8ce9
2007-01-22 20:07:09 +00:00