summaryrefslogtreecommitdiff
path: root/src/lib/cacep.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Make read_msg static in cacep.cdimitri staessens2017-07-121-2/+2
|
* ipcpd: normal: Add connection managerSander Vrijders2017-03-021-0/+3
| | | | | | | This adds the connection manager which allows the different AEs of the normal IPCP to register with it. An AE can then use the connection manager to allocate a flow to a neighbor, or to wait for a new connection from a neighbor.
* lib: Split CACEP into request/response protocoldimitri staessens2017-02-281-26/+6
|
* lib: Split authentication from CACEPdimitri staessens2017-02-271-62/+90
| | | | | | | By removing authentication as part of CACEP, all policies disappear. CACEP becomes a policy-free connection establishment protocol between Application Entities. Authentication can later be added cleanly as a pure policy function when needed.
* Revise CACEP APIdimitri staessens2017-02-241-23/+27
| | | | | | The information passed to CACEP is split between the information about the connection and the information to be used during the authentication exchange.
* lib: Exchange protocol info during CACEPdimitri staessens2017-02-211-0/+35
| | | | | | | | | This exchanges a protocol name, a protocol version and concrete syntax for the protocol upon CACEP. For CDAP, only version 1 and GPB are supported. No lists for other supported versions or syntaxes are exchanged (but the proto file supports it). CACEP fails if there is a mismatch between the protocol names, version and syntax specified by the communicating parties.
* lib: Revise CACEPdimitri staessens2017-02-201-130/+30
| | | | | | | | | Revises CACEP policies to stateless library calls. It provides two policies: an anonymous authentication policy that will generate random credentials for the peer, and a simple authentication policy that will return a name for the peer and an address. Changes the normal IPCP to use the updates API calls.
* lib: Fix memleak in cacepdimitri staessens2017-02-061-0/+1
|
* ipcpd: normal: Create policies for GAMSander Vrijders2017-01-121-3/+3
| | | | | This allows the selection of a policy for the graph adjacency manager. Currently we only support constructing a complete graph.
* lib: Add Common Application Connection Establishment PhaseSander Vrijders2017-01-091-0/+170
This adds CACEP to the library, which can be used for authenticating the other party after flow allocation and for obtaining other relevant information.