search for: rsync_port

Displaying 20 results from an estimated 31 matches for "rsync_port".

2004 Dec 06
1
port and double-colon
...=================================================== RCS file: /cvsroot/rsync/clientserver.c,v retrieving revision 1.132 diff -u -r1.132 clientserver.c --- clientserver.c 27 Nov 2004 18:24:12 -0000 1.132 +++ clientserver.c 6 Dec 2004 07:38:29 -0000 @@ -88,6 +88,9 @@ *p = '\0'; } + if (rsync_port == 0 && (rsync_port = lp_rsync_port()) == 0) + rsync_port = RSYNC_PORT; + fd = open_socket_out_wrapped(host, rsync_port, bind_address, default_af_hint); if (fd == -1) Index: options.c =================================================================== RCS file: /cvsroot/rsync...
2004 Sep 28
1
[Patch] rsync-2.6.2: Allow 'port = N' in rsyncd.conf
...------------ Only in rsync-dmn/lib: dummy diff --unified -r rsync-2.6.2/loadparm.c rsync-dmn/loadparm.c --- rsync-2.6.2/loadparm.c Wed Feb 4 02:31:29 2004 +++ rsync-dmn/loadparm.c Tue Sep 28 12:56:51 2004 @@ -104,6 +104,7 @@ char *socket_options; int syslog_facility; int max_verbosity; + int rsync_port; } global; static global Globals; @@ -269,6 +270,7 @@ {"log file", P_STRING, P_GLOBAL, &Globals.log_file, NULL, 0}, {"pid file", P_STRING, P_GLOBAL, &Globals.pid_file, NULL, 0}, {"max verbosity", P_INTEGER, P_GLOBAL...
2009 Apr 22
1
[PATCH] allow to disable SLP with runtime option
...any feedback. Index: rsync-3.0.6pre1/loadparm.c =================================================================== --- rsync-3.0.6pre1.orig/loadparm.c 2009-04-22 12:47:39.000000000 +0200 +++ rsync-3.0.6pre1/loadparm.c 2009-04-22 13:30:39.000000000 +0200 @@ -111,6 +111,7 @@ typedef struct int rsync_port; #ifdef HAVE_LIBSLP int slp_refresh; + BOOL disable_slp; #endif } global; @@ -305,6 +306,7 @@ static struct parm_struct parm_table[] = {"port", P_INTEGER,P_GLOBAL,&Globals.rsync_port, NULL,0}, #ifdef HAVE_LIBSLP {"slp refresh", P_INTEGE...
2002 Aug 02
1
[patch] --link-dest
...============================================ RCS file: /cvsroot/rsync/options.c,v retrieving revision 1.97 diff -u -r1.97 options.c --- options.c 1 Aug 2002 17:55:11 -0000 1.97 +++ options.c 3 Aug 2002 00:08:47 -0000 @@ -115,6 +115,7 @@ char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; int rsync_port = RSYNC_PORT; +int link_dest = 0; int verbose = 0; int quiet = 0; @@ -289,7 +290,7 @@ OPT_EXCLUDE_FROM, OPT_DELETE, OPT_DELETE_EXCLUDED, OPT_NUMERIC_IDS, OPT_RSYNC_PATH, OPT_FORCE, OPT_TIMEOUT, OPT_DAEMON, OPT_CONFIG, OPT_PORT, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_STATS, OPT_...
2019 Oct 18
3
[Bug 14163] New: RSYNC_SSL_PORT env should be set for invocation of --rsh command
https://bugzilla.samba.org/show_bug.cgi?id=14163 Bug ID: 14163 Summary: RSYNC_SSL_PORT env should be set for invocation of --rsh command Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee:
2005 Nov 01
2
request: add TCP buffer options to rsync CLI?
Dear rsync folks, I'd like to request/suggest that cli options to set TCP send/receive buffers be added to rsync client-side. Summary: I'm aware that a daemon's config-file can set socket options for the server side (e.g. SO_SNDBUF, SO_RCVBUF). That is useful. But when trying to get high-throughput rsync over long paths (i.e. large bandwidth*delay product), since
2015 Feb 25
4
CentOS 7, systemd and firewall-cmd
Chris Murphy wrote: > firewall-cmd --add-service=rsyncd > firewall-cmd --add-service=rsyncd Error: INVALID_SERVICE: rsyncd Is there another place that there needs to be an rsyncd service file, whatever it's supposed to be named, *other* than where systemd wants it? mark > To make it permanent, do the above and this: > firewall-cmd --permanent --add-service=rsyncd > >
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.
2002 Mar 22
1
[PATCH] --link-dest option
...========================================== RCS file: /cvsroot/rsync/options.c,v retrieving revision 1.89 diff -u -r1.89 options.c --- options.c 19 Mar 2002 20:16:42 -0000 1.89 +++ options.c 21 Mar 2002 23:31:27 -0000 @@ -113,6 +113,7 @@ char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; int rsync_port = RSYNC_PORT; +int link_dest = 0; int verbose = 0; int quiet = 0; @@ -282,7 +283,7 @@ OPT_EXCLUDE_FROM, OPT_DELETE, OPT_DELETE_EXCLUDED, OPT_NUMERIC_IDS, OPT_RSYNC_PATH, OPT_FORCE, OPT_TIMEOUT, OPT_DAEMON, OPT_CONFIG, OPT_PORT, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_STATS, OPT_...
2002 Sep 22
2
[patch] SLP support (+ question)
...I'm running the SLP routines in clientserver.c (see patch, with // style comment lines), but it isn't. If anyone can find a better spot to do the service registration, please hack away, or let me know. Other known problems: * shouldn't hardwire the portnum, instead should read from rsync_port. * needs to have a standard set of attributes defined. I'll chase this up with Erik Guttman. * Needs to do smarter things if hostname or domainname are broken. * Probably needs to do smarter things for multi-homed hosts. If anyone was in doubt after all that: DON"T APPLY THIS TO A PRODU...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...'/') { rprintf(FERROR,"ERROR: The remote path must start with a module name\n"); return -1; *************** *** 55,68 **** *p = 0; } - if (!user) user = getenv("USER"); - if (!user) user = getenv("LOGNAME"); - fd = open_socket_out(host, rsync_port, &socket_address); if (fd == -1) { exit_cleanup(RERR_SOCKETIO); } server_options(sargs,&sargc); sargs[sargc++] = "."; --- 49,95 ---- *p = 0; } fd = open_socket_out(host, rsync_port, &socket_address); if (fd == -1) { exit_cleanup(RERR_...
2003 Sep 05
1
new option suggestion '--backup-only'
...able_deltas_p()) { write_int(f_out,i); write_sum_head(f_out, NULL); diff -ur rsync/options.c rsync-backuponly/options.c --- rsync/options.c 2003-08-06 15:45:14.000000000 +0900 +++ rsync-backuponly/options.c 2003-09-02 15:53:10.000000000 +0900 @@ -119,6 +119,7 @@ char *backup_dir = NULL; int rsync_port = RSYNC_PORT; int link_dest = 0; +int backup_only = 0; int verbose = 0; int quiet = 0; @@ -222,6 +223,7 @@ rprintf(F," -b, --backup make backups (default %s suffix)\n",BACKUP_SUFFIX); rprintf(F," --backup-dir make backups into this directory\n...
2015 Feb 25
0
CentOS 7, systemd and firewall-cmd
...cd > Error: INVALID_SERVICE: rsyncd > > Is there another place that there needs to be an rsyncd service file, > whatever it's supposed to be named, *other* than where systemd wants it? > > mark > You can also specify the port firewall-cmd --permanent --add-port=<rsync_port>/tcp > > To make it permanent, do the above and this: > > firewall-cmd --permanent --add-service=rsyncd > > > > > > Chris Murphy > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > http://...
2006 Apr 26
2
--link-dest and file/dir transfer to remote rsync daemon
Hi NG, I want to do incremental backups to a remote server running rsyncd (because daemonless transfer via ssh often hangs!). In contrast to transfer via ssh (without remote rsyncd) this doesn't seem possible, or do I miss something? Imagine I want to incrementally backup `mydir' to the backup space `backup' on e remote server `alpha' running an rsync daemon. rsyncd on
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...----- next part -------------- patchwork diff options.c --- options.c 2004-02-09 15:42:40.000000000 -0500 +++ options.c 2004-02-09 15:42:40.000000000 -0500 @@ -117,6 +117,7 @@ char *password_file = NULL; char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; +char *link_by_hash_dir = NULL; int rsync_port = RSYNC_PORT; int link_dest = 0; @@ -258,6 +259,7 @@ rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); rprintf(F," --link-dest=DIR...
2002 Jul 20
0
[PATCH] (Resubmission) Enable push to remote rsynced server using rsync:// URL
...Last parameter is rsync://HOST/MODULE. + * Send to remote rsyncd server. */ + + host = argv[argc-1] + strlen(URL_PREFIX); + p = strchr(host,'/'); + if (p) { + *p = 0; + path = p+1; + } else { + path=""; + } + p = strchr(host,':'); + if (p) { + rsync_port = atoi(p+1); + *p = 0; + } + return start_socket_client(host, path, argc-1, argv); + } + p = find_colon(argv[argc-1]); if (!p) { + /* Local copy. */ local_server = 1; } else if (p[1] == ':') { + /* Last paramter is HOST::MODULE. + * Send to remote rsyncd server....
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 4).
...chwork diff options.c --- options.c 2004-02-23 10:22:51.000000000 -0500 +++ options.c 2004-02-23 10:29:14.000000000 -0500 @@ -119,6 +119,7 @@ char *password_file = NULL; char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; +char *link_by_hash_dir = NULL; char backup_dir_buf[MAXPATHLEN]; int rsync_port = RSYNC_PORT; int link_dest = 0; @@ -264,6 +265,7 @@ rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); rprintf(F," --link-dest=DIR...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...chwork diff options.c --- options.c 2004-02-17 10:36:44.000000000 -0500 +++ options.c 2004-02-17 10:36:44.000000000 -0500 @@ -119,6 +119,7 @@ char *password_file = NULL; char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; +char *link_by_hash_dir = NULL; char backup_dir_buf[MAXPATHLEN]; int rsync_port = RSYNC_PORT; int link_dest = 0; @@ -264,6 +265,7 @@ rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); rprintf(F," --link-dest=DIR...
2004 Feb 23
0
[patch] Add `--link-by-hash' option (rev 5).
...chwork diff options.c --- options.c 2004-02-23 10:22:51.000000000 -0500 +++ options.c 2004-02-23 10:29:14.000000000 -0500 @@ -119,6 +119,7 @@ char *password_file = NULL; char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; +char *link_by_hash_dir = NULL; char backup_dir_buf[MAXPATHLEN]; int rsync_port = RSYNC_PORT; int link_dest = 0; @@ -264,6 +265,7 @@ rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); rprintf(F," --link-dest=DIR...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...chwork diff options.c --- options.c 2004-02-16 10:24:37.000000000 -0500 +++ options.c 2004-02-16 11:26:27.000000000 -0500 @@ -119,6 +119,7 @@ char *password_file = NULL; char *rsync_path = RSYNC_PATH; char *backup_dir = NULL; +char *link_by_hash_dir = NULL; char backup_dir_buf[MAXPATHLEN]; int rsync_port = RSYNC_PORT; int link_dest = 0; @@ -264,6 +265,7 @@ rprintf(F," -T --temp-dir=DIR create temporary files in directory DIR\n"); rprintf(F," --compare-dest=DIR also compare destination files relative to DIR\n"); rprintf(F," --link-dest=DIR...