lp:~epics-core/epics-base/caserver-id-plugin

Created by mdavidsaver on 2014-08-26 and last modified on 2014-08-26

An incomplete attempt to allow CA to transport, and RSRV to use, identifying information in addition to the presently provided user and host strings.

Takes advantage of the fact that present CA server implementations treat user and host messages as null terminated strings, thus ignoring anything after the null. This can be used to transport arbitrary tokens up to EPICS_CA_MAX_ARRAY_BYTES in length.

Also introduces a framework for RSRV to process this information. A stub is added to libca which reads and send a base64 encoded blob from the environment.

Future work must include real token handling in libca with a way to refresh/replace the token of a running process. Also, RSRV must be able to handle tokens which expire. Also, something must be done with PCAS.

Get this branch:
bzr branch lp:~epics-core/epics-base/caserver-id-plugin
Members of EPICS Core Developers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
EPICS Core Developers
Project:
EPICS Base
Status:
Experimental

Recent revisions

12524. By mdavidsaver on 2014-08-26

noise

12523. By mdavidsaver on 2014-08-26

libca: take ident string from environment

12522. By mdavidsaver on 2014-08-26

base64 encode/decode

12521. By mdavidsaver on 2014-08-26

libca: allow extra id information to be set manually.

12520. By mdavidsaver on 2014-08-26

rsrv: Add identification plugin interface

Add a plugin interface to allow mangling of the
username and hostname provided by the client
before it is passed to Access Security.
Also allow extra information to be passed
in the host and user messages.

12519. By mdavidsaver on 2014-08-26

rsrv: host/user names must be null terminated

12518. By mdavidsaver on 2014-08-26

add epicsStrNLen()

Base currently requires only POSIX 2001 while
strnlen() is part of POSIX 2008.

12517. By Andrew Johnson on 2014-08-18

makeBaseApp tempplate: OPT settings

Eric suggested mentioning the HOST_OPT and CROSS_OPT settings
in the application template's configure/CONFIG_SITE file.

12516. By Andrew Johnson on 2014-08-15

epicsTypes.h: Don't use C99 types

The __STDC_VERSION__ >= 199901L test never succeeds
in C++, and there were issues with the epicsInt8
definition anyway (int8_t is signed, but char might
not be).

I also removed the epicsBoolean enum which we never use.

12515. By mdavidsaver on 2014-08-13

rsrv: better error msg when listen() fails

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~epics-core/epics-base/3.15
This branch contains Public information 
Everyone can see this information.