search for: protocol_version

Displaying 20 results from an estimated 111 matches for "protocol_version".

2012 Jun 09
2
[patch] NFSv4/ZFS ACLs
...the parts that handle sending and receiving the ACL type used in the higher protocol version are compiled in unconditionally The remaining to-dos are: * autoconf integration * move platform-specific code from acl.c to lib/sysacls.c or a new file lib/sysnfs4acls.c ? * wasn't sure how to SUBPROTOCOL_VERSION worked so I've revved PROTOCOL_VERSION to 31 - if this is agreed we need to set all the code that references the higher protocol version to use the right number * rebase off HEAD fake-super support is done. I can work on the remaining to-dos but before proceeding further I wanted to know if...
2008 Mar 07
1
--server combined with -e option
...ing, but didn't trace through to verify exactly where I was in the code base: --- options.c --- 1785 /* We make use of the -e option to let the server know about any 1786 * pre-release protocol version && some behavior flags. */ 1787 argstr[x++] = 'e'; 1788 #if SUBPROTOCOL_VERSION != 0 1789 if (protocol_version == PROTOCOL_VERSION) { 1790 x += snprintf(argstr+x, sizeof argstr - x, 1791 "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION); 1792 } else 1793 #endif 1794 argstr[x++] = '.'; 1795 set_allow_inc_recurse(); 1...
2008 Mar 19
1
rsync --server -e VERSION issue
...================= --- options.c +++ options.c 2008-03-19 18:38:56.000000000 +0100 @@ -1837,14 +1837,14 @@ /* We make use of the -e option to let the server know about any * pre-release protocol version && some behavior flags. */ - argstr[x++] = 'e'; #if SUBPROTOCOL_VERSION != 0 + argstr[x++] = 'e'; if (protocol_version == PROTOCOL_VERSION) { x += snprintf(argstr+x, sizeof argstr - x, "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION); } else -#endif argstr[x++] = '....
2011 Jan 11
1
--detect-renamed for mac users : proposition of a modification
...of fileflags.diff The problem is minor : a) fileflags.diff inserts "extern int force_change;" line 33 diff --git a/compat.c b/compat.c --- a/compat.c +++ b/compat.c @@ -42,9 +42,11 @@ extern int checksum_seed; extern int basis_dir_cnt; extern int prune_empty_dirs; extern int protocol_version; +extern int force_change; extern int protect_args; extern int preserve_uid; extern int preserve_gid; b) detect-renamed.diff overlaps the previous hunk of fileflags.diff : line 36 : diff --git a/compat.c b/compat.c --- a/compat.c +++ b/compat.c @@ -42,6 +42,7 @@ extern int checksum_seed...
2015 Dec 26
0
About data/token send/receive protocol part and more
...18:21:36.264183118 +0100 +++ ./token.c 2015-12-26 03:43:09.043841052 +0100 @@ -226,8 +226,12 @@ static int32 simple_recv_token(int f, ch if (residue == 0) { int32 i = read_int(f); - if (i <= 0) + if (i <= 0) { + if (protocol_version >= 32) { + int32 j = read_int(f); /* additional metadata */ + } return i; + } residue = i; } @@ -252,8 +256,11 @@ static void simple_send_token(int f, int }...
2018 Oct 15
3
Re: [PATCH v2 3/3] v2v: -o rhv-upload: Add a test.
...; > This request handler is using HTTP/1.0, and will close the connection > after > > every request. This is not a good implementation of the imageio server, > and > > also > > hides bugs in this code. > > > > Should be fixed by adding: > > > > protocol_version = "HTTP/1.1" > > I tried the attached patch, but for some reason it just hangs. > The issue is probably missing "content-length: 0" header in the response. If we don't close the connection and don't send content-length the client cannot do much but wait :-) &g...
2004 Apr 10
0
patches for copying atimes
...7 +338,7 @@ if (!file) { write_byte(f, 0); - modtime = 0, mode = 0; + modtime = 0, atime = 0, mode = 0; rdev = 0, rdev_high = 0, dev = 0; uid = 0, gid = 0; *lastname = '\0'; @@ -386,6 +387,12 @@ flags |= XMIT_SAME_TIME; else modtime = file->modtime; + if (protocol_version > 28) { + if (file->atime == atime) + flags |= XMIT_SAME_ATIME; + else + atime = file->atime; + } #if SUPPORT_HARD_LINKS if (file->link_u.idev) { @@ -439,6 +446,8 @@ write_longint(f, file->lengt...
2011 Nov 28
0
RFC: [PATCH] Add TCP congestion control and Diffserv options
...c b/options.c index 9e95c86..6085444 100644 --- a/options.c +++ b/options.c @@ -69,6 +69,8 @@ int delete_during = 0; int delete_before = 0; int delete_after = 0; int delete_excluded = 0; +int diffserv = 8; +char *congestion_alg = NULL; int remove_source_files = 0; int one_file_system = 0; int protocol_version = PROTOCOL_VERSION; @@ -776,6 +778,8 @@ void usage(enum logcode F) rprintf(F," --address=ADDRESS bind address for outgoing socket to daemon\n"); rprintf(F," --port=PORT specify double-colon alternate port number\n"); rprintf(F," --sock...
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
..._file = NULL; @@ -1241,7 +1252,6 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, char *fnamecmp, *partialptr, *backupptr = NULL; char fnamecmpbuf[MAXPATHLEN]; uchar fnamecmp_type; - int implied_dirs_are_missing = relative_paths && !implied_dirs && protocol_version < 30; int del_opts = delete_mode || force_delete ? DEL_RECURSE : 0; int is_dir = !S_ISDIR(file->mode) ? 0 : inc_recurse && ndx != cur_flist->ndx_start - 1 ? -1 @@ -1258,22 +1268,16 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, return;...
2013 Sep 24
2
Protocol negotiation issue in rsync
...send files to a fileserver using an rssh restricted server. It refuses, saying that trying to override the shell with -e is forbidden. I didn't type "-e". When I look at the source, I see /* Checking the pre-negotiated value allows --protocol=29 override. */ if (protocol_version >= 30) { /* We make use of the -e option to let the server know about * any pre-release protocol version && some behavior flags. */ argstr[x++] = 'e'; The server is using version 26 and probably doesn't support -e.s anyway....
2013 Oct 21
1
use_safe_inc_flist not set for 3.1.0 client -> 3.0.9 daemon
...ists between a 3.1.0 client and a pre 3.1.0 daemon (protocol version 30) --- options.c.ORIG 2013-06-12 06:28:45.000000000 +1000 +++ options.c 2013-10-21 12:46:25.251082555 +1100 @@ -2477,6 +2477,8 @@ #ifdef ICONV_OPTION argstr[x++] = 's'; #endif + if (protocol_version == 30) + argstr[x++] = 'f'; } if (x >= (int)sizeof argstr) { /* Not possible... */ thanks, /Per Lundqvist
2020 Apr 13
2
Unable to set ssl_min_protocol=TLSv1.3
...ings such as SSL_TXT_TLSV1_2 == "TLSv1.2" (from openssl/ssl.h) to the appropriate version and option defines of OpenSSL. Said openssl/ssl.h does not contain a SSL_TXT_TLSV1_3, so it?s no surprise that dovecot does not know this setting. As a quick fix, I could probably extend struct {?} protocol_versions[] (in iostream-openssl-common.c again) with an appropriate "TLSv1.3" entry (and send a patch), though I would also suggest to OpenSSL to add a SSL_TXT_TLSV1_3 define. Unfortunately, I have not found a config setting in dovecot to set SSL_OP_NO_TLSv1_2, or in fact any way to enforce TLS...
2018 May 11
4
[Bug 13433] New: out_of_memory in receive_sums on large files
https://bugzilla.samba.org/show_bug.cgi?id=13433 Bug ID: 13433 Summary: out_of_memory in receive_sums on large files Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org Reporter:
2006 Jan 24
1
propagate atimes with rsync-2.6.6 (fwd)
...flist.c rsync-2.6.6_patch/flist.c --- rsync-2.6.6/flist.c 2005-07-07 21:49:14.000000000 +0200 +++ rsync-2.6.6_patch/flist.c 2006-01-07 14:04:38.000000000 +0100 @@ -54,6 +54,7 @@ extern int implied_dirs; extern int copy_links; extern int copy_unsafe_links; +extern int remote_protocol; extern int protocol_version; extern int sanitize_paths; extern int orig_umask; @@ -314,6 +315,7 @@ { unsigned short flags; static time_t modtime; + static time_t acctime; static mode_t mode; static int64 dev; static dev_t rdev; @@ -329,7 +331,7 @@ if (!file) { write_byte(f, 0); - modtime = 0, mode = 0; +...
2004 Oct 05
0
new option implemented: --delete-mdays
...15:46:00 2004 --- /tmp/rsync-2.6.3/options.c Thu Sep 23 19:39:05 2004 *************** *** 52,62 **** int cvs_exclude = 0; int dry_run = 0; int local_server = 0; int ignore_times = 0; int delete_mode = 0; - int delete_mdays = -1; int delete_excluded = 0; int one_file_system = 0; int protocol_version = PROTOCOL_VERSION; int sparse_files = 0; int do_compression = 0; --- 52,61 ---- *************** *** 263,273 **** rprintf(F," -e, --rsh=COMMAND specify the remote shell\n"); rprintf(F," --rsync-path=PATH specify path to rsync on the remote machine\n&qu...
2004 Apr 20
1
improved atime patch
...dev; @@ -341,7 +342,7 @@ if (!file) { write_byte(f, 0); - modtime = 0, mode = 0; + modtime = 0, atime = 0, mode = 0; dev = 0, rdev = makedev(0, 0); rdev_major = 0; uid = 0, gid = 0; @@ -390,6 +391,12 @@ flags |= XMIT_SAME_TIME; else modtime = file->modtime; + if (protocol_version > 28) { + if (file->atime == atime) + flags |= XMIT_SAME_ATIME; + else + atime = file->atime; + } #if SUPPORT_HARD_LINKS if (file->link_u.idev) { @@ -443,6 +450,8 @@ write_longint(f, file->lengt...
2003 Jul 24
0
(no subject)
...B -c -r rsync-2.5.6/rsync.h rsync-2.5.6-remotebatch/rsync.h *** rsync-2.5.6/rsync.h Sun Jan 26 20:11:16 2003 --- rsync-2.5.6-remotebatch/rsync.h Wed Jul 23 10:52:41 2003 *************** *** 50,56 **** #define SAME_TIME (1<<7) /* update this if you make incompatible changes */ ! #define PROTOCOL_VERSION 26 /* We refuse to interoperate with versions that are not in this range. * Note that we assume we'll work with later versions: the onus is on --- 50,56 ---- #define SAME_TIME (1<<7) /* update this if you make incompatible changes */ ! #define PROTOCOL_VERSION 27 /* We...
2004 Jan 25
2
scan for first existing hard-link file
...; file->F_HEAD != file) { + && hlink_list[file->F_INDEX] != file) { if (verbose > 1) rprintf(FINFO, "%s is a hard link\n", f_name(file)); } --- generator.c 22 Jan 2004 04:38:18 -0000 1.72 +++ generator.c 25 Jan 2004 09:56:10 -0000 @@ -43,6 +43,7 @@ extern int protocol_version; extern int always_checksum; extern char *compare_dest; extern int link_dest; +extern struct file_struct **hlink_list; /* choose whether to skip a particular file */ @@ -397,7 +398,8 @@ void recv_generator(char *fname, struct } #endif - if (preserve_hard_links && file->link...
2015 Jan 19
8
Slow ldap authentication against samba 4
hi everyone... somebody has experimented any problems with poor performance about ldap authentication against samba 4? I'm trying authentication with 300 users and many users can't login. Some conections are rejected. I doesn't found anything searching on internet. Any help? -- Grato, Jefferson Parreira dos Santos Emerick
2008 Mar 23
1
[PATCH] allow to change the block size used to handle sparse files
...t len1 = MIN(len, (size_t)sparse_files_block_size); r1 = write_sparse(f, buf, len1); } else { if (!wf_writeBuf) { diff --git a/options.c b/options.c index f2d23f6..aaffdc7 100644 --- a/options.c +++ b/options.c @@ -73,6 +73,7 @@ int remove_source_files = 0; int one_file_system = 0; int protocol_version = PROTOCOL_VERSION; int sparse_files = 0; +long sparse_files_block_size = SPARSE_WRITE_SIZE; int do_compression = 0; int def_compress_level = Z_DEFAULT_COMPRESSION; int am_root = 0; /* 0 = normal, 1 = root, 2 = --super, -1 = --fake-super */ @@ -358,6 +359,7 @@ void usage(enum logcode F) rpri...