Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ieccbd068c032e141c41eb7e2c53969348a959208
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5eec641721ba1a8b5bd489e4438fb0f0ccad40f1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2fa317b494f02c2725886a9874af340337b082cb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I2a95154e728bf87976280b52ae0214664b107fd6
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I1ef85b90f5361af31247f0547376af0e5f08f14d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The client program cynadm gets 2 new commands:
acheck and atest that are intended to use
asynchronous test and check.
The client programs cynadm and test-old-cynara
now read as much a possible input before to
process asynchronous answers. This is made to
simulate congestion on asynchronous client.
Change-Id: I1c9dbfe43f150725d530c155135ead8e758897e5
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I0d2d1566819dc595e46ab09cdab9b8c1dd5b6537
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3f64af57796dfc6b38f4cd51ab838e820e6cbb9c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I75b346ea71a0c3fbc1109cd0aedf9ed7c5ebbce9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I08a7a254ccef10036a4dbb1ef05d3198f5801457
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I51876cc4bf85d692a8bee7cf272d5eeddff9c2a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iceb888ed5cccc46bde9e479a2b1ae9a5a6c4ee53
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I838788b71908a287fe45c59ed51c20a3f8007a70
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: If2f4c07addbf7843f6c4cb2b26da1f9b902ee60f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I73f7a7cc6ab96cc7e6064e267b126b883b94bc69
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I5479c9e35512ab77a005692903733f7d1af627a3
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I393d6aa53b98aff102417c263447e2d34e80d531
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ifb780ac4133732a4218fa3018b9ecec9f3b67718
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Ica1479c4ccac93ff153c0e0bf79a3eab6ae882f9
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: I3aa631e0348ab2b1a80b5976e19829ffe75fa673
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The idea is to allow a client to disconnect
and reconnect without losing its cache.
Change-Id: I017176e5eb5f553b961a32ee466d1b7a175532bb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Agent are now named and called when the
value returned is prefixed by name+colon.
For example, the agent 'me' receives the requests
'request' and the asked key for the rule:
* * * * me:request forever
Add the always available AGENT-AT implementation.
The AGENT-AT handles the value prefix @: to re-ask
the database with a query derived from the value.
Example: the rule
* * 1001 * @:%c:%s:OWNER:%p forever
if selected for the query key
{client=C, session=S, user=1001, permission=P}
will produce the evaluation of the key
{client=C, session=S, user=OWNER, permission=P}
The values @: are structured as 4 field separated
by colons (:). The sequences %c, %s, %u, %p, %%
and %: are substituted by client, session, user,
permission, % and :, with values coming from the
original request.
Change-Id: I7043845292f13f9c269a71cfabc4715330eaff34
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
The stored sessions MUST be *.
Some thing still have to be set for sessions.
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Change-Id: Iadeba6f0602f7be017244c2602fae2bbe2abf74e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Also set constants compliant to chump compilers.
Change-Id: Id22672f8077a9fe6377a10043efec3e78e8eb3a7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
The DB now records sessions. It has expiration
management (currently coarse: ~16s, see db.c)
that is propagated to caches.
Values are now strings. Default values are
"yes" and "no" for allowed or denied permissions.
new program: cynadm
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
|
|
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
|