Hi all, I upgrade my rsync from 2.3.1 to 2.6.6 today in the client host, everything seems not working after the migration. I didn't touch the rsync server. Herewith is the log from my rsync server. I looks like something related to IPV6, anyone has any idea? Rsync Server : RHEL4 with rsync 2.6.3 deamon running Rsync Client (merlin) : Solaris 8 with rsync 2.6.6 2006/05/09 16:18:40 [5332] forward name lookup for merlin failed: Name or service not known 2006/05/09 16:18:40 [5332] rsync denied on module autoupdate from unknown (::ffff:merlin's IP address) 2006/05/09 16:18:53 [5351] forward name lookup for merlin failed: Name or service not known 2006/05/09 16:18:53 [5351] rsync denied on module autoupdate from unknown (::ffff:merlin's IP address) Regards, Donald -------------- next part -------------- HTML attachment scrubbed and removed
On Tue 09 May 2006, Foo Donald wrote:> > Rsync Server : RHEL4 with rsync 2.6.3 deamon running > Rsync Client (merlin) : Solaris 8 with rsync 2.6.6 > > > 2006/05/09 16:18:40 [5332] forward name lookup for merlin failed: Name or > service not knownWhat does "host merlin" give on the server?> 2006/05/09 16:18:40 [5332] rsync denied on module autoupdate from unknown > (::ffff:merlin's IP address)Please show your rsyncd.conf. Paul Slootman
Hi Paul, My apologist. [root@rsyncserver ~]# host -a merlin Trying "merlin" Host merlin not found: 3(NXDOMAIN) Received 99 bytes from DNS's IP Address#53 in 103 ms Regards, Donald Foo -----Original Message----- From: Paul Slootman [mailto:paul@debian.org] Sent: Wednesday, May 10, 2006 1:30 AM To: Foo Donald Subject: Re: Upgrade from 2.3.1 to 2.6.6 fail On Wed 10 May 2006, Foo Donald wrote:> Thanks Paul,It's generally more useful to reply to the list, perhaps other readers have insights into your problem, and perhaps I can't always respond directly...> Herewith is the configuration > uid = root > max connections = 6 > read only = no > log file = /var/log/rsyncd.log > pid file = /var/log/rsyncd.pid > lock file = /var/log/rsyncd.lock > > [data] > comment = data > path = /data > hosts allow = merlin's IP address> > 2006/05/09 16:18:40 [5332] forward name lookup for merlin failed: > > Name or service not known > > What does "host merlin" give on the server?I don't see your data for this... Paul Slootman
On Tue, May 09, 2006 at 05:30:24PM +0800, Foo Donald wrote:> 2006/05/09 16:18:40 [5332] rsync denied on module autoupdate from unknown (::ffff:merlin's IP address)I'm guessing that your getnameinfo() function is returning an IPv4 address in IPv6 format. The way rsync currently works, the address's "family" must match the value in the config file, so you should add the IPv6 version of an IP address to your "hosts allow" line to allow it to be in either IPv4 or IPv6 format. For instance, if the IP address is 1.2.3.4, the line would like like this: hosts allow = 1.2.3.4 ::ffff:1.2.3.4 ..wayne..
Hi Wayne, Thanks for your advice, it is working now after I put int the IPV6 format. Regards, Donald -----Original Message----- From: Wayne Davison [mailto:wayned@samba.org] Sent: Wednesday, May 10, 2006 2:03 PM To: Foo Donald Cc: rsync@lists.samba.org Subject: Re: Upgrade from 2.3.1 to 2.6.6 fail On Tue, May 09, 2006 at 05:30:24PM +0800, Foo Donald wrote:> 2006/05/09 16:18:40 [5332] rsync denied on module autoupdate from > unknown (::ffff:merlin's IP address)I'm guessing that your getnameinfo() function is returning an IPv4 address in IPv6 format. The way rsync currently works, the address's "family" must match the value in the config file, so you should add the IPv6 version of an IP address to your "hosts allow" line to allow it to be in either IPv4 or IPv6 format. For instance, if the IP address is 1.2.3.4, the line would like like this: hosts allow = 1.2.3.4 ::ffff:1.2.3.4 ..wayne..