summaryrefslogtreecommitdiff
path: root/lib/examples
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'libradsec' into libradsec-server-supportLinus Nordberg2013-05-152-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Pass make distcheck.Linus Nordberg2013-05-081-1/+1
| |
| * Revert "Add formal argument 'secret' to two public functions."Linus Nordberg2013-05-081-2/+2
| | | | | | | | | | | | | | This reverts commit 09d1cff2418a900b587b2113f508984f2417cc11. Conflicts: lib/include/radsec/request.h
| * Add PSK example in examples/client.conf.Linus Nordberg2013-01-241-4/+15
| |
| * New demo CA for tests.Linus Nordberg2013-01-231-6/+6
| | | | | | | | Update examples config file accordingly.
* | WIP commit moving towards working server support.Linus Nordberg2013-05-155-26/+133
| |
* | Revamping for listeners.Linus Nordberg2013-03-011-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | WIP commit for listener support.Linus Nordberg2013-02-191-6/+15
| |
* | Add the dummy server example.Linus Nordberg2013-02-112-6/+86
| | | | | | | | This is not a server. It's just testing server config atm.
* | Merge branch 'rename-packet-to-message' into libradsec-user-dispatchLinus Nordberg2013-01-241-9/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-241-9/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | user dispatch WIP 0Linus Nordberg2013-01-244-8/+225
|/
* Add some info on usage modes.Linus Nordberg2013-01-231-1/+1
|
* Remove unnecessary #includes.Linus Nordberg2013-01-221-5/+1
|
* Compile with -Werror.Linus Nordberg2013-01-221-1/+1
|
* Add formal argument 'secret' to two public functions.Linus Nordberg2012-12-171-2/+2
| | | | | | | | | | 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.
* Merge libradsec-new-client.Linus Nordberg2012-04-272-9/+3
|\
| * remove dictionary configuration parameterLuke Howard2011-11-141-2/+0
| |
| * remove rs_packet_frpktLuke Howard2011-11-141-3/+2
| |
| * remove rs_context_init_freeradius_dictLuke Howard2011-11-141-4/+0
| |
| * port to new RADIUS client libraryLuke Howard2011-11-141-1/+2
| |
* | Handle failing rs_context_create().Linus Nordberg2012-04-261-1/+7
| |
* | Implement TLS-PSK.Linus Nordberg2012-01-311-3/+4
| |
* | Be user friendly in example program.Linus Nordberg2012-01-241-0/+9
| |
* | Add TLS PSK configuration options.Linus Nordberg2012-01-241-0/+3
| |
* | Cosmetic changes.Linus Nordberg2012-01-191-3/+4
|/ | | | Better names of formal arguments in test program.
* examples/client.conf: Correct key file.Linus Nordberg2011-04-011-1/+1
|
* Don't install example programs.Linus Nordberg2011-03-251-1/+1
|
* Add tests/demoCA and use certs and key in there for the examples.Linus Nordberg2011-03-251-4/+3
|
* API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more.Linus Nordberg2011-03-213-16/+25
| | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g.
* Verify result in example program. Also, don't leak a package.Linus Nordberg2011-03-141-1/+9
|
* Don't double free in example code.Linus Nordberg2011-03-131-6/+2
|
* Change user name in example code.Linus Nordberg2011-03-131-1/+1
|
* Add (disabled) linkage to libefence.Linus Nordberg2011-03-081-1/+1
|
* examples/client-blocking: pull out the error before freeing conn.Linus Nordberg2011-03-081-1/+3
|
* Clean up struct rs_error somewhat.Linus Nordberg2011-03-081-1/+1
| | | | More to be done here!
* examples/client-blocking.c: Clean up and improve error handling.Linus Nordberg2011-03-071-37/+31
|
* UDP w/o bufferevents, part 1.Linus Nordberg2011-03-061-3/+3
| | | | Sending, no retransmitting and no receiving.
* Rename relevant functions to reflect authn as opposed to authz.Linus Nordberg2011-02-281-2/+2
| | | | Also add a "bare" create request function.
* API changes: rs_client* --> rs_peer.Linus Nordberg2011-02-281-5/+5
| | | | | Move peer (former server) things to new file peer.c. Update examples.
* API change. Have the request object create its own request message.Linus Nordberg2011-02-251-5/+5
|
* Split example config in two files.Linus Nordberg2011-02-242-0/+24
|
* Split example config in two files.Linus Nordberg2011-02-241-30/+0
|
* Use AM_CFLAGS when setting CFLAGS.Linus Nordberg2011-02-191-1/+1
|
* Do build examples with -Wall -g.Linus Nordberg2011-02-041-2/+2
|
* Initialize pointer in example program before trusting it.Linus Nordberg2011-02-041-5/+6
|
* Pick usage of struct request in example code at run time.Linus Nordberg2011-02-022-23/+29
|
* Follow API changes.linus2011-01-211-3/+3
|