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