From ripley at stats.ox.ac.uk  Wed Jun 29 09:23:26 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 29 Jun 2005 08:23:26 +0100 (BST)
Subject: [Rd] Running ./tools/rsync-recommended through a proxy
In-Reply-To: <40e66e0b05062814021d271577@mail.gmail.com>
References: <40e66e0b05062814021d271577@mail.gmail.com>
Message-ID: <Pine.LNX.4.61.0506290816060.7118@gannet.stats>

Googling for 'squid rsync' suggests that squid has to be explicitly
configured to allow rsync, e.g.

http://www.sai.msu.su/~er/rsync_proxy.html

Why not ask the proxy administrators if they have rsync configured?


On Tue, 28 Jun 2005, Douglas Bates wrote:

> My computers at my office will no longer be able to connect directly
> to web sites etc.  I will be going through a proxy server.  The
> particular server is running squid on port 3128.
>
> I have managed to configure web browsers, ssh, apt, svn and a whole
> lot of other tools to use the proxy server but I haven't been able to
> configure rsync.  My usual method of updating my copy of the R-devel
> sources is via
>
> cd my_R_devel_sources
> svn up
> ./tools/rsync-recommended
>
> cd my_R_build_directory
> ...
>
> Can anyone offer suggestions on how to get rsync-recommended to work
> through a proxy?  I have set
>
> export RSYNC_PROXY="machine.name:3128"
>
> which I understand from the documentation is the magic environment
> variable (I don't give the name of the server explicitly because it is
> an open proxy).  However, I still get
>
> bates at bates4:/usr/src/r-devel$ ./tools/rsync-recommended
> bad response from proxy - HTTP/1.0 403 Forbidden
> rsync: failed to connect to machine.name: Success (0)
> rsync error: error in socket IO (code 10) at clientserver.c(94)
> *** rsync failed to update Recommended files ***
> Creating links
>
> Is it likely that the proxy server is not passing connections to port 873?
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Running ./tools/rsync-recommended through a proxy
Prof Brian Ripley