Displaying 20 results from an estimated 200 matches similar to: "PATCH: fast copy of files in local server mode"
2013 Jan 31
0
File descriptors in pipe.c
I am working on rsync tool.
As rsync sends data over SSH in non-daemon mode, it forks the SSH process
in pipe.c function.
For the communication between the parent rsync and child SSH, it uses the
socket pairs.
As socket pairs are bidirectional, only one pair can be used for
communication between the parent and child.
e.g. socketpair(xx,xx,xx,xx) returns -> to_child_pipe[2]={3,4} then these
2009 Mar 25
1
Pipe creation problem: From Java app using rsync + ssh on windows with cygwin
Hello,
I'm having trouble calling rsync from java on windows vista with cygwin
installed.
Its strange as pasting the exact same command into a command shell works
fine.
My test java call looks like this.
*
String[] envVars = {"PATH=c:/cygwin/bin;%PATH%"};
File workingDir = new File("c:/cygwin/bin/");
Process p = Runtime.getRuntime().exec("c:/cygwin/bin/rsync.exe
2004 Jul 12
2
[PATCH] Batch-mode rewrite
Wayne,
Please consider the attached patch. This applies to the current
CVS, and is independant of patches/local-batch.diff. As a matter of
fact, I'm sure it would conflict heavily with local-batch.diff.
This version of batch mode has a couple distinguishing features:
Write-batch records (almost) the entire sender side of the conversation
into one file. ("Almost" because it has
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.
2018 Oct 19
2
OpenSSH socket forwarding in ssh_config file?
On 19Oct2018 17:12, Damien Miller <djm at mindrot.org> wrote:
>On Fri, 19 Oct 2018, Cameron Simpson wrote:
>> The ssh command line's -L option has supported socket forwarding for
>> a while,
>> but as far as I can tell the ssh_config file does not, even in 7.9.
>
>It does, look for LocalForward
Pardon me, I've been unclear.
I don't mean TCP forwards
2004 Jun 15
1
Re: [dovecot-cvs] dovecot/src/lib fdpass.c,1.28,1.29
Will this perhaps fix these?
imap-login: Jun 15 12:28:16 Panic: file ioloop.c: line 90: assertion
failed: (i
o->fd <= current_ioloop->highest_fd)
dovecot: Jun 15 12:28:16 Error: child 17987 (login) killed with signal 6
imap-login: Jun 15 13:14:58 Panic: file ioloop.c: line 90: assertion
failed: (i
o->fd <= current_ioloop->highest_fd)
dovecot: Jun 15 13:14:58 Error: child 13002
2002 Apr 06
0
[Bug 206] New: -SNAP-20020405: build failures on AIX 3.2.5 with XLC 1.2.1.16
http://bugzilla.mindrot.org/show_bug.cgi?id=206
Summary: -SNAP-20020405: build failures on AIX 3.2.5 with XLC
1.2.1.16
Product: Portable OpenSSH
Version: -current
Platform: Other
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo:
2002 Jan 21
1
help for tftp-hpa with libc5
I want to compile tftp-hpa on libc5 because we have many systems still using
this library.
There were some constants missing that i copied from glibc-2.1 headers, and
now I'm left with this and I don't know what to do since all I can do is
copy/paste, not touch real code :-)
===
gcc -O2 -m486 -fno-strength-reduce -D_XPG4_2 -D_XOPEN_SOURCE
-D__EXTENSIONS__ -D_BSD_SOURCE -D_ISO9X_SOURCE
2004 Jun 17
1
[PATCH] make write_batch local
Wayne,
It's taken a little while for me to get more familiar with the
code, but I think I've reached a good breakpoint in improving
batch-mode. Let me highlight some of the changes in the
attached patch:
* --write-batch and --read-batch arguments are no longer passed
from client to server. This fixes the current problem
that causes the server threads to die when the client
2003 Jul 24
0
(no subject)
Here is a diff which should allow applying batch updates remotely ( as
apposed to copying the batch files to the remote server and running rsync
there ).
Eg
rsync --write-batch=test src dst1::dst
rsync --read-batch=test dst2::dst
Oli Dewdney
diff -E -B -c -r rsync-2.5.6/flist.c rsync-2.5.6-remotebatch/flist.c
*** rsync-2.5.6/flist.c Sat Jan 18 18:00:23 2003
---
2004 Oct 13
0
[Bug 1924] New: unable to rsync between a PC with cygwin and a unix machine using rsh
https://bugzilla.samba.org/show_bug.cgi?id=1924
Summary: unable to rsync between a PC with cygwin and a unix
machine using rsh
Product: rsync
Version: 2.6.3
Platform: x86
OS/Version: Windows 2000
Status: NEW
Severity: major
Priority: P3
Component: core
AssignedTo:
2002 Apr 10
0
[Bug 213] New: -SNAP-20020410 fails to compile under AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=213
Summary: -SNAP-20020410 fails to compile under AIX 4.3.3
Product: Portable OpenSSH
Version: -current
Platform: PPC
OS/Version: AIX
Status: NEW
Severity: normal
Priority: P2
Component: Build system
AssignedTo: openssh-unix-dev at mindrot.org
2002 Jun 02
1
batch diffs
I needed a tool to produce diffs of binary volumes, and to apply them as
patches accordingly. So I tried the 'batch mode' that was added to rsync,
but it invariably segfaulted on reading the batches...
$ sh foo.rsync_argvs
foo.rsync_argvs: line 1: 8971 Segmentation fault rsync -a -v --stats --read-batch=foo ${1:-FOO}
rsync: error writing 64 unbuffered bytes - exiting: Broken pipe
2002 Jul 20
0
[PATCH] (Resubmission) Enable push to remote rsynced server using rsync:// URL
Hello,
Recently I noticed a disparity in the use of HOST::MODULE and
rsync://HOST/MODULE syntax by rsync. HOST::MODULE can be used to both
pull from and push to a remote rsyncd server, but rsync://HOST/MODULE
can only be used to pull from a remote rsyncd server. The attached
patch resolves this issue by also allowing a rsync:// URL to be used
to push files to a remote rsyncd server.
Testing:
2002 Feb 07
1
Latest version of the batch mode cleanup patch
Here's the latest version of the batch mode cleanup patch.
Index: batch.c
===================================================================
RCS file: /cvsroot/rsync/batch.c,v
retrieving revision 1.12
diff -u -r1.12 batch.c
--- batch.c 24 Jan 2002 08:09:46 -0000 1.12
+++ batch.c 6 Feb 2002 19:47:57 -0000
@@ -8,55 +8,38 @@
#include "rsync.h"
#include <time.h>
-char
2002 May 17
0
openssh-3.2.2p1 on Linux 2.0
Hi
I've found that openssh-3.2.2p1 can't be compiled on my Linux 2.0.36,
because it doesn't define CMSG_DATA and CMSG_FIRSTHDR in <linux/socket.h>.
The patch below solved this problem.
Regards,
NIDE Maoyuki, nide at ics.nara-wu.ac.jp
------------------------------------------------------------------------
diff -ru openssh-3.2.2p1.orig/defines.h openssh-3.2.2p1/defines.h
2015 Jan 25
0
SmartOS: nss_wrapper: conflicting types
Hello,
I am attempting to build Samba 4.2.0 RC4 (I have not tried previous
versions yet) and after applying attached patches the build fails with
(full build and configure output attached).
[2006/3812] Compiling lib/nss_wrapper/nss_wrapper.c
../lib/nss_wrapper/nss_wrapper.c:2405:5: error: conflicting types for
'gethostby
name_r'
In file included from
2008 Feb 20
1
alignment problem in monitor_fdpass.c
Hi,
After FreeBSD changed from using -O2 to using -O on their ARM port, I
found that sshd stopped working. (gcc version 4.2.1 20070719 [FreeBSD])
I have downloaded openssh-SNAP-20080220.tar.gz and the code still look
the same.
Anyway looking into it, I found that the problem is in monitor_fdpass.c
in the functions mm_send_fd and mm_receive_fd. Using -O2 used to align
the tmp array on a 4 byte
2008 Mar 04
1
when rsync is called with -4 or -6, pass that on to ssh [PATCH]
If rsync is called with -4 or -6, that option is currently ignored when
ssh is used as the transport. The attached patch is a stab at passing
the option on to the ssh process. It checks that the remote shell
program is something that looks like ssh. Perhaps that could be done
cleaner...
Paul Slootman
--- a/main.c 2008-03-01 21:01:41.000000000 +0100
+++ b/main.c 2008-03-04 18:55:10.933488013
2004 Oct 05
0
new option implemented: --delete-mdays
Hi folks,
we would like your feedback on a new option we have implemented. We
would like to know whether it should be merged into the CVS
tree. Perhaps one of the rsync developers can have a look at the code,
improve it where necessary, and committ it to CVS.
The name of the option is "--delete-mdays=DAYS" and it works in
conjunction with the option "--delete." It modifies