getaddrinfo ip sorting

catam gogu at l.route666.net
Fri Feb 2 10:24:32 GMT 2007


I think is a bug in glibc since rsync calls getaddrinfo
properly.

On Fri, 2 Feb 2007, catam wrote:

>
> Hi all,
>
> In short: getaddrinfo sort the list of ips if you do not specify ipv4
> in hints (maybe not 100% correct ..but is close:)
> Is it a bug that rsync do not pass ipv4 option to getaddrinfo(when connecting 
> to remote rsync over socket not rsh)?
> I am thinking it would help round robin dns mirrors..
> right now rsync will connect to the sorted ip list (even
> if is compiled w/o ipv6 OR w/ ipv6 and run w/ --ipv4)
>
> catam
>
>


More information about the rsync mailing list