Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Handle all libconfuse parse errors. | Linus Nordberg | 2011-07-03 | 1 | -3/+18 | |
| | ||||||
* | Handle configuration errors better. | Linus Nordberg | 2011-07-03 | 2 | -4/+7 | |
| | ||||||
* | Remove spurious comment. | Linus Nordberg | 2011-07-02 | 1 | -1/+1 | |
| | | | | | rs_resolv() doesn't have a connection to push an error on and should indeed return a struct rs_error. | |||||
* | Resolve IPv6 addresses too. | Linus Nordberg | 2011-07-02 | 1 | -1/+1 | |
| | ||||||
* | lib/rsp_tlscommon.c: Include sys/types.h before netinet/in.h. | Linus Nordberg | 2011-05-23 | 1 | -1/+1 | |
| | ||||||
* | Compile on BSD. | Linus Nordberg | 2011-05-18 | 1 | -0/+1 | |
| | | | | Thanks to Luke Howard for reporting. | |||||
* | examples/client.conf: Correct key file. | Linus Nordberg | 2011-04-01 | 1 | -1/+1 | |
| | ||||||
* | Don't install example programs. | Linus Nordberg | 2011-03-25 | 1 | -1/+1 | |
| | ||||||
* | Add cert 3 ("client cert") with key. | Linus Nordberg | 2011-03-25 | 4 | -1/+61 | |
| | ||||||
* | demoCA: Rename c1key --> c2key to match certificate file name. | Linus Nordberg | 2011-03-25 | 1 | -0/+0 | |
| | ||||||
* | Add tests/demoCA and use certs and key in there for the examples. | Linus Nordberg | 2011-03-25 | 8 | -4/+127 | |
| | ||||||
* | Change version to libradsec-0.0.2-dev. | Linus Nordberg | 2011-03-24 | 2 | -2/+2 | |
| | ||||||
* | Ready for libradsec-0.0.1.libradsec-0.0.1 | Linus Nordberg | 2011-03-24 | 2 | -2/+2 | |
| | ||||||
* | Harmonise with radsecproxy licensing. | Linus Nordberg | 2011-03-24 | 2 | -24/+43 | |
| | | | | | Dual license the library by adding GPL v2 or later. Change the 2-clause BSD to a 3-clause. | |||||
* | Update README and HACKING. | Linus Nordberg | 2011-03-24 | 2 | -10/+16 | |
| | ||||||
* | Define RS_FREERADIUS_DICT and use it when missing "dictionary" in config. | Linus Nordberg | 2011-03-21 | 2 | -2/+7 | |
| | ||||||
* | Memory alloc/free cleanup for contexts. | Linus Nordberg | 2011-03-21 | 1 | -8/+5 | |
| | | | | | | | | | (rs_context_create): Don't touch *ctx on failure. Keep allocation and zeroing of allocated memory together. (rs_context_destroy): Fix typo. (rs_context_destroy): Don't rs_free the context since it's allocated with calloc. | |||||
* | (rs_context_destroy): Use free() rather than rs_free() for realm->name. | Linus Nordberg | 2011-03-21 | 2 | -2/+4 | |
| | ||||||
* | API AND CONFIG CHANGE: rs_context_create() doesn't take DICT any more. | Linus Nordberg | 2011-03-21 | 7 | -100/+161 | |
| | | | | | | | Use rs_context_create() to read FreeRADIUS dictionary, possibly by taking dict file from configuration file. CONFIG CHANGE: s/config/realm/g. | |||||
* | Don't touch TLS specific things w/o RS_ENABLE_TLS. | Linus Nordberg | 2011-03-15 | 1 | -0/+2 | |
| | ||||||
* | Verify result in example program. Also, don't leak a package. | Linus Nordberg | 2011-03-14 | 1 | -1/+9 | |
| | ||||||
* | [TLS] Do free SSL and SSL_CTX objects. | Linus Nordberg | 2011-03-14 | 1 | -3/+6 | |
| | ||||||
* | (rs_packet_destroy): Free unconditionally. | Linus Nordberg | 2011-03-14 | 1 | -7/+6 | |
| | ||||||
* | Remove struct rs_attr and all use of it. | Linus Nordberg | 2011-03-14 | 7 | -50/+18 | |
| | | | | | | | A new API for attributes will be added once we've decided how to deal with RADIUS packets internally. For now, removing the half baked wrapping seems more sensible than trying to free rs_attr objects and their VALUE_PAIR's. | |||||
* | Add short blurb about bug hunting in HACKING. | Linus Nordberg | 2011-03-14 | 1 | -0/+10 | |
| | ||||||
* | Avoid potential double free. | Linus Nordberg | 2011-03-14 | 1 | -1/+4 | |
| | | | | (udp_init): Set conn.rev = NULL in fault case. | |||||
* | [UDP] Free the event base _after_ freeing the read and write events. | Linus Nordberg | 2011-03-14 | 1 | -2/+2 | |
| | | | | Duh! | |||||
* | Remove unused resp_msg from struct request. | Linus Nordberg | 2011-03-14 | 2 | -3/+5 | |
| | ||||||
* | Add rs_request_get_reqmsg() and update documentation. | Linus Nordberg | 2011-03-14 | 2 | -10/+24 | |
| | ||||||
* | Don't free connection on error, just close it. | Linus Nordberg | 2011-03-14 | 1 | -3/+4 | |
| | ||||||
* | [UDP] Free read/write events when destroying connection. | Linus Nordberg | 2011-03-13 | 1 | -0/+4 | |
| | ||||||
* | Don't double free in example code. | Linus Nordberg | 2011-03-13 | 1 | -6/+2 | |
| | ||||||
* | Change user name in example code. | Linus Nordberg | 2011-03-13 | 1 | -1/+1 | |
| | ||||||
* | Formatting changes. | Linus Nordberg | 2011-03-13 | 1 | -20/+8 | |
| | ||||||
* | Add Doxygen documentation for public API. | Linus Nordberg | 2011-03-13 | 4 | -49/+283 | |
| | ||||||
* | Update README and HACKING. | Linus Nordberg | 2011-03-12 | 2 | -20/+24 | |
| | ||||||
* | Fix crash bug in _rs_peer_destroy().udp | Linus Nordberg | 2011-03-12 | 1 | -18/+3 | |
| | | | | Don't expect a peer to always have a connection. | |||||
* | Free the realm name which is strdup'd when config is read. | Linus Nordberg | 2011-03-11 | 1 | -0/+1 | |
| | ||||||
* | Do free the connection object. | Linus Nordberg | 2011-03-11 | 1 | -0/+2 | |
| | ||||||
* | Handle an ENOMEM case in conf.c. | Linus Nordberg | 2011-03-11 | 1 | -0/+2 | |
| | ||||||
* | Remove -Werror since we still have some warnings in radsecproxy. | Linus Nordberg | 2011-03-10 | 1 | -1/+1 | |
| | ||||||
* | [UDP] Don't crash on second packet. | Linus Nordberg | 2011-03-10 | 2 | -1/+4 | |
| | | | | | | [UDP] Set the user_data member for the write callback in rs_packet_send() -- the one from udp_init() doesn't do much good at this point. | |||||
* | Don't miscompile without --enable-tls. | Linus Nordberg | 2011-03-10 | 1 | -4/+3 | |
| | | | | Include err.h and debug.h even w/o RS_ENABLE_TLS. | |||||
* | Disable DEBUG. | Linus Nordberg | 2011-03-10 | 1 | -1/+1 | |
| | ||||||
* | Change default configuration to do RadSec rather than UDP. | Linus Nordberg | 2011-03-09 | 1 | -4/+4 | |
| | ||||||
* | Get UDP working. | Linus Nordberg | 2011-03-09 | 5 | -37/+100 | |
| | | | | | | | | | | | | | | | | For UDP, activate retransmit timer before receiving rather than sending makes the event loop break nicely after sending a message (which is important for blocking mode). Not quite sure that this is really accurate wrt to retransmission timing though but it should do for now. For UDP, set the user_data member for the read callback in rs_conn_receive_packet -- the one from udp_init() doesn't do much good now. For UDP, implement receiving message. Add compat_recv(). | |||||
* | Don't add Message-Authenticator more than once. | Linus Nordberg | 2011-03-09 | 1 | -2/+8 | |
| | | | | | Retransmiting the packet showed that we added another Message-Authenticator attribute every time we sent it. | |||||
* | Formatting changes. | Linus Nordberg | 2011-03-09 | 2 | -1/+5 | |
| | ||||||
* | Remove superfluous assignment. | Linus Nordberg | 2011-03-09 | 1 | -1/+0 | |
| | | | | This is done in rs_packet_create(). | |||||
* | Add missing header files. | Linus Nordberg | 2011-03-09 | 2 | -0/+15 | |
| |