summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Exit if stringcopy() fails at allocating memory.Linus Nordberg2016-10-181-1/+1
| | | | | | Writing to 0 seems unwise to me. Returning NULL will simply move the problem to the callers. I admit that a better fix would be to fix all the callers.
* Don't follow the NULL pointer, not even in debug printouts.Linus Nordberg2016-10-172-1/+5
| | | | | | Bug reported by Leonhard Knauff. Closes RADSECPROXY-68.
* Don't use a smaller pthread stack size than what's allowed.Linus Nordberg2016-10-171-0/+9
| | | | Patch by Kolbjørn Barmen.
* Hopefully make clang less unhappy about '#if defined'.Linus Nordberg2016-10-172-1/+2
| | | | Reported by Luke Benes.
* Update ChangeLog.Linus Nordberg2016-10-171-4/+14
|
* Update contact email address.Linus Nordberg2016-10-171-1/+1
|
* Assert that the server argument is non-NULL.Linus Nordberg2016-10-061-0/+1
|
* Don't follow the NULL pointer.Linus Nordberg2016-10-061-1/+2
| | | | | In practice, sendrq() is called from two functions, radsrv() and clientwr(), none of which should be able to pass rq->to == NULL.
* Update ChangeLog.Linus Nordberg2016-09-211-0/+8
|
* Require libnettle unconditionally.openssl11-rebasedLinus Nordberg2016-09-216-57/+5
|
* Use libnettle instead of libcrypto (from openssl) for MD5 and HMAC(MD5).Linus Nordberg2016-09-213-137/+75
| | | | | | | | | The HMAC_ and EVP_MD_ API:s changed in OpenSSL 1.1 in a way that made it unfeasable to support both older and newer OpenSSL. Radsecproxy already depends on libnettle for Fticks. Moving away from libcrypto makes it easier to add support for other TLS libraries than OpenSSL.
* EVP_MD_CTX and HMAC_CTX are now pointers.Linus Nordberg2016-09-212-106/+106
| | | | | | | NOTE: pwdcrypt(), msmppencrypt(), msmppdecrypt(), _checkmsgauth(), _validauth() _createmessageauth() and _radsign() all become slightly more expensive since we're now allocating and freeing an EVP_MD_CTX or HMAC_CTX on each invocation.
* Remove openssl thread lock handling.Linus Nordberg2016-09-211-25/+0
| | | | | openssl-1.1 uses a new threading API which makes manual locking wrt openssl not necessary.
* ASN1_STRING_data() -> ASN1_STRING_get0_data().Linus Nordberg2016-09-211-3/+3
| | | | | ASN1_STRING_data was deprecated in openssl-1.1, see https://www.openssl.org/docs/manmaster/crypto/ASN1_STRING_data.html
* Don't call ERR_remove_thread_state().Linus Nordberg2016-09-213-7/+0
| | | | | Not needed as of openssl-1.1, see https://www.openssl.org/docs/man1.1.0/crypto/ERR_remove_thread_state.html
* Use ERR_remove_thread_state() instead of ERR_remove_state().Linus Nordberg2016-09-213-7/+7
|
* Stop accessing ssl->rbio directly.Linus Nordberg2016-09-211-5/+5
|
* Stomp less on other threads memory.stompless-rebased-squashedLinus Nordberg2016-09-212-4/+16
| | | | See RADSECPROXY-64.
* Don't wait for _writable_ when _reading_ a TCP socket.Linus Nordberg2016-09-191-3/+2
| | | | | | Like 92a0c39a for TCP. Patch by Fabian Mauchle.
* Let env DOCBOOK2X_MAN optionally name the docbook2x-man program.Linus Nordberg2016-09-191-3/+6
| | | | Patch from Fabian Mauchle with a minor change.
* Make docbook2x-man happy on RedHat.Linus Nordberg2016-09-161-3/+1
| | | | Patch from Fabian Mauchle.
* Don't build radsecproxy.conf.5 unless HAVE_DOCBOOK2X_MAN.Linus Nordberg2016-09-161-1/+1
| | | | Patch from Fabian Mauchle.
* Fix spelling.Linus Nordberg2016-03-231-4/+4
| | | | Pointed out by Faidon Liambotis.
* Add changes from 1.6.7.Linus Nordberg2016-03-141-1/+9
|
* Add info about license change to ChangeLog.Linus Nordberg2016-03-111-1/+7
|
* Fix the html target.Linus Nordberg2016-03-091-5/+6
| | | | | List the three .html files. Add targets for building .html from .1 and .5.
* #include <string.h> for memcpy() and strcmp().Linus Nordberg2016-03-092-0/+2
|
* Use DTLS_method() for new SSL context if it exists.Linus Nordberg2016-03-061-0/+5
| | | | | Effectively turning on support for DTLS 1.2 when OpenSSL version 1.0.2 or higher.
* Use TLS_method() for new SSL context if it exists.Linus Nordberg2016-03-061-1/+7
|
* Allow TLSv1.1 and TLSv1.2.Linus Nordberg2016-02-251-1/+2
| | | | | This should in theory allow for later versions of TLS too but let's verify that when the time comes.
* Mention radsecproxy-hash(1) in radsecproxy.1.Linus Nordberg2015-09-171-3/+2
|
* Merge branch 'docu'Linus Nordberg2015-01-222-2/+15
|\
| * Revamp the documentation of a request+response being proxied.Linus Nordberg2015-01-221-9/+7
| |
| * Add comments on functions.Linus Nordberg2015-01-161-0/+3
| |
| * Add more overview to develdoc and correct a factual error.Linus Nordberg2015-01-161-2/+14
| |
* | Install radsecproxy.conf.5 unconditionally.Linus Nordberg2015-01-192-1/+3
| | | | | | | | Keep regeneration of it dependent on configure finding docbook2x-man(1).
* | Refer to RFC6614 instead of the old draft.Linus Nordberg2015-01-191-2/+2
| |
* | ChangeLog for the four security patches.Linus Nordberg2015-01-161-0/+4
| |
* | Fix heap overflow in raddtlsget(), radtcpget() and radtlsget().Linus Nordberg2015-01-163-0/+12
| | | | | | | | Patch by Stephen Röttger.
* | Fix null pointer dereference in decttl().Linus Nordberg2015-01-161-0/+3
| | | | | | | | Patch by Stephen Röttger.
* | Fix use-after-free in _internal_removeserversubrealms().Linus Nordberg2015-01-161-2/+5
| | | | | | | | Patch by Stephen Röttger.
* | Fix use-after-free in hash_extract().Linus Nordberg2015-01-162-1/+4
|/ | | | Patch by Stephen Röttger.
* Fix some issues showing when DEBUG is defined.Linus Nordberg2015-01-164-8/+7
|
* Remove 'compile', generated by Automake.Linus Nordberg2015-01-163-143/+2
| | | | Patch by Christian Hesse.
* Update copyright notice.Linus Nordberg2015-01-161-1/+1
|
* When CHAP-Password, copy Request Authenticator to CHAP-Challenge.Linus Nordberg2015-01-163-0/+27
|
* Be consistent with naming of attribute defines.Linus Nordberg2015-01-162-2/+2
|
* Have rewriteIn for servers use the correct config section.Linus Nordberg2015-01-142-3/+11
|
* Have radmsg_copy_attrs() return error in all error cases.Linus Nordberg2013-09-061-4/+2
| | | | Also when copying of the first attribute fails.
* Add ChangeLog entry for -53.Linus Nordberg2013-09-061-1/+6
|