[sbopkg-users] Sync behind proxy with authentication

William Oquendo woquendo at gmail.com
Sat Sep 8 02:12:11 UTC 2018


Hi, I did it and it seems that the proxy blocks rsync to port 873. The
output is at the end. Is there any way I can sync to the local tree? like
using a "tunnel" or similar?

Output:
FILE_STRUCT_LEN=24, EXTRA_LEN=4
opening tcp connection to slackbuilds.org port 873
connection via http proxy PROXYNAME port 8080 # I replaced PROXYNAME
bad response from proxy -- HTTP/1.1 403 Forbidden
[Receiver] _exit_cleanup(code=10, file=clientserver.c, line=125): entered
rsync error: error in socket IO (code 10) at clientserver.c(125)
[Receiver=3.1.2]
[Receiver] _exit_cleanup(code=10, file=clientserver.c, line=125): about to
call exit(10)

On Thu, Sep 6, 2018 at 9:30 PM David Woodfall <dave at dawoodfall.net> wrote:

> On Thursday 6 September 2018 14:32,
> William Oquendo <woquendo at gmail.com> put forth the proposition:
> > Hmm, no, I cant, it is not under my control. Is there any way to test
> that?
>
> Can you try doing a very verbose manual test and capture the output?
>
> Example:
>
> mkdir ~/test
> cd ~/test
> rsync -avvvvv rsync://slackbuilds.org/slackbuilds/14.2 | head -n20
>
> Output:
>
> opening tcp connection to slackbuilds.org port 873
> connection via http proxy 192.168.1.2 port 33000
> Connected to 192.168.1.2 (192.168.1.2)
> msg checking charset: UTF-8
> sending daemon args: --server --sender -vvvvvlogDtpre.iLsfxC .
> slackbuilds/14.2  (5 args)
> (Client) Protocol versions: remote=31, negotiated=31
> FILE_STRUCT_LEN=24, EXTRA_LEN=4
> receiving incremental file list
> uid 1016(slackbuilds) maps to 1016
> process has 14 gids:  7 10 11 17 18 19 20 83 84 86 93 100 210 234
> gid 1016(slackbuilds) maps to 1016
> recv_file_name(14.2)
> received 1 names
> [Receiver] flist start=1, used=1, low=0, high=0
> [Receiver] i=1 1 14.2/ mode=040755 len=4,096 gid=(1016) flags=1405
> recv_file_list done
> [Receiver] receiving flist for dir 0
> ...
>
> Ctrl-C it when the output freezes. Adjust the head -n value as necessary.
>
> In the above example my proxy is on 192.168.1.2 port 33000.
>
> That may give some clue to the problem.
>
> -Dave
>
> > On Thu, Sep 6, 2018 at 12:20 PM Willy Sudiarto Raharjo <
> willysr at sbopkg.org>
> > wrote:
> >
> > > > Yes, I have both exported all http*_proxy* variables, and also
> avoided
> > > > using http: on the RSYNC_PROXY . Still it does not work and that is
> the
> > > > puzzle here.
> > > > Is there a way I can catch the "talk" been the rsync command and the
> > > > proxy server? What should I look for?
> > > > Thanks again.
> > >
> > > Can you make sure that your proxy does allow RSYNC traffic?
> > >
> > >
> > > --
> > > Willy Sudiarto Raharjo
>
> --
>
> There are no threads in a.b.p.erotica,  so there's no  gain in using a
> threaded news reader.
>   -- unknown source
>
>                                                             .--.  oo
>                                                            (____)//
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'
> _______________________________________________
> sbopkg-users mailing list
> sbopkg-users at sbopkg.org
> http://sbopkg.org/mailman/listinfo/sbopkg-users
>


-- 

Best regards / Cordialmente,

William-Fernando Oquendo
--------------------------
Este correo puede carecer de tildes o eñes debido al teclado.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sbopkg.org/pipermail/sbopkg-users/attachments/20180907/05d9beb3/attachment.html>


More information about the sbopkg-users mailing list