summaryrefslogtreecommitdiff
path: root/lib/request.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'libradsec' into libradsec-server-supportLinus Nordberg2013-05-151-4/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Update copyright years.Linus Nordberg2013-05-091-2/+2
| |
| * 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
* | WIP commit moving towards working server support.Linus Nordberg2013-05-151-3/+3
| |
* | WIP commit for listener support.Linus Nordberg2013-02-191-4/+4
| |
* | Rename most 'package' to 'message'.Linus Nordberg2013-01-241-9/+9
|/ | | | | | | | | | | | | 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.
* 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