malformed Address

Ashwani Gahlot agahlot at usgs.gov
Fri Mar 21 09:51:01 EST 2003


Hi,

I am running rsync as daemon and using  rsyncd.conf as  follows

log file = /etc/rsyncid.log

[usda]
        path=/my_path/
        uid = web
        gid = wweb
        use chroot = yes
        read only  = no
        auth users = myuser
        secrets file = /etc/rsyncd.secrets
        hosts allow  = abc.br.usda.com pqr.br.usda.com xyz.br.usda.com
        strict modes = no

if I rsync data from xyz.br.usda.com, It went through fine, data got
transferred correctly.

But at the same time rsync daemon make entry in the rsycid.log file as
follows

2003/02/27 18:07:06 [2166] malformed address abc.br.usda.com
2003/02/27 18:07:06 [2166] malformed address pqr.br.usda.com
2003/02/27 18:07:06 [2166] rsync to usda/ from
myuser at xyz.br.usda.com(130.11.58.213)
2003/02/27 18:08:27 [2167] wrote 73 bytes  read 6408164 bytes  total size
7316089

If I changes the order of the hosts allow  entry and put the
xyz.br.usda.com as first host name , it won't make the entry in the log
file.
It seems it makes the entry in the log file for all the addresses which do
not  matches the sending host name.

My question is why we are getting the malformed address entry in the log
file, even when it is finding the correct address?
And is there a way to supress these malformed entries form log file?

Thanks in advance -

Ashwani





More information about the rsync mailing list