Re: rsync server over SSH

2002-04-25 Thread Dave Dykstra
On Tue, Apr 16, 2002 at 01:04:09PM +1000, Martin Pool wrote: > I haven't had a chance to test this recently, but Dave just reminded > me that it ought to merge soon and I agree. > > I was thinking about this the other day in the context of the > Bitkeeper "bk url" manpage (if Colin will forgive m

Re: rsync server over SSH

2002-04-15 Thread Martin Pool
I haven't had a chance to test this recently, but Dave just reminded me that it ought to merge soon and I agree. I was thinking about this the other day in the context of the Bitkeeper "bk url" manpage (if Colin will forgive me :-). http://www.bitkeeper.com/manpages/bk-url-1.html They have ba

Re: rsync server over SSH [includes code patches]

2001-12-19 Thread JD Paul
On Tue, 18 Dec 2001, Martin Pool wrote: > On 4 Dec 2001, JD Paul <[EMAIL PROTECTED]> wrote: > > Here's a new version of my rsync-server-over-remote-shell patch: > > This looks good. My main reservation is that it makes it even harder > to explain how rsync works, but I think the increase in fl

Re: rsync server over SSH [includes code patches]

2001-12-17 Thread Martin Pool
On 4 Dec 2001, JD Paul <[EMAIL PROTECTED]> wrote: > Here's a new version of my rsync-server-over-remote-shell patch: This looks good. My main reservation is that it makes it even harder to explain how rsync works, but I think the increase in flexibility justifies it. I'd like to get some of

Re: rsync server over SSH [includes code patches]

2001-12-04 Thread JD Paul
Here's a new version of my rsync-server-over-remote-shell patch: - diffs (-u) against 2.5.0 - syntax for running rsync server over remote shell is rsync [options] -e ssh source [user@]host::module[/dest] rsync [options] -e ssh [user@]host::module[/source] dest If you need different username

Re: rsync server over SSH [includes code patches]

2001-11-28 Thread Martin Pool
> sun/amdahl/unixware patch All these are applied now. I changed the library routines to just include rsync.h -- Martin

Re: rsync server over SSH [includes code patches]

2001-11-28 Thread Dave Dykstra
On Thu, Nov 29, 2001 at 09:11:58AM +1100, Martin Pool wrote: ... > > 1. remove AC_FUNC_MEMCMP from configure.in because it causes Sunos > > 4.1.4 to die. memcmp() there fails the "8-bit clean" test, but it > > doesn't matter because memcmp() in rsync is only used to test if > > so

Re: rsync server over SSH [includes code patches]

2001-11-28 Thread Martin Pool
On 28 Nov 2001, Dave Dykstra <[EMAIL PROTECTED]> wrote: > Yes, I had seen it but haven't volunteered my build machines because the > build servers download code to execute over the open internet using only > an rsync server, which gives no assurance that it hasn't been spoofed. > Hopefully after

Re: rsync server over SSH [includes code patches]

2001-11-28 Thread Dave Dykstra
On Wed, Nov 28, 2001 at 10:26:35AM +1100, Martin Pool wrote: ... > I'm not sure if you've seen this: > > http://build.samba.org:80/build.pl?tree=rsync&function=Recent+Builds > > It's a pretty good tool, since I don't have direct access to (for > example) a CRAY. The downside is that it requir

Re: rsync server over SSH [includes code patches]

2001-11-27 Thread Martin Pool
On 27 Nov 2001, Dave Dykstra <[EMAIL PROTECTED]> wrote: > 2.4.7 isn't released yet. Martin has put a lot of changes in the last week > into CVS, and when I tried it yesterday it didn't compile anywhere but > Linux. Today it looks a bit better but I still have problems on all my > platforms exce

Re: rsync server over SSH [includes code patches]

2001-11-27 Thread JD Paul
Actually, my patch already has that in rsync_module(): if (is_a_socket(f_in)) { addr = client_addr(f_in); host = client_name(f_in); } else { char *ssh_client = getenv("SSH_CLIENT"); addr = ssh_client ? ssh_client : "n

Re: rsync server over SSH [includes code patches]

2001-11-27 Thread JD Paul
Hi -- Sorry for the delay getting back to you; Thanksgiving holiday intervened and I'm only now catching up on my email backlog 1. You're entirely right about the --remote-user option. I'll remove that. 2. I'll merge with the latest version from CVS. 3. I'll do that; I prefer -u myself. >

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Martin Pool
On 25 Nov 2001, Jeremy Hansen <[EMAIL PROTECTED]> wrote: > > Ok, I have the patch working, things seems to work except that using hosts > allow in the rsyncd.conf seems to break things. What an interesting bug. :-) The proximate connection to the rsync server will be from the sshd process whic

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Jeremy Hansen
Ok, I have the patch working, things seems to work except that using hosts allow in the rsyncd.conf seems to break things. Nov 25 17:39:24 rio sshd[26919]: Accepted password for jeremy from 12.162.2.10 port 61876 ssh2 Nov 25 17:39:24 rio PAM_unix[26919]: (sshd) session opened for user jeremy

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Jeremy Hansen
On Mon, 26 Nov 2001, Martin Pool wrote: > > Actually, right now I'm just a rej on main.c > > > > cali:/usr/src/redhat/SOURCES/rsync-2.4.6# patch -p0 < > > ../rsync-ssh-over-daemon.patch > > patching file `authenticate.c' > > patching file `clientserver.c' > > patching file `main.c' > > Hunk #2

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Martin Pool
> Actually, right now I'm just a rej on main.c > > cali:/usr/src/redhat/SOURCES/rsync-2.4.6# patch -p0 < > ../rsync-ssh-over-daemon.patch > patching file `authenticate.c' > patching file `clientserver.c' > patching file `main.c' > Hunk #2 FAILED at 166. > Hunk #8 FAILED at 763. > 2 out of 8 hun

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Jeremy Hansen
On Mon, 26 Nov 2001, Martin Pool wrote: > On 25 Nov 2001, Jeremy Hansen <[EMAIL PROTECTED]> wrote: > > > > Can someone tell me why this, and other patches on the list are failing > > for me. I have a feeling I'm applying these diffs incorrectly for some > > reason. > > What error do you get

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Martin Pool
On 25 Nov 2001, Jeremy Hansen <[EMAIL PROTECTED]> wrote: > > Can someone tell me why this, and other patches on the list are failing > for me. I have a feeling I'm applying these diffs incorrectly for some > reason. What error do you get when you try to apply them? You probably want somethin

Re: rsync server over SSH [includes code patches]

2001-11-25 Thread Jeremy Hansen
Can someone tell me why this, and other patches on the list are failing for me. I have a feeling I'm applying these diffs incorrectly for some reason. Thanks -jeremy On Tue, 20 Nov 2001, JD Paul wrote: > Hi -- > > I've made the changes to my code changes and the new diffs (against > 2.4.6

Re: rsync server over SSH [includes code patches]

2001-11-21 Thread Dave Dykstra
On Tue, Nov 20, 2001 at 10:44:22PM -0500, JD Paul wrote: > Hi -- > > I've made the changes to my code changes and the new diffs (against > 2.4.6 again) are included below. > > Syntax for running rsync server over a remote shell (e.g. ssh) is now: > > rsync [options] -e ssh source [user@]host::m

Re: rsync server over SSH [includes code patches]

2001-11-20 Thread JD Paul
Hi -- I've made the changes to my code changes and the new diffs (against 2.4.6 again) are included below. Syntax for running rsync server over a remote shell (e.g. ssh) is now: rsync [options] -e ssh source [user@]host::module[/dest] rsync [options] -e ssh [user@]host::module[/source] dest Ch

Re: rsync server over SSH [includes code patches]

2001-11-20 Thread JD Paul
On Tue, 20 Nov 2001, Dave Dykstra wrote: > > rsync [options] -e ssh source [...] [user@]host:::module[/path] > > rsync [options] -e ssh [user@]host:::module[/path] dest > > I'm uncomfortable with adding yet another syntax. I'd prefer just keying > off the "-e" when the two colons are used. Cur

Re: rsync server over SSH [includes code patches]

2001-11-20 Thread Dave Dykstra
On Mon, Nov 19, 2001 at 10:54:44PM -0500, JD Paul wrote: > Hi Folks -- > > I've recently had the need to add a piece of functionality to rsync > that allows one to run 'rsync --daemon' (rsync in "rsync server" mode) > over SSH. My main goal was to be able to use some of the features > from rsync