Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Free the transport credentials struct. | Linus Nordberg | 2012-01-26 | 1 | -0/+1 |
| | |||||
* | Handle configuration errors better. | Linus Nordberg | 2011-07-03 | 1 | -2/+3 |
| | |||||
* | Remove spurious comment. | Linus Nordberg | 2011-07-02 | 1 | -1/+1 |
| | | | | | 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 Nordberg | 2011-07-02 | 1 | -1/+1 |
| | |||||
* | Define RS_FREERADIUS_DICT and use it when missing "dictionary" in config. | Linus Nordberg | 2011-03-21 | 1 | -2/+1 |
| | |||||
* | Memory alloc/free cleanup for contexts. | Linus Nordberg | 2011-03-21 | 1 | -8/+5 |
| | | | | | | | | | (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 Nordberg | 2011-03-21 | 1 | -1/+1 |
| | |||||
* | API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more. | Linus Nordberg | 2011-03-21 | 1 | -47/+64 |
| | | | | | | | 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().udp | Linus Nordberg | 2011-03-12 | 1 | -18/+3 |
| | | | | Don't expect a peer to always have a connection. | ||||
* | Free the realm name which is strdup'd when config is read. | Linus Nordberg | 2011-03-11 | 1 | -0/+1 |
| | |||||
* | Don't miscompile without --enable-tls. | Linus Nordberg | 2011-03-10 | 1 | -4/+3 |
| | | | | Include err.h and debug.h even w/o RS_ENABLE_TLS. | ||||
* | Add retransmission timer support (UDP). | Linus Nordberg | 2011-03-09 | 1 | -14/+35 |
| | |||||
* | Zap a double free. | Linus Nordberg | 2011-03-08 | 1 | -3/+3 |
| | |||||
* | Formatting changes. | Linus Nordberg | 2011-03-07 | 1 | -3/+5 |
| | |||||
* | Restructure code, moving most code out of packet.c | Linus Nordberg | 2011-03-06 | 1 | -1/+4 |
| | | | | Also, move copyright notice out of COPYING and into every file. | ||||
* | UDP w/o bufferevents, part 1. | Linus Nordberg | 2011-03-06 | 1 | -1/+2 |
| | | | | Sending, no retransmitting and no receiving. | ||||
* | Don't free config object until we destroy the context. | Linus Nordberg | 2011-03-06 | 1 | -0/+5 |
| | |||||
* | Revert 578e3551 -- double free in second invocation of dict_free(). | Linus Nordberg | 2011-03-06 | 1 | -1/+0 |
| | |||||
* | Error handling cleanup 2. | Linus Nordberg | 2011-03-01 | 1 | -2/+1 |
| | | | | RSE_NOSYS doesn't need a string. | ||||
* | Error handling cleanup | Linus Nordberg | 2011-03-01 | 1 | -1/+1 |
| | | | | | Remove RSE_SOME_ERROR. rs_tls_init: Push SSL error stack on libradsec error stack. | ||||
* | rs_context_destroy: Free freeradius dictionary. | Linus Nordberg | 2011-03-01 | 1 | -0/+1 |
| | |||||
* | Don't have the connection freeing peers -- it's the contexts responsibility. | Linus Nordberg | 2011-03-01 | 1 | -0/+2 |
| | | | | Also, let _rs_peer_destroy() free secret. | ||||
* | API changes: rs_client* --> rs_peer. | Linus Nordberg | 2011-02-28 | 1 | -62/+0 |
| | | | | | Move peer (former server) things to new file peer.c. Update examples. | ||||
* | Config file changes and small API changes. | Linus Nordberg | 2011-02-24 | 1 | -29/+60 |
| | | | | | | | | '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 Nordberg | 2011-02-19 | 1 | -2/+2 |
| | | | | | | | | | | | | 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. | linus | 2011-01-21 | 1 | -37/+55 |
| | | | | Also restructure error handling in rs_context_create(). | ||||
* | Bringing up TLS connections working. | Linus Nordberg | 2010-11-11 | 1 | -0/+14 |
| | | | | | | | 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 Nordberg | 2010-10-19 | 1 | -135/+0 |
| | |||||
* | Add stub. | Linus Nordberg | 2010-10-15 | 1 | -0/+8 |
| | |||||
* | #include assert.h. | Linus Nordberg | 2010-10-05 | 1 | -0/+1 |
| | |||||
* | Add rs_conn_fd(). | Linus Nordberg | 2010-10-05 | 1 | -0/+7 |
| | |||||
* | Rename struct rs_handle --> rs_context. | Linus Nordberg | 2010-10-05 | 1 | -12/+16 |
| | |||||
* | WIP -- reading configuration. | Linus Nordberg | 2010-10-04 | 1 | -34/+36 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 1 | -5/+19 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 1 | -34/+29 |
| | |||||
* | Rename the error functions. | Linus Nordberg | 2010-10-03 | 1 | -13/+13 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 1 | -1/+1 |
| | |||||
* | WIP. | Linus Nordberg | 2010-10-02 | 1 | -6/+7 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-02 | 1 | -2/+2 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-01 | 1 | -0/+2 |
| | |||||
* | Refactoring in preparation for handling more cases than client sending one ↵ | Linus Nordberg | 2010-09-29 | 1 | -61/+32 |
| | | | | packet. | ||||
* | WIP -- connecting and sending a packet using libevent. | Linus Nordberg | 2010-09-29 | 1 | -0/+22 |
| | |||||
* | WIP -- resolving, crafting packet. | Linus Nordberg | 2010-09-29 | 1 | -14/+88 |
| | |||||
* | WIP | Linus Nordberg | 2010-09-28 | 1 | -9/+17 |
| | |||||
* | WIP. | Linus Nordberg | 2010-09-28 | 1 | -18/+90 |
| | |||||
* | WIP on libradsec: 94e3f46 Example client crafting simple packet using ↵ | Linus Nordberg | 2010-09-27 | 1 | -26/+59 |
| | | | | freeradius-libradius. | ||||
* | Example client crafting simple packet using freeradius-libradius. | Linus Nordberg | 2010-09-26 | 1 | -0/+71 |