search for: get_local_nam

Displaying 20 results from an estimated 91 matches for "get_local_nam".

Did you mean: get_local_name
2006 Feb 24
1
get_local_name
Wayne, I have redone get_local_name again (patch attached), this time to enable rsync to remove a file to make way for a destination directory; this resolves the "surprise" noted in David Tonhofer's diagram 2. I also made it obey --keep-dirlinks when looking for a destination directory and made various rearrangements....
2003 Oct 30
1
Patch to make sshd work on multihomed systems
As far as I know this patch has no security implications -- I don't believe that allowing sshd to use get_local_name() (in canohost.c) on a connected socket to determine it's own fqdn will allow a malicious client (or router or dns server) to make it come to the wrong conclusion. But please let me know if you think I'm wrong. Please also let me know if you're just not interested :-) This patch is...
2006 Feb 22
2
DO NOT REPLY [Bug 3542] New: "rsync --list-only a b/" tries to create b
...ority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: hashproduct@verizon.net QAContact: rsync-qa@samba.org Rsync's --list-only option requires a destination, which is strange because the destination isn't used for anything. Nevertheless, in get_local_name, rsync ensures that the destination is usable, which may involve trying to create the destination as a directory. Luckily, if rsync tries to create the directory, the attempt is caught in do_mkdir and an error message results, but rsync really shouldn't care about the destination at all. The...
2009 Mar 09
3
[Bug 1569] New: Hostbased auth fails when using a proxy command
...: All Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: unassigned-bugs at mindrot.org ReportedBy: imorgan at nas.nasa.gov Created an attachment (id=1612) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1612) Allow get_local_name() to handle a socket or pipe. If hostbased authentication is enabled and a proxy command is used to connect to the server, the following warning messages typically appear: cannot get sockname for fd ssh_keysign: no reply key_sign failed This is due to the assumption that the file descriptor pa...
2003 Apr 24
1
Trailing slash in destination
...on. In the above, instead of creating the site1 directory and saving the access_0.gz file in it as site1/access_0.gz, rsync tries to write (temporarily) to site1/.JQRG86. Since there is no site1 directory yet, this is not a valid Linux file name. The actual code that is responsible for this is the get_local_name() function in main.c static char *get_local_name(struct file_list *flist,char *name) { struct stat st; . . . if (flist->count == 1) return name; . . . } i.e. if there is only one file to be copied, take the destination argument, including the trailing slash, as the destinat...
2018 Dec 30
2
--partial does not "unhide" the files
...ng pid=21983 uid 1000(heiko) maps to 1000 gid 1000(heiko) maps to 1000 recv_file_name(x) received 1 names [Receiver] flist start=1, used=1, low=0, high=0 [Receiver] i=1 1 x mode=0100644 len=0 uid=1000 gid=1000 flags=1000 recv_file_list done [Receiver] flist_eof=1 get_local_name count=1 /shares/Storage/Bilder von Heikos Computer/ [Receiver] change_dir(/shares/Storage/Bilder von Heikos Computer) generator starting pid=21983 delta-transmission enabled recv_generator(x,1) send_files(1, ./x) count=0 n=0 rem=0 send_files mapped ./x of size 0 cal...
2018 Dec 31
2
--partial does not "unhide" the files
...file list sent send_files starting -server_recv(2) starting pid=16534 +server_recv(2) starting pid=18896 recv_file_name(x) received 1 names [Receiver] flist_eof=1 @@ -18,7 +18,7 @@ [Receiver] i=0 1 x mode=0100644 len=0 flags=1000 recv_file_list done get_local_name count=1 /tmp/y -generator starting pid=16534 +generator starting pid=18896 delta-transmission enabled recv_generator(y,0) send_files(0, ./x) @@ -30,10 +30,11 @@ false_alarms=0 hash_hits=0 matches=0 sender finished ./x generate_files phase=1 -recv_files...
2007 May 17
7
[Bug 616] proxycommand breaks hostbased authentication.
http://bugzilla.mindrot.org/show_bug.cgi?id=616 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org, | |simon at sxw.org.uk --- Comment #2 from
2003 Jul 12
0
[Bug 616] proxycommand breaks hostbased authentication.
...Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-bugs at mindrot.org ReportedBy: stuart at kaloram.com I believe I've discovered a problem with proxycommand and hostbased authentication. userauth_hostbased() calls get_local_name(packet_get_connection_in()) to figure out the name for the client host. get_local_name() calls getsockname(2), but when using a proxycommand, packet_get_connection_in() is returning a pipe, not a socket. -stuart ------- You are receiving this mail because: ------- You are the assignee for the...
2003 Sep 30
2
problem with batch mode:
...ep 29 16:29 rs.rsync_csums -rw------- 1 0 0 26634899 Sep 29 16:30 rs.rsync_delta dr-xr-xr-x 4 0 0 453 Sep 29 16:30 ./ Trying to do a test fails. I do not not why: alfred:/Auslieferung/CD # sh rs.rsync_argvs send_files starting server_recv(2) starting pid=6353 get_local_name count=1 CD-ROM-V6.6.31.zip generator starting pid=6353 count=1 delta-transmission disabled for local transfer or --whole-file recv_generator(CD-ROM-V6.6.31.zip,0) send_files(0,CD-ROM-V6.6.32.zip) CD-ROM-V6.6.32.zip rs.rsync_argvs: line 1: 6352 Segmentation fault rsync -avvv --read-batch=rs $...
2002 Jul 06
2
.iso file corrupted
...<--------------------------------------------------------------------------- ------> 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_files phase=1 generate_files phase=2 recv_files finished wrote 142 bytes read 1068 bytes 23.05 bytes/sec total size is 668499968 speedup is 552479.31 <--------------------------------...
2005 Oct 20
1
[Bug 3198] rsyncing a file to a dest path where dirname(path) is a file quietly fails
https://bugzilla.samba.org/show_bug.cgi?id=3198 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From wayned@samba.org 2005-10-20 09:45
2004 Dec 27
7
[Bug 2187] rsync large file getting verification failed using -z
https://bugzilla.samba.org/show_bug.cgi?id=2187 ------- Additional Comments From qiucheng@csc.com.cn 2004-12-27 01:15 ------- Created an attachment (id=869) --> (https://bugzilla.samba.org/attachment.cgi?id=869&action=view) error log -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact
2006 Feb 24
2
DO NOT REPLY [Bug 3549] New: rsync applies umask to some directories even when a default ACL takes effect
...receiving rsync runs with umask 0 and thus applies the umask to the permissions it gives to mkdir; if the new directory's containing directory is a default ACL, mkdir will apply the default ACL automatically, but the umask should not be applied. The correct technique, which is already used in get_local_name to create a top-level destination directory outside the transfer, is to set the umask back to the original umask temporarily and pass 0777 to mkdir. The patch I will soon attach factors this technique out into a function do_mkdir_defmode in util.c and changes both the current get_local_name code...
2009 Jul 14
1
--delete not working (minimal example)
...output with more verbose options $ rsync -a -vvv box1/ box2/ sending incremental file list [sender] make_file(.,*,0) [sender] make_file(letter,*,2) send_file_list done send_files starting server_recv(2) starting pid=4777 recv_file_name(.) recv_file_name(letter) received 2 names recv_file_list done get_local_name count=2 box2/ generator starting pid=4777 delta-transmission disabled for local transfer or --whole-file recv_generator(.,0) recv_files(2) starting send_files(0, box1/.) recv_generator(.,1) recv_generator(letter,2) letter is uptodate send_files(2, box1/letter) generate_files phase=1 send_files pha...
2002 Sep 25
4
pulling data from the server
...u050 /export/treeA> rsync -r -vvv --port 9876 u018::treeA opening tcp connection to u018 port 9876 Ahoj! receiving file list ... recv_file_name(.) recv_file_name(a) received 2 names done drwxr-xr-x 512 2002/09/25 15:20:18 . -rw-r--r-- 9 2002/09/25 15:20:18 a recv_file_list done get_local_name count=2 <NULL> recv_files(2) starting generator starting pid=197 count=2 generate_files phase=1 recv_files phase=1 generate_files phase=2 recv_files finished wrote 63 bytes read 74 bytes 274.00 bytes/sec total size is 9 speedup is 0.70 _exit_cleanup(code=0, file=main.c, line=925): about t...
2004 Jul 14
12
HP-UX 11i and largefiles on rsync 2.6.2
Hello, I'm running HP-UX 11i on an rp74xx. It's 64-bit. C compiler is as follows: B3901BA B.11.11.03 HP C/ANSI C Developer's Bundle for HP-UX 11.i (S800) B3913DB C.03.30.02 HP aC++ Compiler (S800) /usr/bin/cc: LINT B.11.11.02 CXREF B.11.11.02 HP92453-01 B.11.11.02 HP C Compiler $ Sep 8 2000 23:13:51 $ I have successfully compiled rsync 2.6.2 and it
2020 Jun 10
2
Delta-compression and --write-devices
...sender instead of the receiver, but the behaviour is the same. Based on the log output and the source code I suspect that the problem occurs because the delta-compression determines the size of the destination to be 0. I base that on the following diff of the rsync output: recv_file_list done -get_local_name count=1 /dev/dm-7 +get_local_name count=1 /root/file -[Receiver] change_dir(/dev) +[Receiver] change_dir(/root) -generator starting pid=2490 +generator starting pid=2486 delta-transmission enabled -recv_generator(dm-7,0) +recv_generator(file,0) -gen mapped dm-7 of size 0 *** +gen mapped file of si...
2006 Jan 10
13
DO NOT REPLY [Bug 3392] New: fuzzy misbehaving if source is a file
https://bugzilla.samba.org/show_bug.cgi?id=3392 Summary: fuzzy misbehaving if source is a file Product: rsync Version: 2.6.6 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: egmont@uhulinux.hu
2010 Feb 05
1
Error 11: can not backup /var/lib/zope2.9
...one-site/var/pts/PloneTranslations.i18n-linguaplone-zh-hk.mo) [sender] make_file(zope2.9/instance/plone-site/var/pts/PloneTranslations.i18n-archetypes-bn.mo,*,2) recv_file_name(zope2.9/instance/plone-site/var/pts/PloneTranslations.i18n-archetypes-bn.mo) received 8387 names done recv_file_list done get_local_name count=8387 /space/r5backup/boulder/1265202994//var/lib _exit_cleanup(code=11, file=main.c, line=594): about to call exit(11) How can I isolate the problem? I use 64 Bit Debian hermes:/var/log/r5backup# rsync --version rsync version 3.0.3 protocol version 30 Copyright (C) 1996-2008 by Andrew Tr...