Commit Graph
251 Commits
Author SHA1 Message Date
Andrew Tridgell 08ac228fbd moved usage mesage after am_daemon test (I'd broken daemon mode) 1998-05-17 03:51:41 +00:00
Andrew Tridgell 6c29af2251 close the other half of the pipe in do_recv(). This fixes the problem
where a rsync receive process could hang around after the connection
has gone away if a fatal error occurs (such as someone killing the
other end)
1998-05-17 01:24:16 +00:00
Andrew Tridgell 6c00346849 check for right number of arguments _after_ the option parsing.
this stops "rsync -v" causing a segv.
1998-05-16 15:18:07 +00:00
Andrew Tridgell d0d56395c8 for authenticated access record the authenticated username in the logs 1998-05-16 07:45:26 +00:00
rsync-bugs e9d736a7e8 preparing for release of 2.0.7 v2.0.7 1998-05-16 05:38:33 +00:00
rsync-bugs e9ace0c77a put only the ftp directory in the template file 1998-05-16 05:35:56 +00:00
rsync-bugs 1c31ffa9af added a template file for the rsync spec file to enable automatic spec
generation
1998-05-16 05:30:33 +00:00
Andrew Tridgell d186eb1a56 - print the stats at the right place when uploading in the rsync
daemon
- update spec file
1998-05-16 05:24:40 +00:00
John H Terpstra 18baf523dc Spec file for building Red Hat RPM packages. 1998-05-16 04:23:41 +00:00
Andrew Tridgell 7b372642ec - distinguish downloads and uploads in the syslog messages
- add stats on uploads in syslog
1998-05-16 03:03:57 +00:00
rsync-bugs 4f189177dc preparing for release of 2.0.6 v2.0.6 1998-05-16 00:57:37 +00:00
Andrew Tridgell f72399f867 fixed handling of vsprintf on SunOS 1998-05-16 00:46:16 +00:00
rsync-bugs d64488e169 preparing for release of 2.0.5 v2.0.5 1998-05-15 14:12:06 +00:00
Andrew Tridgell 29110570f8 removed some debug code 1998-05-15 14:01:04 +00:00
Andrew Tridgell 3e607d2354 got rid of "EOF in map_ptr" problem. If a file shrinks mid transfer
then we supply a zero filled buffer at the end and rely on the
checksum to cause a retry. This is really the best we can do as there
is no correct semantics for copying a changing file!
1998-05-15 14:00:12 +00:00
Andrew Tridgell a6801c3977 added a "socket options" option to rsyncd.conf. This option will
provide hours of fun for those people who like to tune their systems
to the utmost degree.
1998-05-15 13:25:19 +00:00
rsync-bugs 3ef56fee8f preparing for release of 2.0.4 v2.0.4 1998-05-15 10:58:03 +00:00
Andrew Tridgell f9e940efc7 load just the globals section of the config file when the daemon
starts so we know the syslog facility for the "starting" message
1998-05-15 10:52:54 +00:00
Andrew Tridgell 1a016bfdec - changed the log messages to show the requested path
- some more paranoid buffer size checks
- separate open syslog call
- handle systems without LOG_NDELAY
1998-05-15 10:34:07 +00:00
Andrew Tridgell e42c9458c2 use strlcat() strlcpy() and slprintf() whenever possible to avoid any
chance of a buffer overflow
1998-05-15 09:26:01 +00:00
Andrew Tridgell 087bf010d2 allow the specification of multiple filenames (with or without
wildcards) to a rsync server. For example you can do:

rsync -avz samba::'ftp/pub/samba/README ftp/pub/samba/*.gz' .
1998-05-15 08:43:11 +00:00
rsync-bugs f240c06902 preparing for release of 2.0.3 v2.0.3 1998-05-15 07:55:05 +00:00
Andrew Tridgell a87b3b2ac2 use a separate "make man" target so people don't need yodl 1998-05-15 07:53:41 +00:00
rsync-bugs ed0992b888 preparing for release of 2.0.2 v2.0.2 1998-05-15 07:37:00 +00:00
Andrew Tridgell d6dead6bb1 added write buffering during the file list sending. This makes things
a bit more efficient (less system calls)
1998-05-15 07:34:19 +00:00
Andrew Tridgell 344fb1276b fixed a select bug which caused rsync to use far more cpu time than
necessary on the server
1998-05-15 07:11:29 +00:00
Andrew Tridgell e095b568d0 updated the README a bit 1998-05-15 05:42:56 +00:00
Andrew Tridgell 4c3d16be50 - added some notes about encryption and authentication to the man
pages

- documented the RSYNC_PASSWORD environment variable
1998-05-15 05:37:34 +00:00
rsync-bugs 715e727784 preparing for release of 2.0.1 v2.0.1 1998-05-15 01:19:42 +00:00
Andrew Tridgell 5805327b28 fixed typo in rsyncd exclude handling 1998-05-15 01:14:48 +00:00
Andrew Tridgell 8f3a2d54a6 added "exclude" and "exclude from" options to rsyncd.conf.
This is useful for mirroring a web site when you don't want users to
mirror everything.
1998-05-15 01:02:49 +00:00
Andrew Tridgell e22de16264 fixed SIGCLD -> SIGCHLD
fixed formatting of man page (thanks to Karsten)
1998-05-15 00:29:45 +00:00
rsync-bugs c725d76c5a preparing for release of 2.0.0 v2.0.0 1998-05-14 07:22:45 +00:00
Andrew Tridgell 5315b793d2 fixed spelling mistakes 1998-05-14 06:57:50 +00:00
Andrew Tridgell 41059f75b5 documentation!
I've written a rsyncd.conf man page (in yodl) and updated the rsync
man page.
1998-05-14 06:51:28 +00:00
Andrew Tridgell 248fbb8c23 syslog some stats 1998-05-14 04:49:30 +00:00
Andrew Tridgell fabf5ea72d now support integers or strings for syslog facility 1998-05-14 04:40:23 +00:00
Andrew Tridgell 09e13ae2dc changed "syslog facility" to an enumerated type so the string name is
used in rsyncd.conf
1998-05-14 04:38:17 +00:00
Andrew Tridgell 5a96ee0599 make host access controls case insensitive 1998-05-14 04:31:03 +00:00
Andrew Tridgell 0cea42440f removed a debug line 1998-05-13 15:56:03 +00:00
Andrew Tridgell 874895d51a added globbing support in the rsync daemon. This will allow you to
specify wildcards when grabbing files from a anon rsync daemon.
1998-05-13 15:44:04 +00:00
Andrew Tridgell f855d1a309 vsprintf returns char* on sunos4 1998-05-13 13:48:25 +00:00
Andrew Tridgell 9fc310dafe added replacement memmove 1998-05-13 13:27:36 +00:00
Andrew Tridgell 0473e2a14a define INADDR_NONE if necessary 1998-05-13 13:22:26 +00:00
Andrew Tridgell c8e78d87ad improved the authentication and in particular the error reporting 1998-05-13 12:21:10 +00:00
Andrew Tridgell bcb7e50250 first working version of challenge response authentication. needs
testing.
1998-05-13 11:49:05 +00:00
Andrew Tridgell 31593dd610 improved max connections code. Now use fcntl instead of flock.
also started on authentication code (I'm doing a challenge response
system initially)
1998-05-13 09:38:54 +00:00
Andrew Tridgell 91eee5946a save another couple of round trip latencies. This set of changes is
backwards compatible.
1998-05-13 09:08:05 +00:00
Andrew Tridgell 6c8f537302 need sys/file.h for flock() 1998-05-13 09:01:11 +00:00
Andrew Tridgell 13c5fc0e14 save one round trip (version swapping) for daemon.
This is an imcompatible change in the socket protocol. You get "is
your shell clean" if using an older rsync client
1998-05-13 08:58:07 +00:00