X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=LzRxkXhjnR8fmCfp G9fYTpWV8/amrSPKKqdRri62p/2ZujHCyeYWPlXoE84qXfzle2L4uQDv4rtre8E2 +ya2rM2Alk+p0d2tVtoYaYvAwT9+qdoqK41nEXbI+cl6DX+nBiklKDf7UGcJgWrg cgR0Eq3QG9+RCVwoo+V3Wuzq0WY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:references:to:from:reply-to:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=YG2an9NyY6nZhxegQKUnKG iBGF0=; b=U32eoIbKXl+JojhoD1GMDBtEdlskc+WG/bvbRuB3Cyi4xYEIXqpcJw XRvl8H7eZsBXV3pF9Fv+coKjVnOyKPIM//KZZSwr0OYNphMn/yhTvegRYVSKbAjv vLbSzDnOk1uy/hBJgX1VWOGoT0bYaBcKbDIw67N0izNJH8SFG06JA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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 DOT 2041696 DOT 1481654586533 DOT ref AT mail DOT yahoo DOT com> <1514592420 DOT 2041696 DOT 1481654586533 AT mail DOT yahoo DOT com> To: cygwin AT cygwin DOT com From: Brian Inglis Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Message-ID: Date: Tue, 13 Dec 2016 13:57:40 -0700 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 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