Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Compile with -Wall and -g. | linus | 2011-01-21 | 1 | -0/+1 |
| | |||||
* | Some more UDP tests. | linus | 2011-01-21 | 7 | -103/+154 |
| | |||||
* | Follow API changes. | linus | 2011-01-21 | 1 | -3/+3 |
| | |||||
* | API breakage -- rename rs_packet_create_acc_request(). | linus | 2011-01-21 | 2 | -38/+39 |
| | |||||
* | Fix bug where one or two stanzas in a config file would be but not more. | linus | 2011-01-21 | 2 | -44/+60 |
| | | | | Also restructure error handling in rs_context_create(). | ||||
* | Cosmetic changes to conf.c. | linus | 2011-01-20 | 1 | -2/+2 |
| | |||||
* | Improve error message. | linus | 2011-01-20 | 1 | -1/+1 |
| | | | | | Differentiate between an invalid connection type string in config file when parsing and unknown connection type (number) when connecting. | ||||
* | Rename external functions in UDP test files. | linus | 2011-01-20 | 3 | -7/+6 |
| | |||||
* | Add basic testing code. | linus | 2011-01-19 | 6 | -0/+271 |
| | |||||
* | Cosmetic changes. | linus | 2011-01-17 | 2 | -1/+2 |
| | |||||
* | Update copyright years. | linus | 2011-01-17 | 1 | -1/+1 |
| | |||||
* | Use standard RadSec port in example config. | Linus Nordberg | 2010-11-11 | 1 | -1/+1 |
| | |||||
* | Add extern "C" guards to all header files. | Linus Nordberg | 2010-11-11 | 11 | -0/+89 |
| | |||||
* | Do print generic error strings. | Linus Nordberg | 2010-11-11 | 1 | -21/+21 |
| | |||||
* | Remove spurious comment. | Linus Nordberg | 2010-11-11 | 1 | -1/+0 |
| | |||||
* | Disable debugging. | Linus Nordberg | 2010-11-11 | 1 | -1/+1 |
| | |||||
* | Build even when not configured with `--enable-tls'. | Linus Nordberg | 2010-11-11 | 3 | -16/+22 |
| | |||||
* | Bringing up TLS connections working. | Linus Nordberg | 2010-11-11 | 25 | -21/+1855 |
| | | | | | | | 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. | ||||
* | Don't ignore connection type configuration. | Linus Nordberg | 2010-11-08 | 1 | -6/+7 |
| | |||||
* | Use the request object in example programs. | Linus Nordberg | 2010-10-28 | 1 | -1/+1 |
| | |||||
* | "Thou shalt not follow the NULL pointer, for chaos and madness await | Linus Nordberg | 2010-10-28 | 1 | -6/+10 |
| | | | | thee at its end." | ||||
* | Move connection related functions to conn.c. | Linus Nordberg | 2010-10-19 | 3 | -135/+142 |
| | |||||
* | Revert "Require Autoconf 2.68 since 2.65 doesn't work on OSX." | Linus Nordberg | 2010-10-16 | 1 | -1/+1 |
| | | | | | | | That was wrong -- 2.65 is _not_ known to not work on OSX. (2.61 is known to not work on OSX but we don't care.) This reverts commit d726d4a61e0516b18df5903088e58d015c7cd1b8. | ||||
* | Require Autoconf 2.68 since 2.65 doesn't work on OSX. | Linus Nordberg | 2010-10-16 | 1 | -1/+1 |
| | | | | | | | | | With 2.65 on OSX, libradsec isn't linked correctly with libfreeradius-radius and libevent-core. The effect is that a program linking with -lradsec need to add the other two libraries on the link line as well. Whether 2.66 or 2.67 works on OSX is unknown. | ||||
* | Add stub. | Linus Nordberg | 2010-10-15 | 1 | -0/+8 |
| | |||||
* | Merge branch 'merge-luke' into libradsec | Linus Nordberg | 2010-10-11 | 8 | -53/+172 |
|\ | | | | | | | | | | | 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. |