Bug 60127 - rsync-2.4.6-10 errata ignores --address option
Summary: rsync-2.4.6-10 errata ignores --address option
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rsync
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-02-20 17:55 UTC by Greg Bailey
Modified: 2014-03-17 02:25 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-02-20 17:55:04 UTC
Embargoed:


Attachments (Terms of Use)

Description Greg Bailey 2002-02-20 17:55:00 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126
Netscape6/6.2.1

Description of problem:
When upgrading rsync from 2.4.6-2 (RedHat 7.1--RedHat 7.2 has same errata
version) to the latest errata version (2.4.6-10), the --address option stops
working.  As a RedHat mirror maintainer, my rsync scripts no longer work to
RedHat's servers because the connections originate from a different IP address.
 I verified with tcpdump that the origin IP is NOT the one specified with --address.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.  Upgrade rsync to latest errata version (2.4.6-10 as of writing)
2.  Attempt rsync with "--address" option.
3.  Notice with tcpdump that the source IP address is not the one specified
	

Actual Results:  In the case of mirroring RedHat's FTP site, I got "connection
reset by peer" messages.

Expected Results:  Should have successful rsync execution.

Additional info:

rsync script (excerpt):

rsync --address 199.172.8.160 -av --delete \
  rhm1.redhat.com::redhat/linux/6.2/en/iso/ \
  /var/ftp/pub/redhat/linux/6.2/en/iso/

Output:

read error: Connection reset by peer

tcpdump Output:

10:45:51.419455 eth0 > 199.172.8.152.47736 > 63.240.14.67.rsync: S
1047950309:1047950309(0) win 5840 <mss 1460,sackOK,timestamp 16279085
0,nop,wscale 0> (DF)
10:45:51.545291 eth0 > 199.172.8.152.47736 > 63.240.14.67.rsync: .
1047950310:1047950310(0) ack 1034653958 win 5840 (DF)
10:45:51.545466 eth0 > 199.172.8.152.47736 > 63.240.14.67.rsync: P 0:12(12) ack
1 win 5840 (DF)

The above box has both 199.172.8.152 AND 199.172.8.160 configured.

Comment 1 Bill Nottingham 2002-02-20 21:59:29 UTC
Will be fixed in rsync-2.4.6-12.


Note You need to log in before you can comment on or make changes to this bug.