From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23283 invoked by alias); 13 Dec 2016 20:57:54 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 23267 invoked by uid 89); 13 Dec 2016 20:57:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca, negotiation X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.13) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 13 Dec 2016 20:57:43 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id Gu8qciFEvZfmaGu8rcS4m0; Tue, 13 Dec 2016 13:57:41 -0700 X-Authority-Analysis: v=2.2 cv=Roa1FGuK c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=w_pzkKWiAAAA:8 a=NEAV23lmAAAA:8 a=ZI5th8DiiQReOJ4To44A:9 a=QEXdDO2ut3YA:10 a=Jg8UYcmu2egA:10 a=sRI3_1zDfAgwuvI8zelB:22 a=Bn2pgwyD2vrAyMmN8A2t:22 Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me? References: <1514592420.2041696.1481654586533.ref@mail.yahoo.com> <1514592420.2041696.1481654586533@mail.yahoo.com> To: cygwin@cygwin.com From: Brian Inglis Reply-To: Brian.Inglis@SystematicSw.ab.ca Message-ID: Date: Tue, 13 Dec 2016 20:57:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <1514592420.2041696.1481654586533@mail.yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFm3BQzNKXvRFtcHRNLzUbJEmcDS5bSr4yeUVv6GqAQAozGVnGj0KtCoy9QTkAPDH6c4wErbnMpZncqj1EKFjmGUjjehk4bC5bI27MpYo7kzPpaUdGvw KgQLCKi7xexGkh4vY/Hyc/TuLYf7duQK/4EdL1CRZ4nYgLB0oPHnYU2LfctertMuM9cjC5DibHOYwQ== X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00140.txt.bz2 On 2016-12-13 11:43, Ian Lambert via cygwin wrote: > On Mon, 12/12/16, Achim Gratz wrote: >> Ian Lambert via cygwin writes: >>> Maybe a comparison of how wget handles authentication versus how >>> setup handles it could help? >> The problem is on your side and I cannot reproduce it. So that >> analysis (which I've asked for earlier) either comes from you or >> you'll have to wait until someone else can reproduce it. In any case, >> I've verified that setup.exe does ask for the user/password if it >> gets the required 407 error response from a proxy requiring >> authentication and then correctly uses that proxy for the remainder >> of the session. > The output from testing with wget and setup verbose is here: > https://cygwin.com/ml/cygwin/2016-12/msg00034.html > After skimming wget and setup sources, my guess is it has something > to do with "basic" versus NTLM authentication. I saw enough to know > setup source is not nearly as thoroughly commented as wget, and both > are too complicated for me. :D > Is there any chance of getting similar outputs from behind your > proxy, to look for differences with mine? Maybe your proxy is not properly handling unexpected User Agent or other header strings from wget and setup. Have you tried curl - curl often outputs only the HTTP message, and you can then add options to generate the correct responses or handling. Both curl and wget each support some user specified header addition and modification options. Note that setup seems to require and support only Basic authentication and does not process any negotiation, so if your proxy can or does not fall back to support Basic authentication, only NTLM, you're hooped! Have you tried using apt-cyg or another alternate installer? I could suggest https://github.com/BrianInglis/apt-cyg/raw/wget-non-verbose/apt-cyg ;^> as it has been patched to handle installing dependencies and postinstall scripts but does not (yet?) handle upgrades except by manually removing and (re-)installing packages. You may have to do your setup and package downloads via apt-cyg, wget, or IE to your packages directories and use setup to do installs from there. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple