summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Handle more read, write and packet verification errors.Linus Nordberg2011-02-041-42/+75
| | | | Still some aborts left.
* Add and use rs_debug() instead of fprintf to stderr.Linus Nordberg2011-02-043-9/+31
|
* Don't consume sent packets.Linus Nordberg2011-02-041-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 Nordberg2011-02-022-23/+29
|
* Reorder function prototypes.Linus Nordberg2011-02-021-1/+1
|
* Disable some debug printout in tests.Linus Nordberg2011-02-021-1/+1
|
* Replace some code for debug printouts.Linus Nordberg2011-02-021-63/+8
|
* Update release info to avoid confusion.Linus Nordberg2011-02-012-2/+2
|
* Remove unused Makefile.linus2011-01-211-10/+0
|
* New versions of config.guess and config.sub.linus2011-01-212-103/+93
|
* Generate tests/Makefile.linus2011-01-211-1/+2
|
* Compile with -Wall and -g.linus2011-01-211-0/+1
|
* Some more UDP tests.linus2011-01-217-103/+154
|
* Follow API changes.linus2011-01-211-3/+3
|
* API breakage -- rename rs_packet_create_acc_request().linus2011-01-212-38/+39
|
* Fix bug where one or two stanzas in a config file would be but not more.linus2011-01-212-44/+60
| | | | Also restructure error handling in rs_context_create().
* Cosmetic changes to conf.c.linus2011-01-201-2/+2
|
* Improve error message.linus2011-01-201-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.linus2011-01-203-7/+6
|
* Add basic testing code.linus2011-01-196-0/+271
|
* Cosmetic changes.linus2011-01-172-1/+2
|
* Update copyright years.linus2011-01-171-1/+1
|
* Use standard RadSec port in example config.Linus Nordberg2010-11-111-1/+1
|
* Add extern "C" guards to all header files.Linus Nordberg2010-11-1111-0/+89
|
* Do print generic error strings.Linus Nordberg2010-11-111-21/+21
|
* Remove spurious comment.Linus Nordberg2010-11-111-1/+0
|
* Disable debugging.Linus Nordberg2010-11-111-1/+1
|
* Build even when not configured with `--enable-tls'.Linus Nordberg2010-11-113-16/+22
|
* Bringing up TLS connections working.Linus Nordberg2010-11-1128-56/+323
| | | | | | | 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 Nordberg2010-11-081-6/+7
|
* Use the request object in example programs.Linus Nordberg2010-10-281-1/+1
|
* "Thou shalt not follow the NULL pointer, for chaos and madness awaitLinus Nordberg2010-10-281-6/+10
| | | | thee at its end."
* Move connection related functions to conn.c.Linus Nordberg2010-10-193-135/+142
|
* Revert "Require Autoconf 2.68 since 2.65 doesn't work on OSX."Linus Nordberg2010-10-161-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 Nordberg2010-10-161-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 Nordberg2010-10-151-0/+8
|
* Merge branch 'merge-luke' into libradsecLinus Nordberg2010-10-118-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.
| * Have rad_decode() verify responses.Luke Howard2010-10-116-140/+49
| |
| * Request object implementation and bug fixes by Luke Howard.Linus Nordberg2010-10-116-32/+220
| |
| * Compile again after bad fixes.Linus Nordberg2010-10-101-5/+4
| |
| * Cosmetics.Linus Nordberg2010-10-101-1/+1
| |
| * Robustness fixes (and some callback invocation) by Luke Howard.Linus Nordberg2010-10-102-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | * 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 Nordberg2010-10-103-7/+11
| | | | | | | | Contributed by Luke Howard.
* | Add stuff to .gitignore.Linus Nordberg2010-10-101-1/+13
| |
* | Don't require username & pw in rs_packet_create_acc_request().Linus Nordberg2010-10-102-9/+16
|/
* Fail at configure time rather than build time when missing a library.Linus Nordberg2010-10-091-3/+6
|
* #include assert.h.Linus Nordberg2010-10-051-0/+1
|
* Add rs_conn_fd().Linus Nordberg2010-10-052-0/+8
|
* More info to README and HACKING.Linus Nordberg2010-10-053-21/+46
|
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-056-40/+55
|