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

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-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 something

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-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-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 :

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 except

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-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 hunks FAILED

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 FAILED at 166.

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 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 something

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. Currently