summaryrefslogtreecommitdiff
path: root/lib/radsec.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash bug in _rs_peer_destroy().udpLinus Nordberg2011-03-121-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 Nordberg2011-03-111-0/+1
|
* Don't miscompile without --enable-tls.Linus Nordberg2011-03-101-4/+3
| | | | Include err.h and debug.h even w/o RS_ENABLE_TLS.
* Add retransmission timer support (UDP).Linus Nordberg2011-03-091-14/+35
|
* Zap a double free.Linus Nordberg2011-03-081-3/+3
|
* Formatting changes.Linus Nordberg2011-03-071-3/+5
|
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-1/+4
| | | | Also, move copyright notice out of COPYING and into every file.
* UDP w/o bufferevents, part 1.Linus Nordberg2011-03-061-1/+2
| | | | Sending, no retransmitting and no receiving.
* Don't free config object until we destroy the context.Linus Nordberg2011-03-061-0/+5
|
* Revert 578e3551 -- double free in second invocation of dict_free().Linus Nordberg2011-03-061-1/+0
|
* Error handling cleanup 2.Linus Nordberg2011-03-011-2/+1
| | | | RSE_NOSYS doesn't need a string.
* Error handling cleanupLinus Nordberg2011-03-011-1/+1
| | | | | Remove RSE_SOME_ERROR. rs_tls_init: Push SSL error stack on libradsec error stack.
* rs_context_destroy: Free freeradius dictionary.Linus Nordberg2011-03-011-0/+1
|
* Don't have the connection freeing peers -- it's the contexts responsibility.Linus Nordberg2011-03-011-0/+2
| | | | Also, let _rs_peer_destroy() free secret.
* API changes: rs_client* --> rs_peer.Linus Nordberg2011-02-281-62/+0
| | | | | Move peer (former server) things to new file peer.c. Update examples.
* Config file changes and small API changes.Linus Nordberg2011-02-241-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 Nordberg2011-02-191-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.linus2011-01-211-37/+55
| | | | Also restructure error handling in rs_context_create().
* Bringing up TLS connections working.Linus Nordberg2010-11-111-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 Nordberg2010-10-191-135/+0
|
* Add stub.Linus Nordberg2010-10-151-0/+8
|
* #include assert.h.Linus Nordberg2010-10-051-0/+1
|
* Add rs_conn_fd().Linus Nordberg2010-10-051-0/+7
|
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-051-12/+16
|
* WIP -- reading configuration.Linus Nordberg2010-10-041-34/+36
|
* WIPLinus Nordberg2010-10-031-5/+19
|
* WIPLinus Nordberg2010-10-031-34/+29
|
* Rename the error functions.Linus Nordberg2010-10-031-13/+13
|
* WIPLinus Nordberg2010-10-031-1/+1
|
* WIP.Linus Nordberg2010-10-021-6/+7
|
* WIPLinus Nordberg2010-10-021-2/+2
|
* WIPLinus Nordberg2010-10-011-0/+2
|
* Refactoring in preparation for handling more cases than client sending one ↵Linus Nordberg2010-09-291-61/+32
| | | | packet.
* WIP -- connecting and sending a packet using libevent.Linus Nordberg2010-09-291-0/+22
|
* WIP -- resolving, crafting packet.Linus Nordberg2010-09-291-14/+88
|
* WIPLinus Nordberg2010-09-281-9/+17
|
* WIP.Linus Nordberg2010-09-281-18/+90
|
* WIP on libradsec: 94e3f46 Example client crafting simple packet using ↵Linus Nordberg2010-09-271-26/+59
| | | | freeradius-libradius.
* Example client crafting simple packet using freeradius-libradius.Linus Nordberg2010-09-261-0/+71