I just setup rsync on Solaris 2.6 and my log file shows: 2004/05/28 07:54:03 [20996] rsync allowed access on module foo from 0.0.0.0 (0.0.0.0) instead of the actual connecting IP address. Is this a config issue? I don't know if this is related but when building: socket.c: In function `try_bind_local': socket.c:139: warning: implicit declaration of function `getaddrinfo' socket.c:148: warning: implicit declaration of function `freeaddrinfo' clientname.c: In function `client_addr': clientname.c:71: warning: implicit declaration of function `getnameinfo' clientname.c: In function `client_name': clientname.c:126: warning: implicit declaration of function `getaddrinfo' clientname.c:144: warning: implicit declaration of function `freeaddrinfo' access.c: In function `match_address': access.c:102: warning: implicit declaration of function `getaddrinfo' access.c:113: warning: implicit declaration of function `freeaddrinfo' access.c:162: warning: implicit declaration of function `inet_pton' lib/getaddrinfo.c: In function `str_isnumber': lib/getaddrinfo.c:206: warning: subscript has type `char' lib/getaddrinfo.c: In function `getaddrinfo': lib/getaddrinfo.c:397: warning: implicit declaration of function `inet_pton' lib/getnameinfo.c: In function `getnameinfo': lib/getnameinfo.c:115: warning: comparison between signed and unsigned lib/getnameinfo.c:157: warning: implicit declaration of function `inet_ntop' -- Bill Moseley moseley@hank.org
On Fri, May 28, 2004 at 09:05:42AM -0700, Bill Moseley wrote:> I just setup rsync on Solaris 2.6 and my log file shows: > 2004/05/28 07:54:03 [20996] rsync allowed access on module foo from 0.0.0.0 (0.0.0.0)This message is only output if you're running a daemon rsync over a remote shell connection. In such a case rsync doesn't really have a good way to know where the connection came from, so it uses the value of $SSH_CLIENT (if set), otherwise it falls back to the 0.0.0.0 value. ..wayne..