summaryrefslogtreecommitdiff
path: root/src/lib/pol/cacep_simple_auth.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Split authentication from CACEPdimitri staessens2017-02-271-190/+0
| | | | | | | 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-16/+23
| | | | | | The information passed to CACEP is split between the information about the connection and the information to be used during the authentication exchange.
* lib: Clean up memory management in cacep policiesdimitri staessens2017-02-211-2/+6
|
* lib: Exchange protocol info during CACEPdimitri staessens2017-02-211-5/+47
| | | | | | | | | 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-0/+137
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.