summaryrefslogtreecommitdiff
path: root/lib/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'libradsec' into libradsec-server-supportLinus Nordberg2013-05-151-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/HACKING lib/Makefile.am lib/README lib/compat.h lib/conf.c lib/configure.ac lib/conn.c lib/conn.h lib/err.c lib/err.h lib/event.c lib/event.h lib/examples/Makefile.am lib/examples/client-blocking.c lib/examples/client.conf lib/include/radsec/radsec-impl.h lib/include/radsec/radsec.h lib/include/radsec/request-impl.h lib/include/radsec/request.h lib/packet.c lib/packet.h lib/peer.c lib/peer.h lib/request.c lib/send.c lib/tcp.c lib/tests/Makefile.am lib/tls.c lib/udp.c lib/util.c
| * Whitespace changes in license headers.Linus Nordberg2013-05-091-1/+1
| |
* | Rename most 'package' to 'message'.Linus Nordberg2013-01-241-3/+3
|/ | | | | | | | | | | | | RADIUS (RFC2865) is defined to be transported over UDP so the term "radius packet" makes a lot of sense. RADIUS/TCP (RFC6613) and RADIUS/TLS (RFC6614), a.k.a. RadSec, use stream transport protocols though. The term "message" doesn't imply any kind of transport -- a message can be sent using datagrams as well as in a stream. This (large) commit changes 'package' to 'message' where it makes sense. It does not touch the 'radius' subdirectory. It includes preprocessor directives (#define) to make the public interface compatible with previous releases of the library.
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Include <sys/types.h> for Junos.Linus Nordberg2012-12-181-0/+1
| | | | Fix from Luke Howard.
* port to new RADIUS client libraryLuke Howard2011-11-141-3/+3
|
* Remove struct rs_attr and all use of it.Linus Nordberg2011-03-141-6/+0
| | | | | | | A new API for attributes will be added once we've decided how to deal with RADIUS packets internally. For now, removing the half baked wrapping seems more sensible than trying to free rs_attr objects and their VALUE_PAIR's.
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-1/+2
| | | | Also, move copyright notice out of COPYING and into every file.
* Improve protocol robustness and invoke user callbacks.Linus Nordberg2011-02-191-3/+6
| | | | | | | | | | | | 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 and use rs_debug() instead of fprintf to stderr.Linus Nordberg2011-02-041-0/+17
|
* Replace some code for debug printouts.Linus Nordberg2011-02-021-63/+8
|
* Bringing up TLS connections working.Linus Nordberg2010-11-111-0/+4
| | | | | | | 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.
* WIP.Linus Nordberg2010-10-021-2/+2
|
* WIPLinus Nordberg2010-10-021-2/+2
|
* WIPLinus Nordberg2010-10-011-0/+2
|
* WIP.Linus Nordberg2010-09-281-0/+8
|
* WIPLinus Nordberg2010-09-271-0/+71