This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Setup not asking for proxy user,password / was Resend: pdfseparate does nothing for me?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]