summaryrefslogtreecommitdiff
path: root/lib/request.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Add formal argument 'secret' to two public functions."Linus Nordberg2013-05-081-3/+2
| | | | | | | This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-191-1/+1
| | | | And distribute LICENSE and HACKING.
* Add formal argument 'secret' to two public functions.Linus Nordberg2012-12-171-2/+3
| | | | | | | | | | 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.
* port to new RADIUS client libraryLuke Howard2011-11-141-2/+2
|
* Remove unused resp_msg from struct request.Linus Nordberg2011-03-141-2/+5
|
* Add rs_request_get_reqmsg() and update documentation.Linus Nordberg2011-03-141-2/+11
|
* Add Doxygen documentation for public API.Linus Nordberg2011-03-131-2/+2
|
* Use retransmisison timer in request object.Linus Nordberg2011-03-091-7/+10
|
* Timeout implemented in request objects, supported by TCP.Linus Nordberg2011-03-081-10/+62
| | | | TODO: UDP.
* Requests are now high level, i.e. not for user doing the dispatching.Linus Nordberg2011-03-071-60/+7
|
* Formatting changes.Linus Nordberg2011-03-071-2/+2
|
* request: Save callers user_data and do invoke callers callbacks.Linus Nordberg2011-03-061-9/+30
|
* Replace asserts with EINVAL checks.Linus Nordberg2011-03-061-9/+3
|
* 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.
* rs_request_send: Check arguments and that we have a packet to send.Linus Nordberg2011-03-011-0/+3
|
* Add asserts to request object.Linus Nordberg2011-02-281-1/+4
|
* Rename relevant functions to reflect authn as opposed to authz.Linus Nordberg2011-02-281-3/+22
| | | | Also add a "bare" create request function.
* API change. Have the request object create its own request message.Linus Nordberg2011-02-251-9/+13
|
* Improve protocol robustness and invoke user callbacks.Linus Nordberg2011-02-191-1/+1
| | | | | | | | | | | | 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.
* Bringing up TLS connections working.Linus Nordberg2010-11-111-4/+8
| | | | | | | 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.
* Have rad_decode() verify responses.Luke Howard2010-10-111-125/+1
|
* Request object implementation and bug fixes by Luke Howard.Linus Nordberg2010-10-111-5/+172
|
* Rename rs_req_* --> rs_request_.Linus Nordberg2010-10-101-2/+6
| | | | Contributed by Luke Howard.
* Rename the error functions.Linus Nordberg2010-10-031-1/+1
|
* WIP -- prepare for request objects.Linus Nordberg2010-10-031-0/+46