Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cosmetic changes. | Linus Nordberg | 2011-03-06 | 1 | -5/+5 |
| | |||||
* | Don't free config object until we destroy the context. | Linus Nordberg | 2011-03-06 | 3 | -10/+25 |
| | |||||
* | Revert 578e3551 -- double free in second invocation of dict_free(). | Linus Nordberg | 2011-03-06 | 1 | -1/+0 |
| | |||||
* | Do _copy_ the strings from the config object. | Linus Nordberg | 2011-03-06 | 1 | -4/+4 |
| | |||||
* | Do free the config object. | Linus Nordberg | 2011-03-06 | 1 | -0/+1 |
| | |||||
* | _init_evb: Don't crash on socket errors. | Linus Nordberg | 2011-03-03 | 3 | -2/+13 |
| | |||||
* | Correct an error code. | Linus Nordberg | 2011-03-03 | 1 | -1/+3 |
| | |||||
* | Correct an error string. | Linus Nordberg | 2011-03-03 | 1 | -1/+1 |
| | |||||
* | Be consistent with naming of formal arguments. | Linus Nordberg | 2011-03-02 | 1 | -1/+1 |
| | |||||
* | Error handling cleanup 3. | Linus Nordberg | 2011-03-01 | 3 | -4/+6 |
| | | | | Split timeout errors in connecting and I/O. | ||||
* | Error handling cleanup 2. | Linus Nordberg | 2011-03-01 | 3 | -12/+9 |
| | | | | RSE_NOSYS doesn't need a string. | ||||
* | Error handling cleanup | Linus Nordberg | 2011-03-01 | 5 | -20/+18 |
| | | | | | 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 | 2 | -9/+3 |
| | | | | Also, let _rs_peer_destroy() free secret. | ||||
* | rs_request_send: Check arguments and that we have a packet to send. | Linus Nordberg | 2011-03-01 | 1 | -0/+3 |
| | |||||
* | Add RSE_INVAL. | Linus Nordberg | 2011-03-01 | 2 | -1/+2 |
| | |||||
* | Add asserts to request object. | Linus Nordberg | 2011-02-28 | 1 | -1/+4 |
| | |||||
* | Update status in HACKING. | Linus Nordberg | 2011-02-28 | 1 | -15/+16 |
| | |||||
* | Make tests run again. | Linus Nordberg | 2011-02-28 | 2 | -5/+30 |
| | | | | NOTE: 2 exceptions ATM. | ||||
* | Remove last trace of server and client in API. | Linus Nordberg | 2011-02-28 | 2 | -8/+8 |
| | |||||
* | Rename relevant functions to reflect authn as opposed to authz. | Linus Nordberg | 2011-02-28 | 5 | -16/+38 |
| | | | | Also add a "bare" create request function. | ||||
* | API changes: rs_client* --> rs_peer. | Linus Nordberg | 2011-02-28 | 5 | -74/+83 |
| | | | | | Move peer (former server) things to new file peer.c. Update examples. | ||||
* | Cosmetic header file changes. | Linus Nordberg | 2011-02-28 | 2 | -29/+43 |
| | |||||
* | Time out on connect and break event loop on errors. | Linus Nordberg | 2011-02-25 | 1 | -0/+48 |
| | |||||
* | API change. Have the request object create its own request message. | Linus Nordberg | 2011-02-25 | 4 | -18/+22 |
| | |||||
* | Get rid of loopbreak as a mean for signalling successful packet handling. | Linus Nordberg | 2011-02-25 | 2 | -29/+16 |
| | | | | | | | | | | | | | 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 | 8 | -137/+252 |
| | | | | | | | | '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!). | ||||
* | Split example config in two files. | Linus Nordberg | 2011-02-24 | 2 | -0/+24 |
| | |||||
* | Split example config in two files. | Linus Nordberg | 2011-02-24 | 1 | -30/+0 |
| | |||||
* | Report SSL errors with error string rather than an integer. | Linus Nordberg | 2011-02-20 | 1 | -1/+1 |
| | |||||
* | Push an ENOMEM error on the connection rather than the context. | Linus Nordberg | 2011-02-20 | 1 | -4/+4 |
| | |||||
* | Handle another ENOMEM case. | Linus Nordberg | 2011-02-20 | 1 | -2/+5 |
| | |||||
* | Improve protocol robustness and invoke user callbacks. | Linus Nordberg | 2011-02-19 | 9 | -169/+343 |
| | | | | | | | | | | | | 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. | ||||
* | Use AM_CFLAGS when setting CFLAGS. | Linus Nordberg | 2011-02-19 | 2 | -2/+2 |
| | |||||
* | Merge branch 'libradsec' of /tmp/radsecproxy into libradsec | Linus Nordberg | 2011-02-15 | 1 | -1/+1 |
|\ | |||||
| * | Include debug.h regardless if DEBUG -- rs_debug needs to be declared. | Linus Nordberg | 2011-02-15 | 1 | -1/+1 |
| | | |||||
* | | Add comments. | Linus Nordberg | 2011-02-15 | 1 | -1/+3 |
|/ | |||||
* | Make autogen.sh actually work -- were missing ltmain.sh. | Linus Nordberg | 2011-02-15 | 7 | -2/+13158 |
| | | | | | | Add Automake/Libtool files to biuld-aux and set AC_CONFIG_AUX_DIR. Use LT_INIT rather than deprecated AC_PROG_LIBTOOL. | ||||
* | Do build examples with -Wall -g. | Linus Nordberg | 2011-02-04 | 1 | -2/+2 |
| | |||||
* | Add comments on some error codes. | Linus Nordberg | 2011-02-04 | 1 | -4/+4 |
| | |||||
* | Initialize pointer in example program before trusting it. | Linus Nordberg | 2011-02-04 | 1 | -5/+6 |
| | |||||
* | Handle more read, write and packet verification errors. | Linus Nordberg | 2011-02-04 | 1 | -42/+75 |
| | | | | Still some aborts left. | ||||
* | Add and use rs_debug() instead of fprintf to stderr. | Linus Nordberg | 2011-02-04 | 3 | -9/+31 |
| | |||||
* | Don't consume sent packets. | Linus Nordberg | 2011-02-04 | 1 | -2/+0 |
| | | | | | | | A sent packet is a fine thing to have when you're verifying the Response Authenticator. We could solve this by having an upper layer saving only the Request Authenticator somewhere instead the whole packet and we might just do that at some point which is not now. | ||||
* | Pick usage of struct request in example code at run time. | Linus Nordberg | 2011-02-02 | 2 | -23/+29 |
| | |||||
* | Reorder function prototypes. | Linus Nordberg | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | Disable some debug printout in tests. | Linus Nordberg | 2011-02-02 | 1 | -1/+1 |
| | |||||
* | Replace some code for debug printouts. | Linus Nordberg | 2011-02-02 | 1 | -63/+8 |
| | |||||
* | Remove unused Makefile. | linus | 2011-01-21 | 1 | -10/+0 |
| | |||||
* | Generate tests/Makefile. | linus | 2011-01-21 | 1 | -1/+2 |
| |