summaryrefslogtreecommitdiff
path: root/lib/conf.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement disable_hostname_check config option.Linus Nordberg2013-10-031-0/+3
| | | | Patch by Sam Hartman.
* Update copyright years.Linus Nordberg2013-05-091-2/+2
|
* Handle case where config hasn't yet been read better.Linus Nordberg2013-01-231-2/+4
| | | | Don't segfault is a good start.
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Config docu.Linus Nordberg2012-12-181-2/+2
|
* Merge libradsec-new-client.Linus Nordberg2012-04-271-3/+1
|\
| * remove dictionary configuration parameterLuke Howard2011-11-141-3/+0
| |
| * port to new RADIUS client libraryLuke Howard2011-11-141-0/+1
| |
* | Use rs_strdup().Linus Nordberg2012-04-261-2/+3
| |
* | Postpone resolving of DNS names of server.Linus Nordberg2012-04-251-4/+2
| | | | | | | | | | | | | | | | | | | | We used to resolve DNS names when reading configuration. We now do it in event_init_socket() and cache the result in the connection object. The imminent need for changing this is to keep host names around for X509 certificate verification (CNAME and subjectAltName). This will also help later when we implement server failover (and later, when people want to do more dynamic configuration, f.ex. NAPTR).
* | Conditionally compile TLS-PSK code (--enable-tls-psk).Linus Nordberg2012-04-231-7/+23
| | | | | | | | Also, allow for PSK-only configuration, i.e. don't barf on missing cert stuff.
* | Clarify comments about PSK string encoding.Linus Nordberg2012-02-011-2/+2
| |
* | Implement TLS-PSK.Linus Nordberg2012-01-311-6/+21
| |
* | 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