delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/06/12:50:36

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:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=xlfd8kwbFuL5USs3
WGyUDy6kDfprsfYtAt0Kedx3whs/6AV0dWjqQGCgq3pHjLjOVteWWO+bjXeZGfXN
sadrMq5/GP+Eb8fY+iOWErG9nfRnvGvBY2j+oxc5cvjWNe52qviA3QXVYnmBG7A4
p0+fv5CSn/1ddfISzBTORoD2NA8=
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:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=YTSM5ufZO1BWlvMgQbmUvR
rqgJw=; b=n0BODLHa7g+1bVNwrGlXXj2UvON3Ma26+L4MbiI2KZ7PunQIoCC4z3
dneVBfecJAaKBKVDLcu/gtX2L6b2s5kKt84kBqNC3x4FqzncS+WohwKVYTgJ8kNY
LMGRBmgajYGhZTrRImiZd+1wCnozlKOkbjo2lbBOxFUfsckhtb5do=
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=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Fri, 6 Feb 2015 20:28:35 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <287109494.20150206202835@yandex.ru>
To: oinkl <oinkl AT yahoo DOT com>, cygwin AT cygwin DOT com
Subject: Re: Installation behind proxy with modified HTTP headers
In-Reply-To: <54D4A5FB.6050801@yahoo.com>
References: <54D4A5FB DOT 6050801 AT yahoo DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, oinkl!

> I'm installing Cygwin behind a proxy.

> From my machine, the only way I can curl to external websites is by 
> using the following flags:

> curl --insecure --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; 
> rv:23.0) Gecko/20100101 Firefox/23.0" --proxy <proxyip>:3128 www.google.com
> I have to ignore SSL certificates, modify the user agent HTTP header, 
> and specify the proxy server. Is there any way I can specify something 
> similar for the Cygwin installation?

You may try cascade the proxy, but it might be easier to download necessary
packets somewhere else and install from local directory.

> I get the following log if I specify only the proxy server (using the 
> proxy option) during the installation:

> 2015/02/02 16:44:28 Starting cygwin install, version 2.859
> 2015/02/02 16:44:28 User has backup/restore rights
> 2015/02/02 16:44:28 io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 
> 2 No such file or directory
> 2015/02/02 16:44:28 Current Directory: C:\Users\admin\Desktop
> 2015/02/02 16:44:28 Could not open service McShield for query, start and 
> stop. McAfee may not be installed, or we don't have access.
> 2015/02/02 16:44:30 source: network install
> 2015/02/02 16:44:32 root: C:\cygwin system
> 2015/02/02 16:44:32 Selected local directory: C:\Users\admin\Desktop
> 2015/02/02 16:44:33 net: Proxy
> Cached mirror list unavailable
> get_url_to_membuf http://cygwin.com/mirrors.lst
> getUrlToStream http://cygwin.com/mirrors.lst
> getUrlToStream failed!
> get_url_to_membuf failed!
> Defaulting to empty mirror list
> 2015/02/02 16:44:36 io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 
> 2 No such file or directory
> 2015/02/02 16:44:36 Ending cygwin install


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 06.02.2015, <20:27>

Sorry for my terrible english...


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