Bug 5067 - hosts allow - Forward Host Name Lookup
Summary: hosts allow - Forward Host Name Lookup
Status: RESOLVED FIXED
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.1.0
Hardware: Other All
: P3 normal (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-09 21:18 UTC by Paul Williamson
Modified: 2011-01-03 21:09 UTC (History)
0 users

See Also:


Attachments
Patch to 2.6.9 to allow forward host name lookup as described (1.27 KB, patch)
2007-11-09 23:06 UTC, Paul Williamson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Williamson 2007-11-09 21:18:18 UTC
Currently the 'host allow' configuration option does a reverse lookup.

It would be more useful if rsync could do a forward look up of the host and match the IP Address agains the look host name.

This allows for the rsync directory to be secured via a service such as no-ip.com.
Comment 1 Paul Williamson 2007-11-09 23:06:00 UTC
Created attachment 2961 [details]
Patch to 2.6.9 to allow forward host name lookup as described
Comment 2 Wayne Davison 2007-12-15 11:31:34 UTC
I have created an official patch based on your work:

http://rsync.samba.org/ftp/rsync/patches/daemon-forward-lookup.diff

I will be considering this for inclusion in the main release.

Thanks!
Comment 3 Wayne Davison 2011-01-03 21:09:28 UTC
Support for this has been added to the 3.1.0dev source.  A config item to disable forward lookups (on a per-module basis) was also added.