Wayne Davison
3e2e4b5a33
Tweak the copyright year.
2019-03-16 09:15:49 -07:00
Wayne Davison
c376170644
Make sure that some memory zeroing always happens.
2019-01-08 14:46:41 -08:00
Wayne Davison
473108ae6e
Tweak copyright date.
2018-01-14 19:55:07 -08:00
Wayne Davison
416e719bea
More archaic-checksum improvements. This makes the len vars clearer
...
and ensures that only the flist code gets the 2-byte digest len.
2017-11-07 14:01:13 -08:00
Wayne Davison
bc112b0e7f
Use full MD4 len for archaic protocol auth.
2017-10-30 13:34:18 -07:00
Wayne Davison
9a480deec4
Only allow a modern checksum method for passwords.
2017-10-24 20:44:37 -07:00
Wayne Davison
a5a7d3a297
Add --checksum-choice option to choose the checksum algorithms.
2016-05-01 17:06:54 -07:00
Wayne Davison
2a7355fb56
Change daemon's gid list to use an "item_list".
2015-08-24 11:54:00 -07:00
Wayne Davison
453914e35b
Update the copyright year.
2015-08-08 12:47:03 -07:00
Wayne Davison
0dedfbce2c
Avoid infinite wait reading secrets file.
2014-04-13 13:51:36 -07:00
Wayne Davison
dfa5b49110
Bump the year to 2014.
2014-01-26 09:29:15 -08:00
Wayne Davison
12505e02b1
Allow --password-file=- for a stdin-supplied password.
2013-06-09 12:11:53 -07:00
Wayne Davison
7e1a9c4d79
Update copyright year.
2013-01-19 11:05:53 -08:00
Wayne Davison
70c4bfb770
Error out if --password-file specifed and it fails.
...
Fixes bug 8440.
2011-09-06 21:22:22 -07:00
Wayne Davison
5ebe9a46d7
Add @group auth and overrides to "auth user" daemon config.
2010-10-12 10:34:38 -07:00
Wayne Davison
b3bf9b9df9
Update the copyright year.
2009-01-03 10:57:14 -08:00
Wayne Davison
d3d07a5e86
Include 2008 in the copyright years.
2008-03-01 12:01:41 -08:00
Wayne Davison
3f0211b63a
New logging categories added to allow differentiation between
...
transfer errors, normal errors, and warnings. New messages are
translated into old FERROR/FINFO categories for older protocols.
2007-11-22 10:05:36 -08:00
Wayne Davison
c9b16cdaba
Stop password errors from getting reported as transfer errors.
2007-11-03 18:14:36 +00:00
Wayne Davison
3f655ca08d
If the user told us to use a password file and we used it, there's
...
no need to comment if a RSYNC_PASSWORD environment variable is set.
2007-10-14 21:20:31 +00:00
Wayne Davison
f74a3d813b
Call the renamed read_line_old() function (was read_line()).
2007-09-09 07:53:02 +00:00
Wayne Davison
8e41b68e8f
Tweaking the license text a bit more.
2007-07-10 13:55:49 +00:00
Wayne Davison
4fd842f98d
Switching to GPL 3.
2007-07-07 05:33:14 +00:00
Wayne Davison
a0456b9c46
Protocol 30 now uses MD5 checksums instead of MD4.
2007-03-18 06:00:53 +00:00
Wayne Davison
ba2133d6ad
Further modifications to the copyright comment section.
2007-02-04 14:54:58 +00:00
Wayne Davison
4a19c3b254
Added "const" to appropriate char pointers.
2006-11-19 00:23:21 +00:00
Wayne Davison
e7c67065c0
Updated the FSF's address to an even newer one.
2006-04-25 23:51:12 +00:00
Wayne Davison
0f78b81511
- Updated the address for the FSF in the opening comment.
...
- 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).
2006-04-25 20:23:34 +00:00
Wayne Davison
293def601d
The base4_encode() function now takes a "pad" arg which indicates
...
if the caller wants to pad the value with trailing '=' chars.
2006-03-06 18:22:20 +00:00
Wayne Davison
351f5e2f6c
Check MY_UID() directly instead of accessing am_root.
2006-01-26 11:01:00 +00:00
Wayne Davison
45c49b52a4
Got rid of calls to (the soon to vanish) safe_fname() function.
2006-01-13 21:17:09 +00:00
Wayne Davison
d999d312c4
Use BIGPATHBUFLEN for the length of a line buffer.
2005-07-29 18:31:05 +00:00
Wayne Davison
bf011fedfc
Made the code a little cleaner by having gen_challenge() return
...
the challenge string base64-encoded (instead of forcing the caller
to handle this). Also improved a couple comments.
2005-04-10 17:09:10 +00:00
Wayne Davison
5037cf3adf
- Use the MD4_SUM_LENGTH define in place of some hard-wired values.
...
- 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.
2005-04-09 18:11:23 +00:00
Wayne Davison
4875d6b64d
Adding more calls to safe_fname().
2005-02-07 20:36:43 +00:00
Wayne Davison
30c041f9ad
Changed the errors concerning the secrets file to output with FLOG
...
instead of FERROR.
2004-09-24 17:04:05 +00:00
Wayne Davison
ba582f753a
Changed sum_init() to take a seed value as an arg instead of always
...
using checksum_init. This fixes an authentication problem in server
mode (as pointed out by Craig Barratt).
2004-05-21 08:27:04 +00:00
Wayne Davison
18cc8c7ef1
Improved a comment and got rid of some trailing whitespace.
2004-05-08 19:37:28 +00:00
Wayne Davison
58c9b4b7f6
Tweaked the sizeof syntax and some multi-statement lines.
2004-05-08 19:26:53 +00:00
Wayne Davison
38cab94d9a
- Improved the get_secret()'s function comments, made it accept a line
...
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.
2004-05-08 18:18:42 +00:00
Wayne Davison
4b2f6a7c37
Decided to use "nobody" instead of "guest".
2004-04-01 18:05:40 +00:00
Wayne Davison
ef383c0d32
The auth_client function must not return without outputting something
...
on the socket, so a NULL or empty username now defaults to "guest".
2004-03-31 18:52:38 +00:00
Wayne Davison
57385128c3
Made base64_encode() non-static.
2004-01-03 08:53:36 +00:00
Wayne Davison
fe332038c6
Call wildmatch(), not fnmatch().
2003-07-30 06:12:27 +00:00
Martin Pool
908f5a9f9f
Add a comment about using getpassphrase() or readpassphrase() rather
...
than getpass(). No code change.
2003-06-17 04:46:32 +00:00
Wayne Davison
73ff720972
File I/O already handles '\r', so we can remove the O_TEXT flags.
2003-01-26 19:37:54 +00:00
David Dykstra
536b84680b
Open config files in text mode when O_TEXT is defined. This helps on
...
Cygwin when the config files are on a filesystem that is mounted in
binary mode. Patch from Ville Herva.
2003-01-26 03:46:54 +00:00
Wayne Davison
973007daac
Changed auth_server() to take two fds (for the daemon via remote-shell
...
support).
2002-08-01 00:36:54 +00:00
Martin Pool
707de53457
Another harmless size_t warning.
2002-01-24 02:33:45 +00:00
Martin Pool
64bd756832
Add comment: cyeoh says that getpass is deprecated, because it may
...
return a truncated password on some systems, and it is not in the LSB.
2001-08-29 07:23:30 +00:00