Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updated the exclude-list code to handle the new linked-list | Wayne Davison | 2004-04-14 | 1 | -1/+1 |
| | | | | structure format. | ||||
* | Moved (and expanded) a verbose message from clientserver.c to socket.c | Wayne Davison | 2004-04-14 | 1 | -9/+1 |
| | | | | to solve an old FIXME comment. | ||||
* | Use the new XFLG_* flags to call the add_exclude*() functions. | Wayne Davison | 2004-04-12 | 1 | -4/+7 |
| | |||||
* | The args are now sanitized in parse_arguments() instead of here. | Wayne Davison | 2004-03-27 | 1 | -13/+0 |
| | |||||
* | Use MY_UID() instead of getuid(). | Wayne Davison | 2004-02-04 | 1 | -2/+2 |
| | |||||
* | Use the new lp_max_verbosity() value to limit the server's "verbose" | Wayne Davison | 2004-02-04 | 1 | -1/+2 |
| | | | | value. | ||||
* | Better pid handling. | Wayne Davison | 2004-01-27 | 1 | -2/+2 |
| | |||||
* | Tweaked the externs. | Wayne Davison | 2004-01-27 | 1 | -17/+15 |
| | |||||
* | Use new push_dir() syntax. | Wayne Davison | 2004-01-20 | 1 | -2/+2 |
| | |||||
* | In two places: needed to use protocol_version, not PROTOCOL_VERSION. | Wayne Davison | 2004-01-15 | 1 | -2/+2 |
| | |||||
* | Got rid of support for protocols 17 and 18. | Wayne Davison | 2004-01-08 | 1 | -2/+2 |
| | |||||
* | If lp_path() returns "/", set exclude_path_prefix to "" (because the | Wayne Davison | 2003-09-11 | 1 | -0/+2 |
| | | | | exclude code doesn't want any trailing slashes). | ||||
* | Changed most instances of "remote_version" to "protocol_version", and | Wayne Davison | 2003-09-09 | 1 | -12/+14 |
| | | | | | others to "remote_protocol". Downgrade the protocol_version if the remote_protocol is lower. | ||||
* | Call setgroups(1, &gid) after setting the gid (rather than calling | Wayne Davison | 2003-08-20 | 1 | -10/+9 |
| | | | | setgroups(0, NULL) before). | ||||
* | We now put the excludes from the config file into a "server_exclude_list" | Wayne Davison | 2003-07-01 | 1 | -8/+14 |
| | | | | using the revised add_exclude_line() arg syntax. | ||||
* | Cleaned up whitespace/indentation. | Wayne Davison | 2003-05-10 | 1 | -49/+48 |
| | |||||
* | Support the new --files-from option. | Wayne Davison | 2003-03-30 | 1 | -0/+4 |
| | |||||
* | Got rid of O_TEXT_STR change. | Wayne Davison | 2003-01-26 | 1 | -1/+1 |
| | |||||
* | Open config files in text mode when O_TEXT is defined. This helps on | David Dykstra | 2003-01-26 | 1 | -1/+1 |
| | | | | | Cygwin when the config files are on a filesystem that is mounted in binary mode. Patch from Ville Herva. | ||||
* | When using daemon mode over a remote shell program and not running as root, | David Dykstra | 2002-08-30 | 1 | -0/+2 |
| | | | | | | | | | default the config file to just "rsyncd.conf" in the current directory instead of /etc/rsyncd.conf. Also, fix problems with logging messages when running daemon mode over a remote shell program: it was pretty much doing the opposite of what it should have, sending early error messages to the log and later messages to the client. Switched it around so the very early error messages go to the client and the later ones go to the log. | ||||
* | Fix to correctly identify remote IP address and host name when using | David Dykstra | 2002-08-01 | 1 | -20/+2 |
| | | | | | | -e ssh and :: together. Uses $SSH_CLIENT to locate the IP address (was attempting to before but it didn't always work) and then uses inet_pton() on that and getnameinfo() to find the name. | ||||
* | Moved the end of start_socket_client() into a new function called | Wayne Davison | 2002-08-01 | 1 | -78/+114 |
| | | | | | | start_inband_exchange() and made several functions take two fds (for the daemon via remote-shell support). The start_daemon() function is no longer static and now works on non-socket fds. | ||||
* | When -e is specified along with an rsyncd url, the client should get a | Martin Pool | 2002-04-15 | 1 | -1/+1 |
| | | | | | | warning but it should not be treated as an error. (Bill Nottingham) http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=62489 | ||||
* | Try to fix ctype issues by always calling these functions as | Martin Pool | 2002-04-11 | 1 | -2/+2 |
| | | | | | | | | | if (!isdigit(* (unsigned char *) p)) { so that the argument is always in the range of unsigned char when coerced to an int. (See digit 1.) | ||||
* | Receiving an @ERROR line from the server is (I think) always fatal, so | Martin Pool | 2002-04-11 | 1 | -2/+6 |
| | | | | | the client should exit upon receiving one and not be surprised that the socket closes. | ||||
* | Doc start_socket_client | Martin Pool | 2002-04-09 | 1 | -0/+1 |
| | |||||
* | Doc start_socket_client | Martin Pool | 2002-04-09 | 1 | -1/+6 |
| | |||||
* | Doc. | Martin Pool | 2002-04-09 | 1 | -1/+7 |
| | |||||
* | Doc. | Martin Pool | 2002-04-09 | 1 | -20/+25 |
| | |||||
* | Split code out into separate files and remove some global variables to | Martin Pool | 2002-04-08 | 1 | -1/+1 |
| | | | | | | reduce symbol dependencies between files and therefore make it easier to write unit tests. The diff is large, but the actual code changes are pretty small. | ||||
* | Improved network error handling. (Greg A. Woods) | Martin Pool | 2002-03-27 | 1 | -1/+2 |
| | |||||
* | If there's an error in start_socket_client, print an explanation as | Martin Pool | 2002-03-22 | 1 | -4/+13 |
| | | | | | | | | | | well as failing. Doc. Trying to work out why daemon-gzip-download.test fails on SCO with rsync error: unexplained error (code 190) at main.c(886) | ||||
* | Doc: "opening tcp connection to %s port %d" is kind of misleading when | Martin Pool | 2002-03-14 | 1 | -0/+3 |
| | | | | running the test case. | ||||
* | Cygwin doesn't have setgroups() so probe for the function in configure | David Dykstra | 2002-02-27 | 1 | -0/+2 |
| | | | | and don't try to call it if it doesn't exist. | ||||
* | With -vv, client shows a message when opening a daemon connection. | Martin Pool | 2002-02-23 | 1 | -0/+2 |
| | | | | | This parallels the recent addition of a log message for opening ssh connections. | ||||
* | Make setgroups(0,0) unconditional -- accidentally thinking we have | Martin Pool | 2002-02-21 | 1 | -2/+0 |
| | | | | | don't it on a machine that does have supplementary groups would be a security hole. If this breaks anything we'll fix it later. | ||||
* | If a daemon prints an error message of @ERROR, have the client treat the | David Dykstra | 2002-02-18 | 1 | -1/+4 |
| | | | | message as an FERROR rather than an FINFO. | ||||
* | Oops -- have to call setgroups() before giving up root. | Martin Pool | 2002-02-09 | 1 | -10/+20 |
| | | | | | Doc some of the peculiarities about starting rsyncd as root vs non-root. | ||||
* | Make sure we call setgroups() after setuid(). (Ethan Benson) | Martin Pool | 2002-02-09 | 1 | -0/+10 |
| | |||||
* | Remove the "rsync:" prefixes on FINFO messages. Return the "building file | David Dykstra | 2002-02-07 | 1 | -0/+2 |
| | | | | | | list ... done" to the way it was in 2.5.1 and before when not using -P. Apply the file list progress messages when receiving files in addition to sending files. | ||||
* | rsync_module: If host-based access fails, show the exact name/address | Martin Pool | 2002-01-24 | 1 | -2/+2 |
| | | | | used for the check in the error message. (Just in case...) | ||||
* | Get rid of global_opts struct as suggested by Dave -- too many | Martin Pool | 2001-12-18 | 1 | -2/+4 |
| | | | | | | | | | problems with initialization. Change the algorithm from trying to open an inbound socket with getaddrinfo: keep trying suggested addresses until we find one on which we can both get a socket and bind. Not convinced this is the best, but it's probably better. | ||||
* | Add --no-detach option for W32, daemontools, etc. | Martin Pool | 2001-12-05 | 1 | -1/+2 |
| | |||||
* | Doc. | Martin Pool | 2001-12-05 | 1 | -1/+2 |
| | |||||
* | Put the new address family option into an options struct. We have too | Martin Pool | 2001-11-26 | 1 | -1/+2 |
| | | | | | | many globals already. Better error messages for network-related failures. | ||||
* | Set rsync version in configure.in | Martin Pool | 2001-11-24 | 1 | -1/+2 |
| | | | | Show IPv6 availability in --version. | ||||
* | Merge KAME.net IPv6 patch: you can now (in theory) pass IPv6 hostnames | Martin Pool | 2001-11-23 | 1 | -3/+3 |
| | | | | | | or literal IP addresses to rsync, and if your platform supports them they will be used. Also there are -4 and -6 command-line options to choose the default address type. Thankyou! | ||||
* | Document chroot confusion. | Martin Pool | 2001-11-09 | 1 | -4/+12 |
| | |||||
* | Add comment about handling of 'use chroot' | Martin Pool | 2001-08-31 | 1 | -0/+4 |
| | |||||
* | Merge in the LIBSMB_PROG idea from samba, so that you can do | Martin Pool | 2001-08-31 | 1 | -1/+1 |
| | | | | | | RSYNC_CONNECT_PROG='./rsync --daemon' ./rsync -vvvvvv localhost:: to test as a daemon without actually having to listen on a port. |