summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add docstrings and a comment.Linus Nordberg2013-01-221-3/+15
|
* Remove unnecessary #includes.Linus Nordberg2013-01-221-5/+1
|
* Whitespace.Linus Nordberg2013-01-221-1/+1
|
* Compile with -Werror.Linus Nordberg2013-01-224-4/+4
|
* Remove incorrect build instruction from HACKING.Linus Nordberg2013-01-221-1/+0
|
* Add md5.[ch] for when we are configured without OpenSSL.Linus Nordberg2013-01-224-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 Nordberg2013-01-2220-28/+357
|
* Update README and HACKING.libradsec-new-clientLinus Nordberg2013-01-212-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 Nordberg2013-01-161-4/+5
|
* Define WITHOUT_OPENSSL if we don't have openssl.Linus Nordberg2012-12-191-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 Nordberg2012-12-191-2/+2
| | | | #error messages.
* Remove generated autotools files.Linus Nordberg2012-12-1912-21531/+4
|
* Rename COPYING -> LICENSE.Linus Nordberg2012-12-1945-48/+50
| | | | And distribute LICENSE and HACKING.
* Remove the option to use GPLv2 as the license.Linus Nordberg2012-12-1811-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 Nordberg2012-12-181-2/+2
|
* Whitespace.Linus Nordberg2012-12-181-3/+3
|
* Include <sys/types.h> for Junos.Linus Nordberg2012-12-182-0/+2
| | | | Fix from Luke Howard.
* Whitespace.Linus Nordberg2012-12-171-1/+1
|
* Add formal argument 'secret' to two public functions.Linus Nordberg2012-12-175-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 Nordberg2012-12-171-1/+1
|
* Example code: Don't create rs_error on failing context creation.Linus Nordberg2012-12-171-4/+5
| | | | We don't export err_create() and the error is ENOMEM nowadays.
* Docu: Fix libevent url.Linus Nordberg2012-12-171-1/+1
|
* Docu: Remove dependency on libradius.Linus Nordberg2012-12-171-2/+1
|
* Fix language.Linus Nordberg2012-12-121-2/+2
|
* Merge libradsec-new-client.Linus Nordberg2012-04-2770-1463/+11403
|\
| * Update copyright to JANET(UK)Luke Howard2012-03-311-1/+1
| |
| * fix dangling reference to dictionary pointerLuke Howard2011-12-011-1/+4
| |
| * add MS-Windows-Group-SidLuke Howard2011-12-011-0/+1
| |
| * small cleanupsLuke Howard2011-11-141-7/+14
| |
| * add rs_attr_display_name/rs_attr_parse_nameLuke Howard2011-11-145-4/+153
| |
| * remove dictionary configuration parameterLuke Howard2011-11-143-6/+0
| |
| * remove rs_packet_frpktLuke Howard2011-11-145-16/+3
| |
| * port new RADIUS library to WindowsLuke Howard2011-11-1412-27/+131
| | | | | | | | | | | | | | | | Conflicts: lib/configure.ac lib/include/radsec/radsec.h lib/radius/client.h
| * don't return in void functionLuke Howard2011-11-141-1/+0
| | | | | | | | | | | | Conflicts: lib/NTMakefile
| * don't return in void functionLuke Howard2011-11-141-1/+1
| |
| * don't use GCC extensions in generated codeLuke Howard2011-11-142-25/+37
| |
| * remove rs_context_init_freeradius_dictLuke Howard2011-11-144-51/+0
| |
| * port to new RADIUS client libraryLuke Howard2011-11-1458-3796/+3028
| |
| * add new RADIUS client libraryLuke Howard2011-11-1332-0/+10504
| |
* | Verify certificate CN against configured hostname.Linus Nordberg2012-04-263-3/+21
| | | | | | | | NOTE: The subjectAltName check is not well tested.
* | Implement cert verification.Linus Nordberg2012-04-264-118/+85
| | | | | | | | NOTE: Not used yet.
* | Handle failing rs_context_create().Linus Nordberg2012-04-261-1/+7
| |
* | Use existing temporary variable conn.Linus Nordberg2012-04-261-4/+4
| |
* | Add an error code.Linus Nordberg2012-04-262-0/+3
| | | | | | | | Also add error text for missing RSE_CRED.
* | Don't resolve DNS names in rs_peer_set_address().Linus Nordberg2012-04-261-6/+8
| | | | | | | | It simply stores (a copy of) hostname and service name in PEER.
* | Use rs_strdup().Linus Nordberg2012-04-261-2/+3
| |
* | Add util.h and util.c.Linus Nordberg2012-04-263-2/+26
| |
* | Follow name change of rs_resolv().Linus Nordberg2012-04-261-2/+2
| |
* | Add missing radsec.h.Linus Nordberg2012-04-251-0/+7
| |
* | Postpone resolving of DNS names of server.Linus Nordberg2012-04-255-26/+35
| | | | | | | | | | | | | | | | | | | | We used to resolve DNS names when reading configuration. We now do it in event_init_socket() and cache the result in the connection object. The imminent need for changing this is to keep host names around for X509 certificate verification (CNAME and subjectAltName). This will also help later when we implement server failover (and later, when people want to do more dynamic configuration, f.ex. NAPTR).