search for: remote_version

Displaying 20 results from an estimated 50 matches for "remote_version".

2003 Mar 22
2
[RFC] protocol version
...t it that will be 27 (duh!) Currently the maximum compatible remote protocol is 30. This should be bumped up to 35 or 40. It has been a long time since protocol 15. I'm not suggesting changing the minimum yet, but i am thinking it might be a good idea to add a OLD_PROTOCOL_VERSION and if the remote_version <= OLD_PROTOCOL_VERSION kick out a warning. I was thinking version 19 for now since 20 was introduced about four years ago. A few revs (a year or so) from now we could then advance the MIN to the OLD and bump up the OLD and clean out some more cruft. -- ______________________________________...
2002 Jan 22
2
ssh-keyscan: xmalloc out of memory error
hi all, I got "xmalloc: out of memory" when i used ssh-keyscan to a remote host that is using SSH protocol 2 and only protocol 2 (no fallback to SSH protocol 1). Looks to me more like ssh-keyscan doesn't talk SSH protocol 2 to the server. Please help. Here is the exact error: # /usr/local/bin/ssh-keyscan -v miad_1 # miad_1 SSH-2.0-OpenSSH_3.0.2p1 xmalloc: out of memory
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
...stringp); } /* @@ -622,7 +620,7 @@ send_client_banner(int connection_out, int minor1) * identification string. */ void -ssh_exchange_identification(int timeout_ms) +ssh_exchange_identification(int timeout_ms, char **client_version_stringp, char **server_version_stringp) { char buf[256], remote_version[256]; /* must be same size! */ int remote_major, remote_minor, mismatch; @@ -632,7 +630,7 @@ ssh_exchange_identification(int timeout_ms) size_t len; int rc; - send_client_banner(connection_out, 0); + send_client_banner(connection_out, 0, client_version_stringp); /* Read other side's...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...1/10/19 04:09:27 1.1.1.4 --- clientserver.c 2001/11/19 20:31:47 1.4 *************** *** 29,48 **** int start_socket_client(char *host, char *path, int argc, char *argv[]) { ! int fd, i; ! char *sargs[MAX_ARGS]; ! int sargc=0; ! char line[MAXPATHLEN]; char *p, *user=NULL; - extern int remote_version; - extern int am_sender; extern struct in_addr socket_address; - - if (argc == 0 && !am_sender) { - extern int list_only; - list_only = 1; - } if (*path == '/') { rprintf(FERROR,"ERROR: The remote path must start with a module name\n"); return -1;...
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.
1999 Dec 06
1
Ugly patch to openssh-1.2pre15
...ection_in, &buf[i], 1) != 1) *************** *** 917,927 **** * Check that the versions match. In future this might accept * several versions and set appropriate flags to handle them. */ if (sscanf(buf, "SSH-%d.%d-%[^\n]\n", &remote_major, &remote_minor, ! remote_version) != 3) fatal("Bad remote protocol version identification: '%.100s'", buf); debug("Remote protocol version %d.%d, remote software version %.100s", remote_major, remote_minor, remote_version); /* Check if the remote protocol version is too old. */...
2002 May 29
1
Rsync doing nothing and no error message
...to each machine, no NFS. on mecc27 : /home/cadmgr/bin/rsync -avuz --delete -v -v -v -v -v -v -v -v -v /export/home1/Modules mecc29:/export/home3 > 27.log cmd= machine=mecc29 user= path=/export/home3 cmd=remsh mecc29 rsync --server -vvvvvvvvvvulogDtprz --delete . /export/home3 local_version=24 remote_version=24 building file list ... make_file(4,Modules) make_file(4,Modules/share) make_file(4,Modules/share/init) make_file(4,Modules/share/init/bash) make_file(4,Modules/share/init/csh) make_file(4,Modules/share/init/ksh) make_file(4,Modules/share/init/perl) make_file(4,Modules/share/init/sh) make_file(4,...
2002 Mar 06
0
rsync hangs in read_int (generator.c line 498)
...et: (gdb) list 486 phase++; 487 csum_length = SUM_LENGTH; 488 ignore_times=1; 489 490 if (verbose > 2) 491 rprintf(FINFO,"generate_files phase=%d\n",phase); 492 493 write_int(f,-1); 494 495 if (remote_version >= 13) { (gdb) n generate_files phase=1 493 write_int(f,-1); (gdb) n 495 if (remote_version >= 13) { (gdb) print remote_version $1 = 26 (gdb) n 498 for (i=read_int(f_recv); i != -1; i=read_int(f_recv)) { (gdb) n rsync error: received SIGUSR1 or SIGI...
2003 Jul 24
0
(no subject)
...**** *** 1038,1043 **** --- 1038,1058 ---- return flist; } + void send_batch_file_list( int f, struct file_list *flist ) + { + int n; + for (n = 0; n < flist->count; n++ ) { + send_file_entry(flist->files[n], f, 0); + } + send_file_entry(NULL, f, 0); + if (f != -1 && remote_version >= 15) { + send_uid_list(f); + } + if (f != -1 && remote_version >= 17 && !read_batch) { /* dw-added readbatch */ + extern int module_id; + write_int(f, lp_ignore_errors(module_id) ? 0 : io_error); + } + } struct file_list *recv_file_list(int f) { diff -E -B -c...
2002 Jan 13
0
rsynd-2.5.1 / io.c patches
...* buffer; + buffer = (unsigned char *)buffer1; while (total < N) { io_flush(); @@ -323,7 +330,7 @@ int32 read_int(int f) { - char b[4]; + unsigned char b[4]; int32 ret; readfd(f,b,4); @@ -336,7 +343,7 @@ { extern int remote_version; int64 ret; - char b[8]; + unsigned char b[8]; ret = read_int(f); if ((int32)ret != (int32)0xffffffff) { @@ -356,13 +363,15 @@ return ret; } -void read_buf(int f,char *buf,int len) +void read_buf(int f, void *buf,int len) { readfd(f,buf...
2004 Aug 18
0
[Bug 1618] New: rsync transfer messages
...eportedBy: tregan@t-systemsus.com QAContact: rsync-qa@samba.org Hello, I have two things that concern me; 1.) The message below that says "Server is very old version of rsync, upgrade recommended". We just upgraded to 2.6.2 2.) The error condition "local_version=24 remote_version=28", what does this mean? $ rsync -aczvvv --rsh=remsh /rsync/shipping/*.dbf orau1m@agflog25:/bucket/agf> opening connection using remsh agflog25 -l orau1m rsync --server - vvvlogDtprcz . /bucket/agfsap19/inbound Server is very o...
2002 Jul 06
2
.iso file corrupted
..., On doing "$ rsync --progress --archive --partial -vvv rsync://carroll.cac.psu.edu/redhat-ftp/redhat/linux/7.3/en/iso/i386/valhalla -i386-disc1.iso ", I got the following output <--------------------------------------------------------------------------- ------> local_version=24 remote_version=26 receiving file list ... recv_file_name(valhalla-i386-disc1.iso) received 1 names done -rw-r--r-- 668499968 2002/06/18 00:27:09 valhalla-i386-disc1.iso recv_file_list done get_local_name count=1 <NULL> generator starting pid=2156 count=1 generate_files phase=1 recv_files(1) starting recv_...
2014 Jan 08
5
[Bug 2195] New: ssh-copy-id hangs when using shared connection
https://bugzilla.mindrot.org/show_bug.cgi?id=2195 Bug ID: 2195 Summary: ssh-copy-id hangs when using shared connection Product: Portable OpenSSH Version: 6.4p1 Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P5 Component: ssh-copy-id Assignee:
2001 Aug 31
0
Weird file permission behavior
...the full command being used: rsync -r -C --exclude .snapshot -e /usr/pkg/bin/ssh -vvv --delete \ eftp.redback.com:/home/ftp/customers /service/eftp/ And here is the output (I have pared it down a bit, the full output is available if someone is masochistic enough to look at it): local_version=24 remote_version=24 local_version=24 remote_version=24 receiving file list ... add_exclude(.snapshot) [This all goes fine . . . ] recv_file_list done get_local_name count=5 /service/eftp/ [Lots of excludes get added] make_file(-1,customers) make_file(-1,customers/andan) make_file(-1,customers/rbak) make_file(-1,cus...
2002 Feb 18
1
fixes for bugs in error handling in rsync-2.5.2; and updates for rsync3.txt
...============================================== RCS file: /cvsroot/rsync/clientserver.c,v retrieving revision 1.84 diff -c -r1.84 clientserver.c *** clientserver.c 9 Feb 2002 03:30:22 -0000 1.84 --- clientserver.c 18 Feb 2002 00:39:34 -0000 *************** *** 43,48 **** --- 43,49 ---- extern int remote_version; extern int am_sender; extern char *shell_cmd; + extern int list_only; extern int kludge_around_eof; extern char *bind_address; extern int default_af_hint; *************** *** 113,119 **** /* Old servers may just drop the connection here, rather than sending a proper EXIT...
2002 Apr 03
4
Patch to avoid 'Connection reset by peer' error for rsync on cygwin
...lientserver.c --- rsync-2.5.5/clientserver.c Wed Mar 27 01:03:13 2002 +++ rsync-2.5.5-tweaked/clientserver.c Wed Apr 3 11:01:57 2002 @@ -486,39 +486,44 @@ } if (!read_line(fd, line, sizeof(line)-1)) { - return -1; + goto exitwithnomodule; } if (sscanf(line,"@RSYNCD: %d", &remote_version) != 1) { io_printf(fd,"@ERROR: protocol startup error\n"); - return -1; + goto exitwithnomodule; } while (i == -1) { line[0] = 0; if (!read_line(fd, line, sizeof(line)-1)) { - return -1; + goto exitwithnomodule; } if (!*line || strcmp(line,"#list")==0)...
2002 Feb 24
2
Write-only option
...root) FN_LOCAL_BOOL(lp_transfer_logging, transfer_logging) diff -urN rsync-2.5.2.orig/main.c rsync-2.5.2/main.c --- rsync-2.5.2.orig/main.c Fri Jan 25 11:07:41 2002 +++ rsync-2.5.2/main.c Sat Feb 23 13:49:38 2002 @@ -306,10 +306,19 @@ extern int relative_paths; extern int recurse; extern int remote_version; + extern int am_daemon; + extern int module_id; + extern int am_sender; if (verbose > 2) rprintf(FINFO,"server_sender starting pid=%d\n",(int)getpid()); + if (am_daemon && lp_write_only(module_id) && am_sender) { + rprintf(FERROR,"ERROR: module is write on...
2001 Sep 05
2
Feedback on 2.4.7pre1
FYI, We've been using the 2.4.7pre1 release for several days now, with nary a hang problem. We haven't seen the EOF bug at all, which was what we upgraded for. This is with transfers of as much as 50GB to set up an initial mirror. The only thing we did was set timeout=0 -- which I guess is unnecessary. The semantics of this flag are a bit unclear. We thought was 'time since
2003 Jan 03
1
[Fwd: Re: rsync windows -> unix still hanging :(]
...*************** *** 578,584 **** --- 582,591 ---- if (verbose > 3) rprintf(FINFO,"file list sent\n"); + io_flush(); + io_start_buffering_out(f_out); send_files(flist,f_out,f_in); + io_flush(); if (remote_version >= 24) { /* final goodbye message */ read_int(f_in); *************** *** 590,595 **** --- 597,603 ---- wait_process(pid, &status); } report(-1); + io_flush(); exit_cleanup(status); } Mike Rubel wrote: >[ .....
2003 Mar 30
1
[RFC][patch] dynamic rolling block and sum sizes II
...ite_sum_head(int f, struct sum_struct *sum) { - write_int(f_out, 0); - write_int(f_out, block_size); - write_int(f_out, 0); + static struct sum_struct null_sum; + + if (sum == (struct sum_struct *)NULL) + sum = &null_sum; + + write_int(f, sum->count); + write_int(f, sum->blength); + if (remote_version >= 27) + write_int(f, sum->s2length); + write_int(f, sum->remainder); } @@ -164,19 +172,18 @@ sum.count = (len + (block_len - 1)) / block_len; sum.remainder = (len % block_len); - sum.n = block_len; + sum.blength = block_len; sum.flength = len; + sum.s2length = csum_length;...