summaryrefslogtreecommitdiff
path: root/lib/conf.c
Commit message (Collapse)AuthorAgeFilesLines
* Move a comment, for clarification.Linus Nordberg2012-01-241-1/+1
|
* Add TLS PSK configuration options.Linus Nordberg2012-01-241-1/+40
|
* Cleanup conf.c.Linus Nordberg2011-07-031-16/+19
| | | | | Don't promote a pointer to a boolean in if clauses. Compare strcmp to 0.
* Handle all libconfuse parse errors.Linus Nordberg2011-07-031-3/+18
|
* Handle configuration errors better.Linus Nordberg2011-07-031-2/+4
|
* (rs_context_destroy): Use free() rather than rs_free() for realm->name.Linus Nordberg2011-03-211-1/+3
|
* API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.Linus Nordberg2011-03-211-27/+42
| | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g.
* Handle an ENOMEM case in conf.c.Linus Nordberg2011-03-111-0/+2
|
* Change default configuration to do RadSec rather than UDP.Linus Nordberg2011-03-091-4/+4
|
* Rename and move around a few helper functions.Linus Nordberg2011-03-091-3/+4
|
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-1/+2
| | | | Also, move copyright notice out of COPYING and into every file.
* Don't free config object until we destroy the context.Linus Nordberg2011-03-061-10/+18
|
* Do _copy_ the strings from the config object.Linus Nordberg2011-03-061-4/+4
|
* Do free the config object.Linus Nordberg2011-03-061-0/+1
|
* Config file changes and small API changes.Linus Nordberg2011-02-241-11/+19
| | | | | | | | 'timeout' and 'tries' move from 'server' stanza to top. 'tries' is now 'retries'. Moving around in internal data structs, making struct peer strictly config. Bug fixes in configuration code. Adding some more cleanup code, freeing allocated memory (still not done!).
* Fix bug where one or two stanzas in a config file would be but not more.linus2011-01-211-7/+5
| | | | Also restructure error handling in rs_context_create().
* Cosmetic changes to conf.c.linus2011-01-201-2/+2
|
* Bringing up TLS connections working.Linus Nordberg2010-11-111-1/+22
| | | | | | | NOTE: Clean up of resources not yet sane. Expect resource leakages. NOTE: Most failure cases are not handled properly. With the wind at your back and the sun shining, it might work.
* Don't ignore connection type configuration.Linus Nordberg2010-11-081-6/+7
|
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-051-2/+2
|
* Rename top level token "realm" --> "config".Linus Nordberg2010-10-041-11/+12
|
* WIP -- reading configuration.Linus Nordberg2010-10-041-0/+104