[GRASS-web] mirror

Markus Neteler neteler at osgeo.org
Mon Sep 22 12:22:55 EDT 2008


On Mon, Sep 22, 2008 at 4:02 PM, Scott Mitchell <smitch at mac.com> wrote:
> On 22-Sep-08, at 09:46 , Philippe BAQUÉ/CICT wrote:
>> K to be accessed by rsync... which config I must do in rsyncd.conf to do
>> that?
>>
> Again, I personally don't have experience on that, and I see that the FAQ
> for anonymous rsync hosted by sunsite.dk is currently non-responsive, but
> based on http://wiki.osgeo.org/wiki/Download_Server, I'm guessing that the
> issue MIGHT be that you need to tell xinetd (or whatever inet type service
> your machine is running) to respond to rsync port requests... ???

Here how grass.osgeo.org is configured:

cat /etc/rsyncd.conf
[grass]
        comment = GRASS GIS Server area for mirroring (restricted to
known GRASS tier-1 mirror sites)
        path = /osgeo/grass/rsync
        read only = yes
        list = yes
        dont compress = *.gz *.tgz *.zip *.Z *.rpm *.deb *.jpg *.pdf *.png *.gif
        uid = nobody
        gid = nobody
        timeout = 600
        use chroot = true
        # watch out for local .htaccess
        exclude = /grass-wiki /wiki /spearfish .htaccess
        #we allow only for tier-1 mirrors and ourselves:
        #hosts allow = 127.0.0.1 10.40.0.190 10.40.0.114
206.167.141.10 206.167.141.11 195.223.171.24 132.210.13.70
132.210.13.80 152.2.210.122 203.16.234.17 193.52.237.82 130.75.72.14
65.114.169.72 144.16.93.203 152.46.7.122 202.158.214.106
194.100.76.171 193.12.150.2 160.78.38.1 217.77.80.24 81.208.111.3


(you see that we secretly commented hosts allow - so anyone can rsync
but we don't widely
advertise this...)

cheers
Markus


More information about the grass-web mailing list