Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump the year to 2014. | Wayne Davison | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Update copyright year. | Wayne Davison | 2013-01-19 | 1 | -1/+1 |
| | |||||
* | Make read_args() return the full request. | Wayne Davison | 2012-09-23 | 1 | -4/+1 |
| | | | | | | | | When a daemon is sent multiple request args, they are now joined into a single return value (separated by spaces) so that the RSYNC_REQUEST environment variable is accurate for any "pre-xfer exec". The values in RSYNC_ARG# vars are no longer truncated at the "." arg, so that all the request values are also listed (separately) in RSYNC_ARG#. | ||||
* | Another asprintf() return-value-check tweak. | Wayne Davison | 2011-11-23 | 1 | -1/+1 |
| | |||||
* | Let's cast getpid() to an int instead of a long for snprintf(). | Wayne Davison | 2011-10-08 | 1 | -1/+1 |
| | |||||
* | Replace another inet_ntop() call with getnameinfo(). | Wayne Davison | 2011-07-16 | 1 | -1/+1 |
| | |||||
* | Add a colon if a non-empty pre-xfer exec message follows. | Wayne Davison | 2011-06-04 | 1 | -2/+3 |
| | |||||
* | Handle EINTR when reading the pre-xfer exec message. | Wayne Davison | 2011-06-04 | 1 | -1/+8 |
| | |||||
* | Send error messages from pre-xfer exec script to the user. | Wayne Davison | 2011-06-04 | 1 | -27/+56 |
| | |||||
* | Daemon supports forward-DNS lookups for simple hostnames | Wayne Davison | 2011-01-03 | 1 | -1/+1 |
| | | | | in hosts deny/allow config settings. | ||||
* | Protect a remote filename that starts with a dash. | Wayne Davison | 2010-12-23 | 1 | -1/+4 |
| | |||||
* | Add @group auth and overrides to "auth user" daemon config. | Wayne Davison | 2010-10-12 | 1 | -6/+4 |
| | |||||
* | Close the socket fds in the "post-xfer exec" process. | Wayne Davison | 2010-06-19 | 1 | -0/+3 |
| | |||||
* | Don't set the umask to 0 any more: it's ugly and pointless. | Matt McCutchen | 2010-04-24 | 1 | -4/+1 |
| | |||||
* | If a module has no path setting, return an error. | Wayne Davison | 2010-02-06 | 1 | -0/+5 |
| | |||||
* | Make use of seteuid() determined by configure. | Wayne Davison | 2009-11-08 | 1 | -1/+5 |
| | |||||
* | Get rid of some unneeded externs. | Wayne Davison | 2009-10-27 | 1 | -1/+0 |
| | |||||
* | Make sure daemon's io_timeout is used as a maximum value. | Wayne Davison | 2009-10-20 | 1 | -1/+1 |
| | |||||
* | Moved a few group-related functions with some minor tweaks; | Wayne Davison | 2009-10-20 | 1 | -27/+25 |
| | |||||
* | Allow %VAR% environment references in daemon-config parameter values. | Wayne Davison | 2009-10-17 | 1 | -22/+33 |
| | |||||
* | Call seteuid() when calling setuid(). | Wayne Davison | 2009-10-17 | 1 | -1/+1 |
| | |||||
* | Change the msg pipe to use a real multiplexed IO mode | Wayne Davison | 2009-10-02 | 1 | -3/+3 |
| | | | | for the data that goes from the receiver to the generator. | ||||
* | Refactorings to the filter code, most notably: | Matt McCutchen | 2009-05-23 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | - Improve function name: parse_rule -> parse_filter_str (to make the similarity with parse_filter_file clearer, and better indicate that it can parse multiple rules when FILTRULE_WORD_SPLIT is specified). - In preparation for rule prefixes containing information beyond the rflags, change the code to pass around a full "template" filter_rule instead of just rflags. Callers of parse_filter_{str,file} that want to specify only rflags can use rule_template(rflags) . - Remove the MODIFIERS_* strings and instead hand-code the condition under which each modifier is valid. This should make it easier to see that the conditions are correct. - Tighten up default modifiers on merge rules: - Disallow "!" because it isn't useful. - If the merge rule specifies a side via "s" or "r", the rules in the file cannot also specify a side via "s", "r", "hide", etc. [Patch was changed by Wayne a bit prior to application.] | ||||
* | Use typedefs for the filter structures. | Wayne Davison | 2009-05-23 | 1 | -1/+1 |
| | |||||
* | Change filter MATCHFLGs to FILTRULEs. | Wayne Davison | 2009-05-23 | 1 | -4/+4 |
| | |||||
* | Enhance name_to_{u,g}id() to optionally parse numbers and rename | Wayne Davison | 2009-05-07 | 1 | -14/+8 |
| | | | | to {user,group}_to_*(). Based on a patch by Matt McCutchen. | ||||
* | Properly indent some lines. | Wayne Davison | 2009-02-19 | 1 | -10/+10 |
| | |||||
* | Added a way for supplementary groups to be specified in the rsyncd.conf | Wayne Davison | 2009-02-19 | 1 | -36/+112 |
| | | | | | file. Also made explicitly-set uid/gid values no longer ignored by a daemon that was not run by a super-user. | ||||
* | Change some args from "char *" to "const char *" in order to get rid of | Wayne Davison | 2009-01-15 | 1 | -2/+2 |
| | | | | | a compiler warning that was just introduced. Also avoids changing the host string to lower-case in access.c (by using iwildmatch()). | ||||
* | Added the "reverse lookup" daemon-config parameter. | Matt McCutchen | 2009-01-15 | 1 | -1/+9 |
| | |||||
* | Update the copyright year. | Wayne Davison | 2009-01-03 | 1 | -1/+1 |
| | |||||
* | Fixed a bunch of "warn_unused_result" compiler warnings. | Wayne Davison | 2008-11-09 | 1 | -3/+7 |
| | |||||
* | Convey the cleaned-up module-path to the user in all cases. | Wayne Davison | 2008-09-11 | 1 | -31/+33 |
| | | | | Fixed a just-introduced problem with a relative module-path. | ||||
* | Fix the %P logfile escape inside a chroot. | Wayne Davison | 2008-09-10 | 1 | -36/+32 |
| | |||||
* | Split up the ifuncs.h file into 3 .h files. | Wayne Davison | 2008-09-01 | 1 | -1/+1 |
| | |||||
* | Added a client --munge-links option that works like the daemon | Wayne Davison | 2008-07-28 | 1 | -4/+11 |
| | | | | "munge symlinks" parameter. | ||||
* | Added a command-line override for daemon config parameters: | Wayne Davison | 2008-07-27 | 1 | -0/+1 |
| | | | | --dparam=PARAMETER=VALUE (-M PARAMETER=VALUE). | ||||
* | Change the references to "service" to be either "section" or "module". | Wayne Davison | 2008-07-26 | 1 | -1/+1 |
| | |||||
* | Improved var-checker and tweaked all the issues it found. | Wayne Davison | 2008-07-21 | 1 | -1/+0 |
| | |||||
* | Include the array-size in array externs so that IBM's code-checker | Wayne Davison | 2008-07-20 | 1 | -1/+1 |
| | | | | can do more checking for us. | ||||
* | Added the --info=FLAGS an --debug=FLAGS options, which allows | Wayne Davison | 2008-07-13 | 1 | -5/+3 |
| | | | | fine-grained output control (in addition to the coarse -v). | ||||
* | Moved the setting of the socket options before the connect(). | Wayne Davison | 2008-04-15 | 1 | -6/+0 |
| | |||||
* | Improved the chdir() code: | Wayne Davison | 2008-03-30 | 1 | -5/+5 |
| | | | | | | | | | | | | | - Renamed push_dir() to change_dir() and revised it a little so that it can chdir() to a relative path without an intervening chdir() back to the staring path. - Renamed push_pathname() to change_pathname() and revised it to take different args and to only call path_is_daemon_excluded() on a new path (not a revisit of a file's already-checked path). - Fixed change_pathname() to set the right pathname value when a chdir() call fails. - Set orig_dir once outside of the change_pathname() function. - Got rid of pop_dir(). | ||||
* | Added XFLG_DIR2WILD3 flag that the daemon uses to transform any | Wayne Davison | 2008-03-22 | 1 | -5/+5 |
| | | | | config-file dir/ exclude rule into a dir/*** rule. | ||||
* | Changed the name of the server_filter_list to be | Wayne Davison | 2008-03-20 | 1 | -6/+6 |
| | | | | daemon_filter_list, for improved clarity. | ||||
* | A couple more changes for dealing with "checker" warnings. | Wayne Davison | 2008-03-17 | 1 | -1/+1 |
| | |||||
* | Attempting to silence some more "checker" warnings. | Wayne Davison | 2008-03-17 | 1 | -1/+1 |
| | |||||
* | Changed stat() call to do_stat(). | Wayne Davison | 2008-03-16 | 1 | -1/+1 |
| | |||||
* | Fixed the use of --protect-args (-s) with a daemon. | Wayne Davison | 2008-03-15 | 1 | -9/+38 |
| | |||||
* | The --fake-super option conflicts with -XX (which copies internal | Wayne Davison | 2008-03-07 | 1 | -2/+5 |
| | | | | rsync xattrs literally). |