summaryrefslogtreecommitdiff
path: root/src/lib/cacep.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.