Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Export rs_packet_add_avp() and set library revision.libradsec-add-avp-2 | Linus Nordberg | 2013-05-08 | 2 | -1/+2 |
| | | | | | Correct library revision is 1:0:1, given that the last "released" library was 0:0:0. (The current 1:0:0 is wrong.) | ||||
* | Add rs_packet_add_avp() and use it. | Linus Nordberg | 2013-05-08 | 3 | -4/+59 |
| | | | | | | | | | | | | | rs_packet_create_authn_request() now uses rs_packet_add_avp() instead of rs_packet_append_avp() which makes it possible to create a authentication packet without knowing the shared secret. Calling rs_packet_add_avp() on a packet is incompatible with using rs_packet_append_avp() on the same packet but since rs_packet_create_authn_request() adds attribute-value pairs for user name and password only if those arguments are supplied, code that doesn't use user name and password (i.e. mech_eap) should still be fine. | ||||
* | Revive RSE_MAX. | Linus Nordberg | 2013-05-08 | 1 | -0/+1 |
| | | | | It's being used after all. | ||||
* | Add an assert in error handling code. | Linus Nordberg | 2013-05-08 | 1 | -0/+2 |
| | |||||
* | Remove an unused error code and unusued RSE_MAX. | Linus Nordberg | 2013-05-08 | 2 | -50/+0 |
| | | | | Also, remove unused file attr.c. | ||||
* | Follow API change in tests. | Linus Nordberg | 2013-05-08 | 1 | -5/+3 |
| | |||||
* | Revert "Add formal argument 'secret' to two public functions." | Linus Nordberg | 2013-05-08 | 5 | -21/+12 |
| | | | | | | | This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h | ||||
* | Add and fix RADIUS attributes (4b9e4cb1, e4b6e972). | Sam Hartman | 2013-05-07 | 3 | -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 Nordberg | 2013-05-07 | 1 | -1/+1 |
| | | | | Patch by Sam Hartman (ff1af013 in moonshot). | ||||
* | Use CUnit for tests. | Linus Nordberg | 2013-05-06 | 7 | -78/+71 |
| | | | | cgreen didn't seem properly maintained. CUnit seems to be widely used. | ||||
* | Bump library interface revision. | Linus Nordberg | 2013-05-06 | 1 | -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 Nordberg | 2013-05-06 | 2 | -2/+2 |
| | |||||
* | Improve documentation. | Linus Nordberg | 2013-01-29 | 1 | -8/+13 |
| | |||||
* | Remove dead code. | Linus Nordberg | 2013-01-28 | 2 | -10/+1 |
| | |||||
* | Update HACKING with a rough road map. | Linus Nordberg | 2013-01-25 | 1 | -5/+6 |
| | |||||
* | Add PSK example in examples/client.conf. | Linus Nordberg | 2013-01-24 | 1 | -4/+15 |
| | |||||
* | Do the test for PSK properly. | Linus Nordberg | 2013-01-24 | 1 | -3/+1 |
| | | | | Fixes 823ea9ba. | ||||
* | Add two helper functions to conn.[ch]. | Linus Nordberg | 2013-01-24 | 2 | -0/+17 |
| | |||||
* | Order functions properly in conn.c. | Linus Nordberg | 2013-01-24 | 2 | -18/+20 |
| | |||||
* | Don't verify server certificate if we're using PSK. | Linus Nordberg | 2013-01-24 | 1 | -2/+3 |
| | |||||
* | Add missing key files to demoCA. | Linus Nordberg | 2013-01-24 | 2 | -0/+18 |
| | |||||
* | Rename rs_packet_flags members. | Linus Nordberg | 2013-01-24 | 4 | -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 Nordberg | 2013-01-23 | 8 | -131/+105 |
| | | | | Update examples config file accordingly. | ||||
* | Handle case where config hasn't yet been read better. | Linus Nordberg | 2013-01-23 | 1 | -2/+4 |
| | | | | Don't segfault is a good start. | ||||
* | Add some info on usage modes. | Linus Nordberg | 2013-01-23 | 2 | -9/+27 |
| | |||||
* | Add docstrings and a comment. | Linus Nordberg | 2013-01-22 | 1 | -3/+15 |
| | |||||
* | Remove unnecessary #includes. | Linus Nordberg | 2013-01-22 | 1 | -5/+1 |
| | |||||
* | Whitespace. | Linus Nordberg | 2013-01-22 | 1 | -1/+1 |
| | |||||
* | Compile with -Werror. | Linus Nordberg | 2013-01-22 | 4 | -4/+4 |
| | |||||
* | Remove incorrect build instruction from HACKING. | Linus Nordberg | 2013-01-22 | 1 | -1/+0 |
| | |||||
* | Add md5.[ch] for when we are configured without OpenSSL. | Linus Nordberg | 2013-01-22 | 4 | -22/+347 |
| | | | | | | | | | | | This is Solar Designers implementation from http://openwall.info/wiki/people/solar/software/public-domain-source-code/md5 . RS_MD5Transform goes away since it's not in md5.h. It's not used in lib/radius/. Might want to move this into lib/radius/ if we end up not using it in lib/. | ||||
* | Revive radsecproxy.h and hostport_types.h and move rsp_* into radsecproxy/. | Linus Nordberg | 2013-01-22 | 20 | -28/+357 |
| | |||||
* | Clean up top dir. | Linus Nordberg | 2013-01-22 | 56 | -21398/+4 |
| | |||||
* | Merge branch 'libradsec-new-client' into libradsec | Linus Nordberg | 2013-01-21 | 101 | -21532/+9918 |
|\ | |||||
| * | Update README and HACKING.libradsec-new-client | Linus Nordberg | 2013-01-21 | 2 | -22/+23 |
| | | | | | | | | | | | | | | | | | | | | Whitespace fixes. Say Debian instead of Ubuntu. Update versions of library dependencies. HACKING: Revive the "fully reentrant" design goal. Admit that we don't implement a server API. | ||||
| * | Fix a doc comment. | Linus Nordberg | 2013-01-16 | 1 | -4/+5 |
| | | |||||
| * | Define WITHOUT_OPENSSL if we don't have openssl. | Linus Nordberg | 2012-12-19 | 1 | -0/+4 |
| | | | | | | | | | | | | | | This is for radius/client.h. We will want an alternative way of getting MD5. Include md5.[ch] from FreeBSD? Link with libnettle? | ||||
| * | Fix typos. | Linus Nordberg | 2012-12-19 | 1 | -2/+2 |
| | | | | | | | | #error messages. | ||||
| * | Remove generated autotools files. | Linus Nordberg | 2012-12-19 | 12 | -21531/+4 |
| | | |||||
| * | Rename COPYING -> LICENSE. | Linus Nordberg | 2012-12-19 | 45 | -48/+50 |
| | | | | | | | | And distribute LICENSE and HACKING. | ||||
| * | Remove the option to use GPLv2 as the license. | Linus Nordberg | 2012-12-18 | 11 | -78/+31 |
| | | | | | | | | | | | | | | This follows the changes to the upstream radsecproxy repository. Also, Stig Venaas is removed from all copyright, replaced by UNINETT. Add JANET as copyright holder (avp.c). | ||||
| * | Config docu. | Linus Nordberg | 2012-12-18 | 1 | -2/+2 |
| | | |||||
| * | Whitespace. | Linus Nordberg | 2012-12-18 | 1 | -3/+3 |
| | | |||||
| * | Include <sys/types.h> for Junos. | Linus Nordberg | 2012-12-18 | 2 | -0/+2 |
| | | | | | | | | Fix from Luke Howard. | ||||
| * | Whitespace. | Linus Nordberg | 2012-12-17 | 1 | -1/+1 |
| | | |||||
| * | Add formal argument 'secret' to two public functions. | Linus Nordberg | 2012-12-17 | 5 | -10/+18 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
| * | Example code: Print a little bit more helpful information on failure. | Linus Nordberg | 2012-12-17 | 1 | -1/+1 |
| | | |||||
| * | Example code: Don't create rs_error on failing context creation. | Linus Nordberg | 2012-12-17 | 1 | -4/+5 |
| | | | | | | | | We don't export err_create() and the error is ENOMEM nowadays. | ||||
| * | Docu: Fix libevent url. | Linus Nordberg | 2012-12-17 | 1 | -1/+1 |
| | | |||||
| * | Docu: Remove dependency on libradius. | Linus Nordberg | 2012-12-17 | 1 | -2/+1 |
| | |