summaryrefslogtreecommitdiff
path: root/lib/packet.c
Commit message (Collapse)AuthorAgeFilesLines
* Bringing up TLS connections working.Linus Nordberg2010-11-111-4/+58
| | | | | | | 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-35/+94
|\ | | | | | | | | | | 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-5/+36
| |
| * Request object implementation and bug fixes by Luke Howard.Linus Nordberg2010-10-111-26/+38
| |
| * Compile again after bad fixes.Linus Nordberg2010-10-101-5/+4
| |
| * Robustness fixes (and some callback invocation) by Luke Howard.Linus Nordberg2010-10-101-8/+31
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Don't require username & pw in rs_packet_create_acc_request().Linus Nordberg2010-10-101-7/+14
|/
* Disable debug printouts.Linus Nordberg2010-10-051-3/+1
|
* Parameterize and disable libevent debug printouts.Linus Nordberg2010-10-051-0/+3
|
* Rename the error functions.Linus Nordberg2010-10-031-11/+11
|
* WIP -- prepare for request objects.Linus Nordberg2010-10-031-2/+5
|
* WIPLinus Nordberg2010-10-031-10/+16
|
* WIPLinus Nordberg2010-10-031-49/+121
|
* WIP.Linus Nordberg2010-10-021-2/+2
|
* WIPLinus Nordberg2010-10-021-32/+44
|
* WIPLinus Nordberg2010-10-011-8/+12
|
* WIP -- example client sending and receiving Access-Request/Accept.Linus Nordberg2010-10-011-16/+98
|
* Refactoring in preparation for handling more cases than client sending one ↵Linus Nordberg2010-09-291-21/+109
| | | | packet.
* WIP -- connecting and sending a packet using libevent.Linus Nordberg2010-09-291-12/+76
|
* WIP -- resolving, crafting packet.Linus Nordberg2010-09-291-6/+7
|
* WIPLinus Nordberg2010-09-281-2/+4
|
* WIP.Linus Nordberg2010-09-281-12/+27
|
* WIPLinus Nordberg2010-09-271-0/+77