Andrew Tridgell
5e71c4446e
made the "max connections" and "lock file" local rather than global
...
options so you can set them on a per-module basis (requested by
kernel.org mirror maintiner)
1999-01-08 07:51:25 +00:00
David Dykstra
cd64343a7a
Add "include" and "include from" rsyncd.conf options. Contributed
...
by Dennis Gilbert <dennis@oit.pdx.edu >.
1998-11-23 21:54:01 +00:00
Andrew Tridgell
83fff1aa60
added "dont compress" option with the default setting of
...
*.gz *.tgz *.zip *.z *.rpm *.deb
1998-11-20 22:26:29 +00:00
Andrew Tridgell
cd8185f2bd
added "refuse options" option
1998-11-19 06:35:49 +00:00
Andrew Tridgell
37f9805dab
changed strlcat() and strlcpy() to have the same semantics as the
...
OpenBSD functions of the same name.
changed slprintf() to take buffer length rather than buffer length -1
1998-11-14 23:31:58 +00:00
Andrew Tridgell
81791cfccb
added timeout option in rsyncd.conf
1998-11-04 03:14:22 +00:00
Andrew Tridgell
654175798b
patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
...
different exit codes for different conditions.
1998-11-03 07:08:27 +00:00
Andrew Tridgell
2c51d5deec
added a perl script to summarise the rsyncd log format
1998-10-30 06:12:14 +00:00
Andrew Tridgell
97cb8dc29b
added %m, %P and %u options to logging
1998-10-30 05:53:05 +00:00
Andrew Tridgell
e08bfe1248
added "log format" option to allow admins to choose the format for
...
rsyncd log file entries
1998-10-30 02:24:47 +00:00
Andrew Tridgell
11a5a3c704
and I thought I wasn't going to do any rsync coding for a while ...
...
Jason Andrade convinced me to add ftpd style logging of transfers,
enabled with a "transfer logging" option in rsyncd.conf
you can customise the format in log.c
1998-10-28 03:28:30 +00:00
David Dykstra
8638dd48f7
Add "use chroot" and "pid file" rsyncd.conf options. The former allows one
...
to disable the use of chroot so rsync --daemon can be run as a non-root
user (if a non-privileged --port is used). The latter allows one to
specify a file in which to write the process id of the daemon, which is
useful when rsync --daemon is not run from inetd.
1998-10-26 21:51:47 +00:00
Andrew Tridgell
4f6325c362
added "log file" option for those systems with broken syslog (like
...
AIX)
1998-09-09 05:51:42 +00:00
Andrew Tridgell
f578043391
for consistency use memcpy/memset everywhere instead of bcopy/bzero
1998-06-18 09:51:44 +00:00
Andrew Tridgell
fe8c0a9824
use Realloc instead of realloc
1998-05-28 06:40:25 +00:00
Andrew Tridgell
6cdc6b1344
fix realloc call for systems that don't handle realloc(NULL, ...)
1998-05-28 06:29: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
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
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
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
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
0c515f17c4
added two new options "max connections" and "lock file"
1998-05-13 08:52:12 +00:00
Andrew Tridgell
851dbdb775
added "syslog facility" option. It is an integer and defaults to the
...
value of LOG_DAEMON.
1998-05-13 08:12:51 +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
e45e009309
changed a couple of places to use strlcpy()
1998-05-10 12:37:26 +00:00
Andrew Tridgell
45ccc5c08c
only call openlog once
...
fix a segv in loadparm.c
1998-05-10 08:31:50 +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
0b76cd63ee
configuration parsing and loading code for rsyncd. This is based
...
on the Samba config code, so you'll find that the config files will
be eerily familiar if you have ever worked with Samba.
1998-05-09 14:00:55 +00:00