Commit Graph

1309 Commits

Author SHA1 Message Date
Steven Dake
6089c11fb7 Describe latest security system using SOBER, SHA1, and HMAC.
(Logical change 1.52)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@159 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:32:37 +00:00
Steven Dake
b70fdf8555 keygen.c, crypto.h, crypto.c:
New files for cryptography support.

BKrev: 4117ecc6HWTXJ7DG7UZ3E01aKajTBA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@158 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:29:42 +00:00
Steven Dake
b04d69d381 (Logical change 1.51)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@157 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:29:42 +00:00
Steven Dake
0c282269e0 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@156 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-08-09 21:29:41 +00:00
Mark Haverkamp
21f537641e Fix compiler warning
(Logical change 1.50)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@155 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-30 17:51:32 +00:00
Mark Haverkamp
518441dcb3 Fix compiler warning
BKrev: 410a8aa45tOLcJaeS6TU0H7l55hYiQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@154 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-30 17:51:32 +00:00
Mark Haverkamp
aa5a8389ef Fix queue items memory leak.
(Logical change 1.49)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@153 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-30 17:49:14 +00:00
Mark Haverkamp
b6aef62e74 Fix queue items memory leak.
BKrev: 410a8a1arpYlwWZY9PRvbEkRYy7zkQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@152 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-30 17:49:14 +00:00
Steven Dake
26a054685d Change RecvQueue to use a stack structure for receiving the
response instead of passing in the maximum sized value for a
response message.

(Logical change 1.48)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@151 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 23:00:43 +00:00
Steven Dake
ec5406aafc Clean up RecvQueue users and pass in actual buffer instead
of "overly large" buffer which has changed because of changes
to util.c
Also cleaned up memory leak in the dispatch function.

(Logical change 1.48)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@150 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 23:00:43 +00:00
Steven Dake
daeb5bfbbd util.c:
Change RecvQueue to use a stack structure for receiving the
  response instead of passing in the maximum sized value for a
  response message.
ckpt.c:
  Change all RecvQueue users to use RecvRetry since there is no
  reason to queue out of order messages.
amf.c:
  Clean up RecvQueue users and pass in actual buffer instead
  of "overly large" buffer which has changed because of changes
  to util.c
  Also cleaned up memory leak in the dispatch function.

BKrev: 4109819b_adTTm4cCZmfLJcsYb9hyA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@149 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 23:00:43 +00:00
Steven Dake
92eeea1335 Change all RecvQueue users to use RecvRetry since there is no
reason to queue out of order messages.

(Logical change 1.48)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@148 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 23:00:43 +00:00
Steven Dake
97649da204 (Logical change 1.47)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@147 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Steven Dake
0385d9ba49 Add function in exec/clm to get the full cluster node information
for any node in the cluster membership

(Logical change 1.47)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@146 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Mark Haverkamp
02b4016105 Merge bk://bk.osdl.org/openais
into markh1.pdx.osdl.net:/home/localmarkh/views/BK/openais_stage

2004/07/29 12:26:46-07:00 mvista.com!sdake
clm.c:
  Add function in exec/clm to get the full cluster node information
  for any node in the cluster membership

BKrev: 410955capPzVdVwzpMJetS80seWS7g


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@145 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 19:53:46 +00:00
Mark Haverkamp
b04e9c5d16 Added event code and dependencies.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@144 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
f6bad576fa added event message types and associated data structures.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@143 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
170efe67d4 Event service data types.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@142 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
36563bbf7c This adds the start of the AIS event service code. The library code
is mostly complete.  The aisexec part just has placeholders for now
and will be filled in later.

BKrev: 410944e7-oXL5OZSJvizPPH9dGS2GA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@141 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
ad6301d50d Added event library and depend target.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@140 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
3cdfc4a3ec added event service handler.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@139 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
7f9da22767 added event service.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@138 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
6da8305de8 Added clustTimeNow to get current time in nanoseconds.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@137 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
1f60d9b56e Added event test program and depend target.
(Logical change 1.46)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@136 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
cba04f10c5 (Logical change 1.46)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@135 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:43 +00:00
Mark Haverkamp
9dc4b066ad Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@134 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-29 18:41:42 +00:00
Steven Dake
4b6839b96e README.devmap:
Document new changes to exec handler function prototype
  and recommend using the source_addr for deferring requests
  instead of recording the ip address in the message itself.
main.c, handlers.h, clm.c, ckpt.c, amf.c:
  Add source_addr to exec message handler for event service.

BKrev: 41082a5cY6cLQK7NG_rxZrkb7lERfw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@133 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-28 22:36:12 +00:00
Steven Dake
48601c8797 Document new changes to exec handler function prototype
and recommend using the source_addr for deferring requests
instead of recording the ip address in the message itself.

(Logical change 1.45)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@132 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-28 22:36:12 +00:00
Steven Dake
9783e8d172 Add source_addr to exec message handler for event service.
(Logical change 1.45)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@131 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-28 22:36:12 +00:00
Steven Dake
71bf042ce9 Major cleanup and use hdb.c abstracted out functions
now instead of internal hacked together stuff that was
there previously.

(Logical change 1.44)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@130 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
21d72de996 Remove "old-style" handle database code from aispoll.c and include
instead hdb.c/hdb.h.  These files are copies of the handle database
code used for the library without mutexes.

This work for Mark Haverkamp to use the handle database functionality
as part of the event service.

BKrev: 4106e5a7ANCdXqe3zoIfO1tcYyrQhQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@129 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
105dfeb76e Major cleanup to use hdb.c handle database functions.
(Logical change 1.44)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@128 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
3d098438ec Add hdb.c to the build.
(Logical change 1.44)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@127 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
f6c12e54d9 (Logical change 1.44)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@126 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:47 +00:00
Steven Dake
13180ca19b Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@125 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:30:46 +00:00
Steven Dake
4ab8129ccb Remove handle state and handle instance information.
Also cleanup saHandleCreate to return unsigned int
handle instead of int handle.

(Logical change 1.43)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@124 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:27:13 +00:00
Steven Dake
2cdf0b28d6 Hide handle state and handle instance information
in this file instead of in global header file.

(Logical change 1.43)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@123 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:27:13 +00:00
Steven Dake
9ad2184513 util.h:
Remove handle state and handle instance information.
  Also cleanup saHandleCreate to return unsigned int
  handle instead of int handle.
util.c:
  Hide handle state and handle instance information
  in this file instead of in global header file.

BKrev: 4106e4d1-Ntb973S5ymyNwgL6e0PDw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@122 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-27 23:27:13 +00:00
Steven Dake
f446ed6a5b Remove BINDTODEVICE socket option and replace with MULTICAST_IF
to be more portable and require less root privs.

(Logical change 1.42)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@121 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-26 22:17:36 +00:00
Steven Dake
093cccd334 gmi.c:
Remove BINDTODEVICE socket option and replace with MULTICAST_IF
  to be more portable and require less root privs.

BKrev: 410583008afZgkQ66_jDep-8pFf_nw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@120 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-26 22:17:36 +00:00
Steven Dake
c6a4b25b12 Additional information for using the saRecvQueue call in a
library.

(Logical change 1.41)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@119 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-23 22:15:04 +00:00
Steven Dake
61d7f71031 README.devmap:
Additional information for using the saRecvQueue call in a
  library.

BKrev: 41018de8tOmRhu_QtrtzbSGzWHSMKA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@118 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-23 22:15:04 +00:00
Steven Dake
32ff7abeb8 (Logical change 1.40)
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@117 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-20 23:47:28 +00:00
Steven Dake
48aa1bfad9 SECURITY:
Description of the security policy of the openais project.  Includes a
  description of the techniques used in openais.

BKrev: 40fdaf10zR42cuBrfB9UB-Bc-edNsQ


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@116 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-20 23:47:28 +00:00
Steven Dake
1f45493f13 Initial revision
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@115 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-20 23:47:27 +00:00
Steven Dake
7298c7d9c0 Major improvements to fragmentation. It works alot better now.
(Logical change 1.39)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@114 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-15 00:03:02 +00:00
Steven Dake
70749c2bbd Major improvements to quality in the GMI. Previously with 12 processors
and running ckptstress from two nodes, one node would fail to make
forward progress.  Sometimes the nodes would assert or crash.  All the
fragmentation code has been rewritten to be more stable and of better
design (at the cost of a little more memory).

BKrev: 40f5c9b6KnXRw3_UyUgLV-cIvI7YpA


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@113 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-15 00:03:02 +00:00
Steven Dake
69c97fb5ff Allow NULL delivery_fn in gmi_join. This basically has no
effect but allows the processor to participate in multicasting
and membership.

(Logical change 1.38)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@112 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:20:56 +00:00
Steven Dake
0ee13ef6b5 gmi.c:
Allow NULL delivery_fn in gmi_join.  This basically has no
  effect but allows the processor to participate in multicasting
  and membership.

BKrev: 40f419f8lTr8W134C7CXrtXRnzoMzw


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@111 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:20:56 +00:00
Steven Dake
7f49b68e27 Extraneous tokens were not being rejected on token retransmits
that occurred during configuration changes.  The result was bad
behavior, especially with larger rings.  Also cleaned up the
token retransmit timer to be deleted if necessary.

(Logical change 1.37)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@110 fd59a12c-fef9-0310-b244-a6a79926bd2f
2004-07-13 17:19:43 +00:00