Andrew Tridgell
8d9dc9f99d
this is a large commit which adds io multiplexing, thus giving error
...
messages from the server when using the socket code.
I've doen a fair bit of testing and I don't seem to have broken
anything, but it is a very complex change. More testing needed!
1998-05-18 08:20:26 +00:00
Andrew Tridgell
d0d56395c8
for authenticated access record the authenticated username in the logs
1998-05-16 07:45:26 +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
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
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
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
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
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
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
Andrew Tridgell
0c515f17c4
added two new options "max connections" and "lock file"
1998-05-13 08:52:12 +00:00
Andrew Tridgell
56c473b795
added hosts allow and hosts deny support. I ended up writing my own as
...
the tcpd code is not quite what I wanted.
1998-05-13 08:03:47 +00:00
Andrew Tridgell
4cdf25e42e
load the config file on each connect rather than at startup
1998-05-13 00:08:03 +00:00
Andrew Tridgell
ff8b29b8c6
use syslog instead of /var/adm/rsyncd.log
1998-05-10 08:24:38 +00:00
Andrew Tridgell
8ef4ffd698
change to allow names or numbers to be used for uid and gid.
1998-05-10 08:05:56 +00:00
Andrew Tridgell
7a6421fa76
split the options parsing code into options.c
...
added the --port and --config options
use strlcpy() instead of strncpy()
some cleanups and formatting changes
1998-05-10 07:25:40 +00:00
Andrew Tridgell
2c91d3d311
better negotiation of protocol versions
1998-05-10 03:08:22 +00:00
Andrew Tridgell
3591c0660c
cleanup code a bit
1998-05-10 01:46:06 +00:00