delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/06/06:32:18

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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=cT/
QTOUgdXEZrXqcrlywjO19SUCYUr+U3oLR3Th5cx06nxhpU9FpPeStq1/di2dVa9S
e3+mmswnvfxYDaMOAcFHpN98qufe41A/xXqVlsqjB55VZNiVTWOgUyMUJBvwYi3l
wFJeAdnPm3FWfbcfvtKzawg0t9cyi7EAIinCmQQA=
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:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=E9eEnV5AP
sZo8xeoXAssNsF8AuY=; b=Rk/BJ9BhQq/9MIIKXDTUomWUAlNuonJgFNFkgySaQ
rRzJVFTJADkv7GNVmWPzcj6NL/mTFzMaYwZtNUbqsPa18UVrG7fOwFutI2ovSN0K
y963n43Pj1GIzxiRMzk6heaw1safoCKqKGkTY+Jvv/Ty76x6hZAoyEtb8RBbLcM6
a0=
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: Yes, score=5.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2
X-HELO: nm25-vm6.bullet.mail.ne1.yahoo.com
X-Yahoo-SMTP: mLOK3jWswBD12pQTEC5jpSgJ
Message-ID: <54D4A5FB.6050801@yahoo.com>
Date: Fri, 06 Feb 2015 19:31:07 +0800
From: oinkl <oinkl AT yahoo DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Installation behind proxy with modified HTTP headers
X-IsSubscribed: yes

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?

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

Thanks.


Regards,
Justin W

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