summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Compile confutil.c too.Linus Nordberg2013-02-111-0/+1
|
* Add a warning about this branch to README.Linus Nordberg2013-02-112-3/+9
|
* Add support for configuring client connections too.Linus Nordberg2013-02-118-109/+341
| | | | | | | | We're moving x509 and psk config from rs_realm to rs_peer while allowing these to be configured on the realm level and overriden at peer level. Also, add support for printing the read configuration, for debugging.
* Bump version number.Linus Nordberg2013-01-291-1/+1
|
* Remove dead code.libradsec-user-dispatchLinus Nordberg2013-01-282-10/+1
|
* Update HACKING with a rough road map.Linus Nordberg2013-01-251-5/+6
|
* Bump version to 0.1.0-dev.Linus Nordberg2013-01-251-1/+1
|
* Don't verify server certificate if we're using PSK.Linus Nordberg2013-01-241-2/+3
|
* Merge branch 'rename-packet-to-message' into libradsec-user-dispatchLinus Nordberg2013-01-2422-339/+360
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: lib/include/radsec/radsec.h Original commit message (1e3a2613): Rename most 'package' to 'message'. 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 most 'package' to 'message'.Linus Nordberg2013-01-2421-317/+331
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * s/packet/message take oneLinus Nordberg2013-01-241-21/+28
| |
* | Add CHANGES.Linus Nordberg2013-01-242-0/+9
| | | | | | | | It's just a skeleton.
* | user dispatch WIP 0Linus Nordberg2013-01-247-12/+259
|/
* 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.
* Handle case where config hasn't yet been read better.Linus Nordberg2013-01-231-2/+4
| | | | Don't segfault is a good start.
* Add some info on usage modes.Linus Nordberg2013-01-232-9/+27
|
* 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
|