delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/15/16:28:57

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:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:content-type:content-transfer-encoding
:references; q=dns; s=default; b=NaYlXydb+Q6pClJVAeSKmTc0NYhQ+kR
AyetNFap3JhrH8M3U9e8ftWxF8vqEVV0ap/vU4jJ3qDiWKlZwm2vqIBgjEYlwxYJ
RUpP0GpzL7YZhOeP+9dEr1/FzSfdHvsCicahPwEHeo8BmaAJqha5WAgDiPTxu6/k
+uHNW3b56Ylk=
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:date:from:reply-to:reply-to:to:message-id
:subject:mime-version:content-type:content-transfer-encoding
:references; s=default; bh=simBKERbwOJNhIRzNLdyhYBXSsg=; b=aC634
iuNi82WNIAYUWtX9OQN4AmbYhmtizXDjspb1RJTyX6mMmdovcX9ZMpUYBJsR8TI/
WL1KfwsRBwFoKwb8HZhO8omf0VdTCEGeT9CF4a0m5KlwmSQ7lukxpliP7eNlbApb
N4/KMX7GZre0wrXqGwYwv9q0BvNmzaEanIBE+4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-4.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=nearly, negotiation, upgrades, H*Ad:D*ab.ca
X-HELO: nm45-vm4.bullet.mail.ne1.yahoo.com
Date: Thu, 15 Dec 2016 21:22:36 +0000 (UTC)
From: "Ian Lambert via cygwin" <cygwin AT cygwin DOT com>
Reply-To: Ian Lambert <ian DOT lambert_42 AT yahoo DOT com>
Reply-To: Ian Lambert <ian DOT lambert_42 AT yahoo DOT com>
To: <cygwin AT cygwin DOT com>, <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <1138781101.3557942.1481836956476@mail.yahoo.com>
Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
MIME-Version: 1.0
References: <1138781101 DOT 3557942 DOT 1481836956476 DOT ref AT mail DOT yahoo DOT com>
X-IsSubscribed: yes
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id uBFLStEV002834

On Tue, 12/13/16, Brian Inglis wrote:

 Subject: Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?
 To: cygwin AT cygwin DOT com
 Date: Tuesday, December 13, 2016, 3:57 PM
 
 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.
 
= = = 

At one time the proxy did seem to have user-agent requirements,
but lately it seems more forgiving, for wget and curl.

Thanks for your earlier curl and wget suggestions too. The output with
debug/verbose options is "interesting."

Yes, I've used apt-cyg downloads and offline setup/upgrade since about
last February. I'm using the latest version, with a small modification to
try to get "test" versions more reliably.

Oddly, trying to compare the outputs from different curl requests, with 
tkdiff, revealed that this script is no longer working for me. It worked
maybe 2 weeks ago. :/  It's always something.

--
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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019