Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove last trace of server and client in API. | Linus Nordberg | 2011-02-28 | 1 | -5/+5 |
| | |||||
* | Rename relevant functions to reflect authn as opposed to authz. | Linus Nordberg | 2011-02-28 | 2 | -8/+11 |
| | | | | Also add a "bare" create request function. | ||||
* | API changes: rs_client* --> rs_peer. | Linus Nordberg | 2011-02-28 | 1 | -7/+7 |
| | | | | | Move peer (former server) things to new file peer.c. Update examples. | ||||
* | Cosmetic header file changes. | Linus Nordberg | 2011-02-28 | 2 | -29/+43 |
| | |||||
* | API change. Have the request object create its own request message. | Linus Nordberg | 2011-02-25 | 2 | -4/+4 |
| | |||||
* | Get rid of loopbreak as a mean for signalling successful packet handling. | Linus Nordberg | 2011-02-25 | 1 | -0/+2 |
| | | | | | | | | | | | | | In blocking mode, breaking the event loop with loopbreak will probably be needed for exceptions like timeout so we shouldn't use it for breaking the loop and signalling success. In the user callbaks used in blocking mode (_rcb and _wcb), disable read and write events on the event buffer. This will stop the loop. Also, set a flag in the packet struct to signal success. In the "low level callbacks" (_read_cb and _write_cb), enable read or write, accordingly. | ||||
* | Config file changes and small API changes. | Linus Nordberg | 2011-02-24 | 2 | -13/+17 |
| | | | | | | | | '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 | -8/+10 |
| | | | | | | | | | | | | 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. | ||||
* | Add comments on some error codes. | Linus Nordberg | 2011-02-04 | 1 | -4/+4 |
| | |||||
* | Reorder function prototypes. | Linus Nordberg | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | API breakage -- rename rs_packet_create_acc_request(). | linus | 2011-01-21 | 1 | -5/+6 |
| | |||||
* | Add extern "C" guards to all header files. | Linus Nordberg | 2010-11-11 | 4 | -0/+32 |
| | |||||
* | Bringing up TLS connections working. | Linus Nordberg | 2010-11-11 | 2 | -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. | ||||
* | Merge branch 'merge-luke' into libradsec | Linus Nordberg | 2010-10-11 | 3 | -3/+10 |
|\ | | | | | | | | | | | 8a676ab Robustness fixes (and some callback invocation) by Luke Howard. ff55882 Request object implementation and bug fixes by Luke Howard. 06936d1 Have rad_decode() verify responses. | ||||
| * | Have rad_decode() verify responses. | Luke Howard | 2010-10-11 | 3 | -6/+2 |
| | | |||||
| * | Request object implementation and bug fixes by Luke Howard. | Linus Nordberg | 2010-10-11 | 3 | -0/+9 |
| | | |||||
| * | Robustness fixes (and some callback invocation) by Luke Howard. | Linus Nordberg | 2010-10-10 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | * lib/packet.c (_packet_create): Set packet identity properly. (_do_send): Return an int. (_do_send): Don't ignore rad_encode() errors. (_do_send): Do invoke rad_sign(). (_event_cb): Invoke callbacks. (_event_cb): Honour _do_send() return code. (_read_cb): Check packet (by invoking rad_packet_ok()). (_read_cb): Don't ignore rad_decode() errors. (_read_cb): Invoke callbacks. | ||||
| * | Rename rs_req_* --> rs_request_. | Linus Nordberg | 2010-10-10 | 1 | -3/+3 |
| | | | | | | | | Contributed by Luke Howard. | ||||
* | | Don't require username & pw in rs_packet_create_acc_request(). | Linus Nordberg | 2010-10-10 | 1 | -2/+2 |
|/ | |||||
* | Add rs_conn_fd(). | Linus Nordberg | 2010-10-05 | 1 | -0/+1 |
| | |||||
* | Rename struct rs_handle --> rs_context. | Linus Nordberg | 2010-10-05 | 2 | -19/+26 |
| | |||||
* | Remove unused. | Linus Nordberg | 2010-10-04 | 1 | -3/+0 |
| | |||||
* | Formatting (indent -kr). | Linus Nordberg | 2010-10-04 | 1 | -26/+44 |
| | |||||
* | WIP -- reading configuration. | Linus Nordberg | 2010-10-04 | 2 | -1/+10 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 2 | -8/+13 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 2 | -12/+18 |
| | |||||
* | Rename the error functions. | Linus Nordberg | 2010-10-03 | 1 | -6/+6 |
| | |||||
* | WIP -- prepare for request objects. | Linus Nordberg | 2010-10-03 | 2 | -0/+17 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 2 | -1/+123 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-03 | 1 | -2/+2 |
| | |||||
* | WIP. | Linus Nordberg | 2010-10-02 | 2 | -121/+0 |
| | |||||
* | WIP | Linus Nordberg | 2010-10-02 | 2 | -0/+209 |