On Tue, 16 Dec 2008, Paul Slootman wrote:

> I'm still interested in seeing tcpdumps and perhaps strace's from the
> 3.0.3 rsync version though.
> What do your rsync invocations (in xinetd config, I mean) and
> rsyncd.conf's look like?

Ok, different host - no ip based vhosts stuff around to interfere.  Arch
is amd64 again, package is from backports.org again.

Running as daemon, to rule that out, too.



wea...@evi:~$ rsync wieck.debian.org::debian-security
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(604) 
[receiver=2.6.9]


tcpdump on the server:
| 21:52:15.409726 IP 141.201.27.216.53388 > 195.20.242.89.873: S 
2128814154:2128814154(0) win 5840 <mss 1460,sackOK,timestamp 135822590 
0,nop,wscale 7>
|         0x0000:  4500 003c 5cb4 4000 3306 8bf8 8dc9 1bd8  E..<\[email protected].......
|         0x0010:  c314 f259 d08c 0369 7ee3 204a 0000 0000  ...Y...i~..J....
|         0x0020:  a002 16d0 d9e6 0000 0204 05b4 0402 080a  ................
|         0x0030:  0818 7cfe 0000 0000 0103 0307            ..|.........
| 21:52:15.409747 IP 195.20.242.89.873 > 141.201.27.216.53388: S 
735170573:735170573(0) ack 2128814155 win 5792 <mss 1460,sackOK,timestamp 
244754398 135822590,nop,wscale 7>
|         0x0000:  4500 003c 0000 4000 4006 dbac c314 f259  E..<....@[email protected]
|         0x0010:  8dc9 1bd8 0369 d08c 2bd1 d00d 7ee3 204b  .....i..+...~..K
|         0x0020:  a012 16a0 27b2 0000 0204 05b4 0402 080a  ....'...........
|         0x0030:  0e96 a7de 0818 7cfe 0103 0307            ......|.....
| 21:52:15.430080 IP 141.201.27.216.53388 > 195.20.242.89.873: . ack 1 win 46 
<nop,nop,timestamp 135822595 244754398>
|         0x0000:  4500 0034 5cb5 4000 3306 8bff 8dc9 1bd8  [email protected].......
|         0x0010:  c314 f259 d08c 0369 7ee3 204b 2bd1 d00e  ...Y...i~..K+...
|         0x0020:  8010 002e 6ceb 0000 0101 080a 0818 7d03  ....l.........}.
|         0x0030:  0e96 a7de                                ....
| 21:52:15.430173 IP 141.201.27.216.53388 > 195.20.242.89.873: P 1:13(12) ack 1 
win 46 <nop,nop,timestamp 135822595 244754398>
|         0x0000:  4500 0040 5cb6 4000 3306 8bf2 8dc9 1bd8  e...@\[email protected].......
|         0x0010:  c314 f259 d08c 0369 7ee3 204b 2bd1 d00e  ...Y...i~..K+...
|         0x0020:  8018 002e ed71 0000 0101 080a 0818 7d03  .....q........}.
|         0x0030:  0e96 a7de 4052 5359 4e43 443a 2032 390a  ....@rsyncd:.29.
| 21:52:15.430184 IP 195.20.242.89.873 > 141.201.27.216.53388: . ack 13 win 46 
<nop,nop,timestamp 244754403 135822595>
|         0x0000:  4500 0034 77ed 4000 4006 63c7 c314 f259  e.....@[email protected]
|         0x0010:  8dc9 1bd8 0369 d08c 2bd1 d00e 7ee3 2057  .....i..+...~..W
|         0x0020:  8010 002e 6cda 0000 0101 080a 0e96 a7e3  ....l...........
|         0x0030:  0818 7d03                                ..}.
| 21:52:15.437929 IP 195.20.242.89.873 > 141.201.27.216.53388: P 1:15(14) ack 
13 win 46 <nop,nop,timestamp 244754405 135822595>
|         0x0000:  4500 0042 77ee 4000 4006 63b8 c314 f259  e.....@[email protected]
|         0x0010:  8dc9 1bd8 0369 d08c 2bd1 d00e 7ee3 2057  .....i..+...~..W
|         0x0020:  8018 002e 5f44 0000 0101 080a 0e96 a7e5  ...._D..........
|         0x0030:  0818 7d03 4052 5359 4e43 443a 2033 302e  ....@rsyncd:.30.
|         0x0040:  300a                                     0.
| 21:52:15.458208 IP 141.201.27.216.53388 > 195.20.242.89.873: . ack 15 win 46 
<nop,nop,timestamp 135822602 244754405>
|         0x0000:  4500 0034 5cb7 4000 3306 8bfd 8dc9 1bd8  [email protected].......
|         0x0010:  c314 f259 d08c 0369 7ee3 2057 2bd1 d01c  ...Y...i~..W+...
|         0x0020:  8010 002e 6cc3 0000 0101 080a 0818 7d0a  ....l.........}.
|         0x0030:  0e96 a7e5                                ....
| 21:52:15.458377 IP 141.201.27.216.53388 > 195.20.242.89.873: R 
2128814167:2128814167(0) win 0
|         0x0000:  4500 0028 3a84 4000 7606 6b3c 8dc9 1bd8  E..(:[email protected]<....
|         0x0010:  c314 f259 d08c 0369 7ee3 2057 2bd1 d01c  ...Y...i~..W+...
|         0x0020:  5004 0000 e1b2 0000 0000 0000 0000       P.............


strace on the server:
| wieck:~# strace -f -p 4131
| Process 4131 attached - interrupt to quit
| select(6, [4 5], NULL, NULL, NULL)      = 1 (in [5])
| accept(5, {sa_family=AF_INET, sin_port=htons(53388), 
sin_addr=inet_addr("141.201.27.216")}, [8589934608]) = 3
| rt_sigaction(SIGCHLD, {0x42b3a0, [], SA_RESTORER|SA_NOCLDSTOP, 
0x7f992ba44110}, NULL, 8) = 0
| clone(Process 4609 attached
| child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f992bf6e760) = 4609
| [pid  4131] close(3)                    = 0
| [pid  4609] close(4 <unfinished ...>
| [pid  4131] select(6, [4 5], NULL, NULL, NULL <unfinished ...>
| [pid  4609] <... close resumed> )       = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] umask(022)                  = 0
| [pid  4609] open("/var/log/rsyncd/rsyncd.log", O_WRONLY|O_APPEND|O_CREAT, 
0666) = 4
| [pid  4609] fstat(4, {st_mode=S_IFREG|0644, st_size=2255, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf73000
| [pid  4609] fstat(4, {st_mode=S_IFREG|0644, st_size=2255, ...}) = 0
| [pid  4609] lseek(4, 2255, SEEK_SET)    = 2255
| [pid  4609] umask(0)                    = 022
| [pid  4609] open("/etc/rsyncd.conf", O_RDONLY) = 5
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf72000
| [pid  4609] read(5, "uid = nobody\ngid = nogroup\nmax c"..., 4096) = 271
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf72000, 4096) = 0
| [pid  4609] getpeername(3, {sa_family=AF_INET, sin_port=htons(53388), 
sin_addr=inet_addr("141.201.27.216")}, [55106663790673936]) = 0
| [pid  4609] getpeername(3, {sa_family=AF_INET, sin_port=htons(53388), 
sin_addr=inet_addr("141.201.27.216")}, [55106663790673936]) = 0
| [pid  4609] socket(PF_FILE, SOCK_STREAM, 0) = 5
| [pid  4609] fcntl(5, F_GETFL)           = 0x2 (flags O_RDWR)
| [pid  4609] fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
| [pid  4609] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) 
= -1 ENOENT (No such file or directory)
| [pid  4609] close(5)                    = 0
| [pid  4609] socket(PF_FILE, SOCK_STREAM, 0) = 5
| [pid  4609] fcntl(5, F_GETFL)           = 0x2 (flags O_RDWR)
| [pid  4609] fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
| [pid  4609] connect(5, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) 
= -1 ENOENT (No such file or directory)
| [pid  4609] close(5)                    = 0
| [pid  4609] open("/etc/nsswitch.conf", O_RDONLY) = 5
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=484, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf72000
| [pid  4609] read(5, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 484
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf72000, 4096) = 0
| [pid  4609] open("/etc/ld.so.cache", O_RDONLY) = 5
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=10833, ...}) = 0
| [pid  4609] mmap(NULL, 10833, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f992bf6b000
| [pid  4609] close(5)                    = 0
| [pid  4609] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or 
directory)
| [pid  4609] open("/lib/libnss_files.so.2", O_RDONLY) = 5
| [pid  4609] read(5, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20#\0\0"..., 640) = 640
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=43368, ...}) = 0
| [pid  4609] mmap(NULL, 1090856, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f9927590000
| [pid  4609] mprotect(0x7f992759a000, 1049896, PROT_NONE) = 0
| [pid  4609] mmap(0x7f9927699000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x9000) = 0x7f9927699000
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf6b000, 10833) = 0
| [pid  4609] open("/etc/resolv.conf", O_RDONLY) = 5
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=69, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf6d000
| [pid  4609] read(5, "search debian.org\nnameserver 195"..., 4096) = 69
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf6d000, 4096) = 0
| [pid  4609] open("/etc/host.conf", O_RDONLY) = 5
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=9, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf6d000
| [pid  4609] read(5, "multi on\n", 4096) = 9
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf6d000, 4096) = 0
| [pid  4609] open("/etc/hosts", O_RDONLY) = 5
| [pid  4609] fcntl(5, F_GETFD)           = 0
| [pid  4609] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=303, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf6d000
| [pid  4609] read(5, "127.0.0.1\tlocalhost\n195.20.242.8"..., 4096) = 303
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf6d000, 4096) = 0
| [pid  4609] open("/etc/ld.so.cache", O_RDONLY) = 5
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=10833, ...}) = 0
| [pid  4609] mmap(NULL, 10833, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f992bf6b000
| [pid  4609] close(5)                    = 0
| [pid  4609] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or 
directory)
| [pid  4609] open("/lib/libnss_dns.so.2", O_RDONLY) = 5
| [pid  4609] read(5, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\22\0\0"..., 640) = 640
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=18696, ...}) = 0
| [pid  4609] mmap(NULL, 1065224, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f992748b000
| [pid  4609] mprotect(0x7f992748f000, 1048840, PROT_NONE) = 0
| [pid  4609] mmap(0x7f992758e000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x3000) = 0x7f992758e000
| [pid  4609] close(5)                    = 0
| [pid  4609] access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or 
directory)
| [pid  4609] open("/lib/libresolv.so.2", O_RDONLY) = 5
| [pid  4609] read(5, 
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\2207\0\0"..., 640) = 640
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=76600, ...}) = 0
| [pid  4609] mmap(NULL, 1133320, PROT_READ|PROT_EXEC, 
MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f9927376000
| [pid  4609] mprotect(0x7f9927387000, 1063688, PROT_NONE) = 0
| [pid  4609] mmap(0x7f9927487000, 8192, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x11000) = 0x7f9927487000
| [pid  4609] mmap(0x7f9927489000, 6920, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f9927489000
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf6b000, 10833) = 0
| [pid  4609] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
| [pid  4609] connect(5, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("195.20.224.99")}, 28) = 0
| [pid  4609] fcntl(5, F_GETFL)           = 0x2 (flags O_RDWR)
| [pid  4609] fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
| [pid  4609] poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
| [pid  4609] sendto(5, 
"\354\337\1\0\0\1\0\0\0\0\0\0\003216\00227\003201\00314"..., 45, 0, NULL, 0) = 
45
| [pid  4609] poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
| [pid  4609] ioctl(5, FIONREAD, [77])    = 0
| [pid  4609] recvfrom(5, 
"\354\337\201\200\0\1\0\1\0\0\0\0\003216\00227\003201\003"..., 1024, 0, 
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("195.20.224.99")}, 
[16]) = 77
| [pid  4609] close(5)                    = 0
| [pid  4609] open("/etc/hosts", O_RDONLY) = 5
| [pid  4609] fcntl(5, F_GETFD)           = 0
| [pid  4609] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=303, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf72000
| [pid  4609] read(5, "127.0.0.1\tlocalhost\n195.20.242.8"..., 4096) = 303
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf72000, 4096) = 0
| [pid  4609] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
| [pid  4609] connect(5, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("195.20.224.99")}, 28) = 0
| [pid  4609] fcntl(5, F_GETFL)           = 0x2 (flags O_RDWR)
| [pid  4609] fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
| [pid  4609] poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
| [pid  4609] sendto(5, 
"\31]\1\0\0\1\0\0\0\0\0\0\3evi\4came\3sbg\2ac\2at\0"..., 36, 0, NULL, 0) = 36
| [pid  4609] poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
| [pid  4609] ioctl(5, FIONREAD, [52])    = 0
| [pid  4609] recvfrom(5, 
"\31]\201\200\0\1\0\1\0\0\0\0\3evi\4came\3sbg\2ac\2at\0"..., 1024, 0, 
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("195.20.224.99")}, 
[16]) = 52
| [pid  4609] close(5)                    = 0
| [pid  4609] open("/etc/hosts", O_RDONLY) = 5
| [pid  4609] fcntl(5, F_GETFD)           = 0
| [pid  4609] fcntl(5, F_SETFD, FD_CLOEXEC) = 0
| [pid  4609] fstat(5, {st_mode=S_IFREG|0644, st_size=303, ...}) = 0
| [pid  4609] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 
-1, 0) = 0x7f992bf72000
| [pid  4609] read(5, "127.0.0.1\tlocalhost\n195.20.242.8"..., 4096) = 303
| [pid  4609] read(5, "", 4096)           = 0
| [pid  4609] close(5)                    = 0
| [pid  4609] munmap(0x7f992bf72000, 4096) = 0
| [pid  4609] socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5
| [pid  4609] connect(5, {sa_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("195.20.224.99")}, 28) = 0
| [pid  4609] fcntl(5, F_GETFL)           = 0x2 (flags O_RDWR)
| [pid  4609] fcntl(5, F_SETFL, O_RDWR|O_NONBLOCK) = 0
| [pid  4609] poll([{fd=5, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
| [pid  4609] sendto(5, 
"\364_\1\0\0\1\0\0\0\0\0\0\003216\00227\003201\003141\7"..., 45, 0, NULL, 0) = 
45
| [pid  4609] poll([{fd=5, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
| [pid  4609] ioctl(5, FIONREAD, [77])    = 0
| [pid  4609] recvfrom(5, 
"\364_\201\200\0\1\0\1\0\0\0\0\003216\00227\003201\0031"..., 1024, 0, 
{sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("195.20.224.99")}, 
[16]) = 77
| [pid  4609] close(5)                    = 0
| [pid  4609] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) 
= 0
| [pid  4609] write(4, "2008/12/17 21:52:15 [4609] conne"..., 76) = 76
| [pid  4609] setsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
| [pid  4609] fcntl(3, F_GETFL)           = 0x2 (flags O_RDWR)
| [pid  4609] fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
| [pid  4609] select(4, NULL, [3], [3], {60, 0}) = 1 (out [3], left {60, 0})
| [pid  4609] write(3, "@RSYNCD: 30.0\n", 14) = 14
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "@", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "R", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "S", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "Y", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "N", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "C", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "D", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, ":", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, " ", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "2", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "9", 1)             = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {60, 0})
| [pid  4609] read(3, "\n", 1)            = 1
| [pid  4609] select(4, [3], [], NULL, {60, 0}) = 1 (in [3], left {59, 980000})
| [pid  4609] read(3, 0x7fff33f73fa0, 1)  = -1 ECONNRESET (Connection reset by 
peer)
| [pid  4609] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) 
= 0
| [pid  4609] write(4, "2008/12/17 21:52:15 [4609] rsync"..., 77) = 77
| [pid  4609] rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
| [pid  4609] rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
| [pid  4609] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=842, ...}) 
= 0
| [pid  4609] write(4, "2008/12/17 21:52:15 [4609] rsync"..., 116) = 116
| [pid  4609] munmap(0x7f992bf73000, 4096) = 0
| [pid  4609] exit_group(12)              = ?
| Process 4609 detached
| <... select resumed> )                  = ? ERESTARTNOHAND (To be restarted)
| --- SIGCHLD (Child exited) @ 0 (0) ---
| wait4(-1, NULL, WNOHANG, NULL)          = 4609
| wait4(-1, NULL, WNOHANG, NULL)          = -1 ECHILD (No child processes)
| rt_sigreturn(0xffffffffffffffff)        = -1 EINTR (Interrupted system call)
| select(6, [4 5], NULL, NULL, NULL^C <unfinished ...>
| Process 4131 detached

on the client:

| wea...@evi:~$ strace rsync wieck.debian.org::debian-security
..
| connect(3, {sa_family=AF_INET, sin_port=htons(873), 
sin_addr=inet_addr("195.20.242.89")}, 16) = 0
| select(4, NULL, [3], [3], {60, 0})      = 1 (out [3], left {60, 0})
| write(3, "@RSYNCD: 29\n", 12)           = 12
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {59, 976000})
| read(3, "@", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "R", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "S", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "Y", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "N", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "C", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "D", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, ":", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, " ", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "3", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "0", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, ".", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "0", 1)                         = 1
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, "\n", 1)                        = 1
| select(4, NULL, [3], [3], {60, 0})      = 1 (out [3], left {60, 0})
| write(3, "debian-security\n", 16)       = 16
| select(4, [3], [], NULL, {60, 0})       = 1 (in [3], left {60, 0})
| read(3, 0xbfa43e28, 1)                  = -1 ECONNRESET (Connection reset by 
peer)
| write(2, "rsync: read error: Connection re"..., 49rsync: read error: 
Connection reset by peer (104)) = 49
| write(2, "\n", 1
| )                       = 1
| rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
| rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
| write(2, "rsync error: error in rsync prot"..., 88rsync error: error in rsync 
protocol data stream (code 12) at io.c(604) [receiver=2.6.9]) = 88
| write(2, "\n", 1
| )                       = 1
| exit_group(12)                          = ?
| Process 23906 detached



-- 
                           |  .''`.  ** Debian GNU/Linux **
      Peter Palfrader      | : :' :      The  universal
 http://www.palfrader.org/ | `. `'      Operating System
                           |   `-    http://www.debian.org/



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to