delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/29/13:23:40

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:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=te+rkIyHD9yTMe7/
kOHzlDzigRAgusu3LowkUS3pPOF+4hAvjsJwjObpiGKtBb5AJKs7QD6bYfCACf5X
H7+0EP3HYlUlWN+M0q3d1qRtu4PB5DGNamru8PdAKaGUq19yG86KQwTvL6ClcB6O
M6kt6r9zoi9R5VbQcOzg58Kk2rA=
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:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=x1Y91TotfTHPuHn31WEyRY
7BGho=; b=j6MPhG4FuD7fxI7sKQqoVsOUPkR5s8rTWE4E89GaMN+8esal0N3fiI
LrLAw8zWrrIKQbNEmI/oMBC7G39x1+lRE7MN14EnrO7WWKG52IrBZHcnEM/I82J2
4013GXgQ/7i+udv2YoI9DL0CTfBSGthDCTw+Bbsxs4bAO2TV1JNaw=
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=-3.7 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,FREEMAIL_FROM,GIT_PATCH_2,KAM_EXEURI,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=ham version=3.3.2 spammy=cyg, Saving, age
X-HELO: mail-io0-f175.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=LogPiMeS8vPMFbkmnsBGvc2q97sBGbplyZU5bh0a1rU=; b=TwoCSJUmVB7azRI1zLJ1J7393Kv7WvfCMQP+XiLJ0KXv1ZGdvU8DfS6NHorNw1BEU5 +kEOs6Z/DwwLVrQZLunB0RxScCKkIvJymJ4v06LNZQU/eVb0gzvkwUZHPblWeymuIjSt pGpj3BjQZ+/w19cAz9qIWeyYmMYHA3s3ofqXJSSQOVyYDPx70k7aGR7Lj5RUT5ZQoKNe PaHLXetQvOPW6iOiblv4s9Ldn5+KwlIMpwBuSBSB7JQRvZrWLpZW9iNVxiS9rd2kK6B4 JTS7MqaAEsDiqD0aZ63cbMlYU4+UhC6YB9r47qeSXs6VBgJLRThLFn0igPFkUKUdIB/i QpRA==
X-Gm-Message-State: AKS2vOwUbhklCQl/eonwtt4+wDkPZs1yOnr1pkgLGRnmGuOQ3HpHlHVL GtZSYDsp9tcFEcEb
X-Received: by 10.107.173.220 with SMTP id m89mr20378973ioo.152.1498757002735; Thu, 29 Jun 2017 10:23:22 -0700 (PDT)
Subject: Re: Updated: setup (2.880)
To: cygwin AT cygwin DOT com
References: <CAEhDDbB9B=cxa1RvCQqHYzYRT3bHanJ7MjJSS30u53k35eHuOQ AT mail DOT gmail DOT com> <BN6PR2001MB1074F5546A217174ABC51170F1DC0 AT BN6PR2001MB1074 DOT namprd20 DOT prod DOT outlook DOT com>
From: cyg Simple <cygsimple AT gmail DOT com>
Message-ID: <06fed346-94ca-ac9e-7185-65f6ef1dec4b@gmail.com>
Date: Thu, 29 Jun 2017 13:23:22 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1
MIME-Version: 1.0
In-Reply-To: <BN6PR2001MB1074F5546A217174ABC51170F1DC0@BN6PR2001MB1074.namprd20.prod.outlook.com>
X-IsSubscribed: yes

On 6/27/2017 4:55 PM, Nellis, Kenneth wrote:
> From: Csaba Raduly 
>> I also couldn't reproduce your scenario.
>> ...
>>
>> Since it's reproducible for you, you could (if you're curious) run
>> wget with the -d (--debug) switch or break out the heavy artillery:
>> install Wireshark and look at the HTTP headers sent and received by
>> wget.
> 
> Thanx, Csaba, for your interest. Another test with -d is easy enough,
> so here it is:
> 
> $ wget -d -O setup-x86_64.exe http://cygwin.com/setup-x86_64.exe

Sorry if you've done this already but what if you use https instead of http?

> Setting --output-document (outputdocument) to setup-x86_64.exe
> DEBUG output created by Wget 1.19.1 on cygwin.
> 
> Reading HSTS entries from /home/knellis/.wget-hsts
> --2017-06-27 16:42:01--  http://cygwin.com/setup-x86_64.exe
> Resolving cygwin.com... 209.132.180.131
> Caching cygwin.com => 209.132.180.131
> Connecting to cygwin.com|209.132.180.131|:80... connected.
> Created socket 5.
> Releasing 0x0000000600066420 (new refcount 1).
> 
> ---request begin---
> GET /setup-x86_64.exe HTTP/1.1
> User-Agent: Wget/1.19.1 (cygwin)
> Accept: */*
> Accept-Encoding: identity
> Host: cygwin.com
> Connection: Keep-Alive
> 
> ---request end---
> HTTP request sent, awaiting response...
> ---response begin---
> HTTP/1.1 200 OK
> Server: Apache
> ETag: "16b1f9e-dd613-55161a558184f"
> Accept-Ranges: bytes
> Cache-Control: max-age=0
> Expires: Tue, 27 Jun 2017 20:40:06 GMT
> Vary: Accept-Encoding
> Content-Encoding: gzip
> Content-Security-Policy: default-src 'self' http: https:
> Keep-Alive: timeout=30, max=20
> Content-Length: 877562
> Content-Type: application/octet-stream
> Last-Modified: Wed, 07 Jun 2017 16:58:31 GMT
> Date: Tue, 27 Jun 2017 20:39:27 GMT
> Age: 0
> Via: 1.1 ironport.tms.local:80 (Cisco-WSA/10.1.0-204)
> Connection: keep-alive
> 

Do you have access to configure the allowable sites for download in
ironport?

https://supportforums.cisco.com/discussion/12920926/wsa-ironport-allow-exe-downloads-specific-urls-wsus-server

> ---response end---
> 200 OK
> Registered socket 5 for persistent reuse.
> Length: 877562 (857K) [application/octet-stream]
> Saving to: ‘setup-x86_64.exe’
> 
> setup-x86_64.exe            100%[===========================================>] 856.99K  --.-KB/s    in 0.01s
> 
> 2017-06-27 16:42:02 (73.9 MB/s) - ‘setup-x86_64.exe’ saved [877562/877562]
> 
> $ file *.exe
> setup-x86_64.exe: gzip compressed data, from Unix
> $
> 
> Note the response from the Apache server:
>> Content-Encoding: gzip
> Not sure why it would do that. Maybe my wget could be more specific.
> But my updated script (per advice from others) is working fine.
> 

It might be being added by ironport or perhaps an IE network setting
that is adding it to all requests for the file type.

-- 
cyg Simple

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