summaryrefslogtreecommitdiff
path: root/lib/radsec.c
Commit message (Collapse)AuthorAge
* Move lib to the root.Linus Nordberg2014-02-05
|
* Improve initialisation of OpenSSL PRNG.Linus Nordberg2013-12-20
| | | | Basic idea taken from Tor.
* Update copyright years.Linus Nordberg2013-05-09
|
* Revive radsecproxy.h and hostport_types.h and move rsp_* into radsecproxy/.Linus Nordberg2013-01-22
|
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-19
| | | | And distribute LICENSE and HACKING.
* Merge libradsec-new-client.Linus Nordberg2012-04-27
|\
| * remove rs_context_init_freeradius_dictLuke Howard2011-11-14
| |
| * port to new RADIUS client libraryLuke Howard2011-11-14
| |
* | Postpone resolving of DNS names of server.Linus Nordberg2012-04-25
| | | | | | | | | | | | | | | | | | | | 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).
* | Free the transport credentials struct.Linus Nordberg2012-01-26
|/
* Handle configuration errors better.Linus Nordberg2011-07-03
|
* Remove spurious comment.Linus Nordberg2011-07-02
| | | | | rs_resolv() doesn't have a connection to push an error on and should indeed return a struct rs_error.
* Resolve IPv6 addresses too.Linus Nordberg2011-07-02
|
* Define RS_FREERADIUS_DICT and use it when missing "dictionary" in config.Linus Nordberg2011-03-21
|
* Memory alloc/free cleanup for contexts.Linus Nordberg2011-03-21
| | | | | | | | | (rs_context_create): Don't touch *ctx on failure. Keep allocation and zeroing of allocated memory together. (rs_context_destroy): Fix typo. (rs_context_destroy): Don't rs_free the context since it's allocated with calloc.
* (rs_context_destroy): Use free() rather than rs_free() for realm->name.Linus Nordberg2011-03-21
|
* API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.Linus Nordberg2011-03-21
| | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g.
* Fix crash bug in _rs_peer_destroy().Linus Nordberg2011-03-12
| | | | Don't expect a peer to always have a connection.
* Free the realm name which is strdup'd when config is read.Linus Nordberg2011-03-11
|
* Don't miscompile without --enable-tls.Linus Nordberg2011-03-10
| | | | Include err.h and debug.h even w/o RS_ENABLE_TLS.
* Add retransmission timer support (UDP).Linus Nordberg2011-03-09
|
* Zap a double free.Linus Nordberg2011-03-08
|
* Formatting changes.Linus Nordberg2011-03-07
|
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-06
| | | | Also, move copyright notice out of COPYING and into every file.
* UDP w/o bufferevents, part 1.Linus Nordberg2011-03-06
| | | | Sending, no retransmitting and no receiving.
* Don't free config object until we destroy the context.Linus Nordberg2011-03-06
|
* Revert 578e3551 -- double free in second invocation of dict_free().Linus Nordberg2011-03-06
|
* Error handling cleanup 2.Linus Nordberg2011-03-01
| | | | RSE_NOSYS doesn't need a string.
* Error handling cleanupLinus Nordberg2011-03-01
| | | | | Remove RSE_SOME_ERROR. rs_tls_init: Push SSL error stack on libradsec error stack.
* rs_context_destroy: Free freeradius dictionary.Linus Nordberg2011-03-01
|
* Don't have the connection freeing peers -- it's the contexts responsibility.Linus Nordberg2011-03-01
| | | | Also, let _rs_peer_destroy() free secret.
* API changes: rs_client* --> rs_peer.Linus Nordberg2011-02-28
| | | | | Move peer (former server) things to new file peer.c. Update examples.
* Config file changes and small API changes.Linus Nordberg2011-02-24
| | | | | | | | '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!).
* Improve protocol robustness and invoke user callbacks.Linus Nordberg2011-02-19
| | | | | | | | | | | | All aborts are removed, as well as all asserts which aren't programming errors. When an invalid packet is received, the connection is closed, as per draft-ietf-radext-tcp-transport-08 (2.6.4). Use new rs_debug() macro rather than fprintf() for debug printouts. Coding style overhaul.
* Fix bug where one or two stanzas in a config file would be but not more.linus2011-01-21
| | | | Also restructure error handling in rs_context_create().
* Bringing up TLS connections working.Linus Nordberg2010-11-11
| | | | | | | 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.
* Move connection related functions to conn.c.Linus Nordberg2010-10-19
|
* Add stub.Linus Nordberg2010-10-15
|
* #include assert.h.Linus Nordberg2010-10-05
|
* Add rs_conn_fd().Linus Nordberg2010-10-05
|
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-05
|
* WIP -- reading configuration.Linus Nordberg2010-10-04
|
* WIPLinus Nordberg2010-10-03
|
* WIPLinus Nordberg2010-10-03
|
* Rename the error functions.Linus Nordberg2010-10-03
|
* WIPLinus Nordberg2010-10-03
|
* WIP.Linus Nordberg2010-10-02
|
* WIPLinus Nordberg2010-10-02
|
* WIPLinus Nordberg2010-10-01
|
* Refactoring in preparation for handling more cases than client sending one ↵Linus Nordberg2010-09-29
| | | | packet.