summaryrefslogtreecommitdiff
path: root/src/lib/pol
Commit message (Collapse)AuthorAgeFilesLines
* Revise CACEP APIdimitri staessens2017-02-244-42/+57
| | | | | | 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-212-4/+15
|
* lib: Exchange protocol info during CACEPdimitri staessens2017-02-217-13/+331
| | | | | | | | | 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-205-0/+313
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.