summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Alphabetise radsec.sym.libradsec-server-supportLinus Nordberg2013-05-151-2/+2
|
* Merge branch 'libradsec' into libradsec-server-supportLinus Nordberg2013-05-1557-376/+471
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Don't crash on reading invalid messages.Linus Nordberg2013-05-154-37/+40
| | | | | | | | | | Also, invoke disconnected callback and close connection in error cases.
| * Whitespace changes in license headers.Linus Nordberg2013-05-0915-15/+15
| |
| * Update copyright years.Linus Nordberg2013-05-0918-31/+35
| |
| * Include stdlib.h everywhere we call (m|c)alloc.Linus Nordberg2013-05-093-2/+5
| |
| * Use malloc+memcpy rather than calloc+strcpy in rs_strdup.Linus Nordberg2013-05-091-5/+10
| | | | | | | | For effiency (but triggered by calloc needing unistd.h on Darwin).
| * Revert "Bump library interface revision."Linus Nordberg2013-05-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So there were two things wrong with that commit. 1. Library interface revision should be bumped only immediately before a public release. 2. Given the changes in the library, it should change to 0:1:0 since the interface didn't change (including not being extended). This reverts commit b9e967b3cde6af41cd0e863e9ff073897019625a. Conflicts: lib/Makefile.am
| * Clarify and reformat comments on how to use Libtool's -version-info.Linus Nordberg2013-05-081-10/+10
| |
| * Pass make distcheck.Linus Nordberg2013-05-085-12/+19
| |
| * Don't include tests in SUBIDRS after all.Linus Nordberg2013-05-081-1/+2
| | | | | | | | | | It requires a running radius server. That's not a nice thing to require for something like distcheck.
| * Initial RPM packagingLinus Nordberg2013-05-083-5/+97
| | | | | | | | | | | | | | | | | | | | | | Adapted from commit 8ff4e9ab2308fc6ee1e9b140d85ba45eff5287ce Author: Sam hartman <hartmans@painless-security.com> Date: Mon Oct 10 15:25:11 2011 +0100 Conflicts: lib/Makefile.am lib/configure.ac
| * Add a few bits to README.Linus Nordberg2013-05-081-8/+23
| |
| * Exit tests with number of failures.Linus Nordberg2013-05-081-2/+4
| | | | | | | | Now 'make check' really fails when a test fails.
| * Add 'tests' to SUBDIRS to make 'make check' work.Linus Nordberg2013-05-081-1/+1
| |
| * Constify the MD5 implementation.Linus Nordberg2013-05-082-4/+4
| |
| * Push an error on the error stack when returning !RSE_OK.Linus Nordberg2013-05-081-1/+1
| |
| * Revive RSE_MAX.Linus Nordberg2013-05-081-0/+1
| | | | | | | | It's being used after all.
| * Add an assert in error handling code.Linus Nordberg2013-05-081-0/+2
| |
| * Remove an unused error code and unusued RSE_MAX.Linus Nordberg2013-05-082-50/+0
| | | | | | | | Also, remove unused file attr.c.
| * Follow API change in tests.Linus Nordberg2013-05-081-5/+3
| |
| * Revert "Add formal argument 'secret' to two public functions."Linus Nordberg2013-05-085-21/+12
| | | | | | | | | | | | | | This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h
| * Add and fix RADIUS attributes (4b9e4cb1, e4b6e972).Sam Hartman2013-05-073-5/+12
| | | | | | | | | | | | | | | | | | Fix capitalization in abfab dictionary Update to IETF RADIUS attributes draft-ietf-abfab-gss-eap has been approved; include IANA-issued standard radius attributes for Moonshot. Fix capitalization in abfab dictionary
| * Build include before building '.'Linus Nordberg2013-05-071-1/+1
| | | | | | | | Patch by Sam Hartman (ff1af013 in moonshot).
| * Use CUnit for tests.Linus Nordberg2013-05-067-78/+71
| | | | | | | | cgreen didn't seem properly maintained. CUnit seems to be widely used.
| * Bump library interface revision.Linus Nordberg2013-05-061-1/+1
| | | | | | | | | | | | | | Commit edf4c047 claimed it did this but didn't really do it. Should really have been done as part of bumping the library version (0.0.2.dev in configure.ac).
| * Bump version to 0.0.4.dev to keep ahead of moonshot.Linus Nordberg2013-05-062-2/+2
| |
| * Improve documentation.Linus Nordberg2013-01-291-8/+13
| |
| * Remove dead code.Linus Nordberg2013-01-282-10/+1
| |
| * Update HACKING with a rough road map.Linus Nordberg2013-01-251-5/+6
| |
| * Add PSK example in examples/client.conf.Linus Nordberg2013-01-241-4/+15
| |
| * Do the test for PSK properly.Linus Nordberg2013-01-241-3/+1
| | | | | | | | Fixes 823ea9ba.
| * Add two helper functions to conn.[ch].Linus Nordberg2013-01-242-0/+17
| |
| * Order functions properly in conn.c.Linus Nordberg2013-01-242-18/+20
| |
| * Don't verify server certificate if we're using PSK.Linus Nordberg2013-01-241-2/+3
| |
| * Add missing key files to demoCA.Linus Nordberg2013-01-242-0/+18
| |
| * Rename rs_packet_flags members.Linus Nordberg2013-01-244-11/+11
| | | | | | | | | | | | | | | | | | Uppercase to make them appear as the constants they are, as opposed to variables. Remove 'flag' suffix, typically used for variables. Spell out HEADER.
| * New demo CA for tests.Linus Nordberg2013-01-238-131/+105
| | | | | | | | Update examples config file accordingly.
| * Handle case where config hasn't yet been read better.Linus Nordberg2013-01-231-2/+4
| | | | | | | | Don't segfault is a good start.
* | WIP commit moving towards working server support.Linus Nordberg2013-05-1529-358/+959
| |
* | Use malloc+memcpy rather than calloc+strcpy in rs_strdup.Linus Nordberg2013-05-101-5/+9
| | | | | | | | | | | | | | For effiency (but triggered by calloc needing unistd.h on Darwin). Conflicts: lib/util.c
* | Revamping for listeners.Linus Nordberg2013-03-0117-202/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Split rs_connection into rs_baseconn plus rs_connection and rs_listener. Connections now has a state variable. Connect buffer event and fd of _source_ connection, not that of conn->active_peer. The connection object referred to by a peer is not meant for using as a connection, only for reporting errors on. Make sure things are sane even when not using a config file. Bump library interface version to 1.0.0 since it's changed.
* | READMELinus Nordberg2013-02-191-4/+7
| |
* | WIP commit for listener support.Linus Nordberg2013-02-1920-185/+333
| |
* | Do the test for PSK properly.Linus Nordberg2013-02-181-3/+1
| | | | | | | | | | | | | | Fixes 823ea9ba. Conflicts: lib/event.c
* | Add two helper functions to conn.[ch].Linus Nordberg2013-02-182-0/+19
| |
* | Order functions properly in conn.c.Linus Nordberg2013-02-182-18/+20
| |
* | Compare pointer with NULL rather than autopromote to int.Linus Nordberg2013-02-141-1/+1
| |
* | Parenthesise arguments to helper macros.Linus Nordberg2013-02-141-9/+10
| |
* | Add the dummy server example.Linus Nordberg2013-02-112-6/+86
| | | | | | | | This is not a server. It's just testing server config atm.