summaryrefslogtreecommitdiff
path: root/authenticate.c
Commit message (Collapse)AuthorAgeFilesLines
* Preparing for release of 3.2.7pre1v3.2.7pre1Wayne Davison2022-09-301-1/+1
|
* Improve various things in the checksum codeWayne Davison2022-09-101-4/+7
| | | | | | | | | | - Size flist checksum data to hold the active size, not the max. - Add a negotiated hash method to the daemon auth code. - Use EVP for all openssl digests. This makes it easy to add more openssl digest methods and avoids deprecation warnings. - Support a way to re-enable deprecated digests via openssl conf file and allow a default file to be configured. - Supply a simple openssl-rsync.cnf file to enable legacy digests.
* More TANDEM changesWayne Davison2020-07-061-2/+2
| | | | | | - Handle a non-0 root uid. - Handle alternate major/minor/MAKEDEV funcs. - Other misc compatibility tweaks.
* Change name map funcs to return a const char*.Wayne Davison2020-07-051-4/+4
|
* Some memory allocation improvementsWayne Davison2020-06-251-4/+3
| | | | | | | | | | - All the memory-allocation macros now auto-check for failure and exit with a failure message that incudes the caller's file and lineno info. This includes strdup(). - Added the `--max-alloc=SIZE` option to be able to override the memory allocator's sanity-check limit. It defaults to 1G (as before). Fixes bugzilla bug 12769.
* Set Copyright years and make them easier to updateWayne Davison2020-04-091-1/+1
| | | | | | | | I replaced git-set-file-times with an improved version that I wrote recently (in python3). A new script uses it to figure out the last-modified year for each *.[ch] file and updates its copyright. It also puts the latest year into the latest-year.h file for the output of --version.
* Tweak some indentation.Wayne Davison2020-04-051-6/+6
|
* Tweak the copyright year.Wayne Davison2019-03-161-1/+1
|
* Make sure that some memory zeroing always happens.Wayne Davison2019-01-081-4/+4
|
* Tweak copyright date.Wayne Davison2018-01-141-1/+1
|
* More archaic-checksum improvements. This makes the len vars clearerWayne Davison2017-11-071-4/+0
| | | | and ensures that only the flist code gets the 2-byte digest len.
* Use full MD4 len for archaic protocol auth.Wayne Davison2017-10-301-6/+4
|
* Only allow a modern checksum method for passwords.Wayne Davison2017-10-241-0/+6
|
* Add --checksum-choice option to choose the checksum algorithms.Wayne Davison2016-05-011-2/+2
|
* Change daemon's gid list to use an "item_list".Wayne Davison2015-08-241-4/+5
|
* Update the copyright year.Wayne Davison2015-08-081-1/+1
|
* Avoid infinite wait reading secrets file.Wayne Davison2014-04-131-11/+13
|
* Bump the year to 2014.Wayne Davison2014-01-261-1/+1
|
* Allow --password-file=- for a stdin-supplied password.Wayne Davison2013-06-091-18/+25
|
* Update copyright year.Wayne Davison2013-01-191-1/+1
|
* Error out if --password-file specifed and it fails.Wayne Davison2011-09-061-22/+14
| | | | Fixes bug 8440.
* Add @group auth and overrides to "auth user" daemon config.Wayne Davison2010-10-121-79/+136
|
* Update the copyright year.Wayne Davison2009-01-031-1/+1
|
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-9/+5
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Stop password errors from getting reported as transfer errors.Wayne Davison2007-11-031-0/+4
|
* If the user told us to use a password file and we used it, there'sWayne Davison2007-10-141-9/+6
| | | | no need to comment if a RSYNC_PASSWORD environment variable is set.
* Call the renamed read_line_old() function (was read_line()).Wayne Davison2007-09-091-1/+1
|
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* Protocol 30 now uses MD5 checksums instead of MD4.Wayne Davison2007-03-181-9/+11
|
* Further modifications to the copyright comment section.Wayne Davison2007-02-041-4/+3
|
* Added "const" to appropriate char pointers.Wayne Davison2006-11-191-20/+20
|
* Updated the FSF's address to an even newer one.Wayne Davison2006-04-251-3/+3
|
* - Updated the address for the FSF in the opening comment.Wayne Davison2006-04-251-19/+20
| | | | | | | - Standardized the format of the opening comment, including adding a brief description of what's in the file for those that lacked it. - Added some missing copyright lines. - Some minor whitespace tweaks (in a few of the files).
* The base4_encode() function now takes a "pad" arg which indicatesWayne Davison2006-03-061-5/+8
| | | | if the caller wants to pad the value with trailing '=' chars.
* Check MY_UID() directly instead of accessing am_root.Wayne Davison2006-01-261-3/+2
|
* Got rid of calls to (the soon to vanish) safe_fname() function.Wayne Davison2006-01-131-3/+3
|
* Use BIGPATHBUFLEN for the length of a line buffer.Wayne Davison2005-07-291-1/+1
|
* Made the code a little cleaner by having gen_challenge() returnWayne Davison2005-04-101-11/+10
| | | | | the challenge string base64-encoded (instead of forcing the caller to handle this). Also improved a couple comments.
* - Use the MD4_SUM_LENGTH define in place of some hard-wired values.Wayne Davison2005-04-091-31/+40
| | | | | | | - Pass the hostname in to auth_server(). - Generate a unique error for each failure type in auth_server() so that the log-file contains why the authorization failed. - Don't use sscanf() to parse the client's auth-challenge response.
* Adding more calls to safe_fname().Wayne Davison2005-02-071-3/+4
|
* Changed the errors concerning the secrets file to output with FLOGWayne Davison2004-09-241-4/+4
| | | | instead of FERROR.
* Changed sum_init() to take a seed value as an arg instead of alwaysWayne Davison2004-05-211-2/+2
| | | | | using checksum_init. This fixes an authentication problem in server mode (as pointed out by Craig Barratt).
* Improved a comment and got rid of some trailing whitespace.Wayne Davison2004-05-081-21/+18
|
* Tweaked the sizeof syntax and some multi-statement lines.Wayne Davison2004-05-081-18/+19
|
* - Improved the get_secret()'s function comments, made it accept a lineWayne Davison2004-05-081-53/+64
| | | | | that doesn't end with a newline, and optimized it a bit. - Improved getpassf() to work if the line does not end with a newline.
* Decided to use "nobody" instead of "guest".Wayne Davison2004-04-011-1/+1
|
* The auth_client function must not return without outputting somethingWayne Davison2004-03-311-1/+2
| | | | on the socket, so a NULL or empty username now defaults to "guest".
* Made base64_encode() non-static.Wayne Davison2004-01-031-2/+2
|