Wayne Davison
3c54d8a3ad
Decided to leave the "log format" default the same as in
...
earlier versions.
2005-02-19 17:38:51 +00:00
Wayne Davison
b2dc7bad39
Changed the default log format.
2005-02-17 09:16:51 +00:00
Wayne Davison
73ed23495e
Added the "filter" parameter.
2005-01-25 00:52:53 +00:00
Wayne Davison
c96ee2310d
Added support for the "address" option.
2004-12-06 22:45:00 +00:00
Wayne Davison
0c56b1add7
Allow "port" to be specified in the rsyncd.conf file.
2004-11-27 18:24:12 +00:00
Wayne Davison
8b6ad0193d
Don't ignore case in lp_number() because the rest of the daemon code
...
can't handle the case where the module name doesn't exactly match the
string the user provided.
2004-07-30 20:05:37 +00:00
Wayne Davison
7a92ded39a
Added the "write only" option to the daemon config file.
2004-05-19 22:19:19 +00:00
Wayne Davison
46f7dc3bf6
Added "max verbosity" global parameter that allows you to configure
...
a higher debug level instead of the default of level-l verbosity.
2004-02-04 07:31:29 +00:00
Wayne Davison
58cadc8608
Merged in the security fixes from 2.5.7.
2003-12-06 21:07:27 +00:00
Wayne Davison
15089022d4
Make sure that the new slash-stripping P_PATH code doesn't turn
...
a "/" into an empty string.
2003-09-11 03:49:53 +00:00
Wayne Davison
459a83c9cc
Make sure that the "path" value has any trailing slashes removed.
2003-09-10 08:08:14 +00:00
Wayne Davison
6464bdbe13
Got rid of trailing whitespace.
2003-09-10 07:31:58 +00:00
David Dykstra
30e8c8e1e4
When using daemon mode over a remote shell program and not running as root,
...
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.
2002-08-30 23:27:26 +00:00
Martin Pool
32f761755e
Try to fix ctype issues by always calling these functions as
...
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.)
2002-04-11 02:25:53 +00:00
Martin Pool
3e8369b6dc
Correction from Nelson Beebe: argument to functions such as isspace()
...
must be an int, not a char. This could cause sign-extension problems.
2002-04-09 06:32:07 +00:00
Martin Pool
94f34ca10a
Doc.
2002-03-25 04:04:23 +00:00
Martin Pool
4366275bab
Doc: Debian uses "nogroup" instead of group "nobody", so our defaults
...
are not so good.
2002-03-15 12:53:21 +00:00
Martin Pool
1179355dab
Revert change from 1.39, because it causes a crash because of
...
attempting to free a static string. (Thankyou to Paul Mackerras.)
There's still a small leak here.
2001-12-02 08:16:15 +00:00
Martin Pool
3d2e458a4d
Fix a small memory leak that was causing an Insure warning.
2001-11-26 07:58:47 +00:00
Andrew Tridgell
ae682c3e11
got rid of some unused variables
2000-08-19 15:25:05 +00:00
Andrew Tridgell
60cb2f9016
added "ignore nonreadable" option (useful for hiding files in public archives)
2000-08-19 12:53:00 +00:00
Andrew Tridgell
69c6522734
added *.bz2 and *.tbz to default dont compress list
2000-06-24 13:20:21 +00:00
Andrew Tridgell
07a14ef8b2
by default don't gzip .iso images
2000-04-19 05:33:06 +00:00
Andrew Tridgell
cda2ae84b3
added "ignore errors" option in rsyncd.conf
1999-10-31 02:19:24 +00:00
David Dykstra
3ca8e68f58
Added "strict modes" option. When set false (default is true), it allows
...
the secrets file to be readable by other users. Added to support the Windows
port under cygwin. Problem reported by Martin Krumpolec krumpo@pobox.sk
1999-02-09 19:27:15 +00:00
David Dykstra
d41c7d025c
Use MAXHOSTNAMELEN (256) for the array holding the host_name in socket.c
...
instead of 200. Move the defines of True and False to rsync.h. Eliminate
the defines of BOOL in loadparm.c and params.c because it is already
defined in rsync.h. Changes suggested by Roman Gollent roman.gollent@wdr.com
1999-02-09 18:35:29 +00:00
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