summaryrefslogtreecommitdiff
path: root/lib/include/radsec/radsec.h
Commit message (Collapse)AuthorAgeFilesLines
* Add formal argument 'secret' to two public functions.Linus Nordberg2012-12-171-3/+5
| | | | | | | | | | The functions are rs_packet_create_authn_request() and rs_request_create_authn(). Attributes of type PW_USER_PASSWORD are supposed to be MD5 obfuscated (see vp2data_any()). NOTE: This is a non-backward compatible API change.
* Merge libradsec-new-client.Linus Nordberg2012-04-271-28/+295
|\
| * add rs_attr_display_name/rs_attr_parse_nameLuke Howard2011-11-141-4/+53
| |
| * port new RADIUS library to WindowsLuke Howard2011-11-141-3/+13
| | | | | | | | | | | | | | | | Conflicts: lib/configure.ac lib/include/radsec/radsec.h lib/radius/client.h
| * remove rs_context_init_freeradius_dictLuke Howard2011-11-141-14/+0
| |
| * port to new RADIUS client libraryLuke Howard2011-11-141-12/+234
| |
* | Add an error code.Linus Nordberg2012-04-261-0/+1
| | | | | | | | Also add error text for missing RSE_CRED.
* | Implement TLS-PSK.Linus Nordberg2012-01-311-0/+1
|/
* Define RS_FREERADIUS_DICT and use it when missing "dictionary" in config.Linus Nordberg2011-03-211-0/+6
|
* API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.Linus Nordberg2011-03-211-6/+18
| | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g.
* Remove struct rs_attr and all use of it.Linus Nordberg2011-03-141-17/+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.
* Add Doxygen documentation for public API.Linus Nordberg2011-03-131-4/+141
|
* Add RSE_DISCO.Linus Nordberg2011-03-091-0/+1
|
* Update rs_err_msg() prototype.Linus Nordberg2011-03-081-2/+2
| | | | | Also, rename enum rs_err_code to not collide with the function named the same.
* Timeout implemented in request objects, supported by TCP.Linus Nordberg2011-03-081-3/+6
| | | | TODO: UDP.
* Be consistent with naming of formal arguments.Linus Nordberg2011-03-021-1/+1
|
* Error handling cleanup 3.Linus Nordberg2011-03-011-1/+2
| | | | Split timeout errors in connecting and I/O.
* Error handling cleanupLinus Nordberg2011-03-011-1/+0
| | | | | Remove RSE_SOME_ERROR. rs_tls_init: Push SSL error stack on libradsec error stack.
* Add RSE_INVAL.Linus Nordberg2011-03-011-0/+1
|
* Remove last trace of server and client in API.Linus Nordberg2011-02-281-5/+5
|
* Rename relevant functions to reflect authn as opposed to authz.Linus Nordberg2011-02-281-4/+4
| | | | Also add a "bare" create request function.
* API changes: rs_client* --> rs_peer.Linus Nordberg2011-02-281-7/+7
| | | | | Move peer (former server) things to new file peer.c. Update examples.
* Cosmetic header file changes.Linus Nordberg2011-02-281-28/+39
|
* Config file changes and small API changes.Linus Nordberg2011-02-241-1/+3
| | | | | | | | '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 Nordberg2011-02-191-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 Nordberg2011-02-041-4/+4
|
* API breakage -- rename rs_packet_create_acc_request().linus2011-01-211-5/+6
|
* Add extern "C" guards to all header files.Linus Nordberg2010-11-111-0/+8
|
* Bringing up TLS connections working.Linus Nordberg2010-11-111-0/+2
| | | | | | | 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 libradsecLinus Nordberg2010-10-111-0/+3
|\ | | | | | | | | | | 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-111-0/+1
| |
| * Request object implementation and bug fixes by Luke Howard.Linus Nordberg2010-10-111-0/+2
| |
* | Don't require username & pw in rs_packet_create_acc_request().Linus Nordberg2010-10-101-2/+2
|/
* Add rs_conn_fd().Linus Nordberg2010-10-051-0/+1
|
* Rename struct rs_handle --> rs_context.Linus Nordberg2010-10-051-10/+12
|
* Remove unused.Linus Nordberg2010-10-041-3/+0
|
* Formatting (indent -kr).Linus Nordberg2010-10-041-26/+44
|
* WIP -- reading configuration.Linus Nordberg2010-10-041-1/+2
|
* WIPLinus Nordberg2010-10-031-8/+12
|
* WIPLinus Nordberg2010-10-031-4/+5
|
* Rename the error functions.Linus Nordberg2010-10-031-6/+6
|
* WIPLinus Nordberg2010-10-031-0/+122