X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F06D9386100D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1704702420;
	bh=QcGPknCybYjx6IPdAVnBEWw8LwMqebdHm8EJS0q21fo=;
	h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
	 From;
	b=VSs3QkgJH3HN8chkFZgOz2XRBfIVcBaGY8wsvf7PWRaxqF+Lp7VHuTX0/Y4PeV+Vc
	 lV/5MJkQ3vi7gBjuWxADfcV7WxycrAi3Xx1cQHXoqIYvAjF9+91gT9EVckshb/Uc9y
	 h2wb3EoLLO+8ISd4EjNglFhOPCbZF0BJXDgzkKdc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D1863857BAF
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6D1863857BAF
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704702340; cv=none;
 b=G2Y5gK2ANiTk4orfuZsYC6Ce7Bu2Zg8B20fXuPWxJa45BoMxxqqlRZ54grhJePx2rdktuHB6Kn0ra9lyH2QiWpPvLAj9dc8lOJfEO+KVKpoYIOZEFOBjFWmYn9VOAiGMc3dXhWNzMwEgcpo+VorwWxCi8tDRQUn3QTjvmqdCb6g=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
 t=1704702340; c=relaxed/simple;
 bh=l5a/MTtc3dv/AuDY0+5u8N8ajnQitFwE+dOE5DmwXLE=;
 h=Message-ID:Date:MIME-Version:Subject:To:From;
 b=shm3E43BsukcoavLkXrMdg1FxG0lbWJZ6O0w5/PjlPHafTw7ol/+x4djy+mxv+mZCAa6yyqN/Ll/3qIxtWceiyKR3VZwluCAc8UH/j6D6FX1m5vX1ndHtT1RAQ/HmF47dqk1qr9HrVr1ziPLJxcKzjZZro7BJJV44/8m0TsJgrE=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <8dc0fa34-6d35-4992-94cd-3d8897477dd2@SystematicSW.ab.ca>
Date: Mon, 8 Jan 2024 01:25:27 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Firewall ports for Cygwin setup.exe to access mirror.kernel.org?
Content-Language: en-CA
To: cygwin@cygwin.com
References: <CAAvCNcBi_qN6_xjzTOyE4-PwOsWApPu_aO41XSimdVSwtnUwYw@mail.gmail.com>
Organization: Systematic Software
In-Reply-To: <CAAvCNcBi_qN6_xjzTOyE4-PwOsWApPu_aO41XSimdVSwtnUwYw@mail.gmail.com>
X-Rspamd-Queue-Id: 828166000C
X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
 RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,
 SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
 UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6
X-Rspamd-Server: rspamout06
X-Stat-Signature: hpzecsnu7wn7qmixgmq1dydntb1cfqaq
X-Session-Marker: 427269616E2E496E676C69734053797374656D6174696353572E61622E6361
X-Session-ID: U2FsdGVkX18d7OXU8pgdIT+T1FC11R5HlGLnf7b09ZQ=
X-HE-Tag: 1704702328-37868
X-HE-Meta: U2FsdGVkX19bKx5FpzHtkFWtlEiDsIad9NiF8rRWKR9XaPAZtKtFXSnfX77yb8oYe3qrhduRsRvLrd/E3iRS4q1Wn/3BiFE6wIAe+drOwtGOoRXB8qkArZrro/gB28HdfeVyCG4diyYG0xH1ZHJ0+hXRMiBBfe+EHmW+H/5q7wGuyFcTf5qSxZ3TSao3d6HuTSNUhlGonqAfpWlqbnGMnizmCZqHP4qvTvt0PlYvkBsUBEKPvYkr40HbpEKo/RK+lIZM2f1BF1ye/OhXRoTAUdjqAa1pOZr2PdsSkVAaTecEaHnvOs5hX/ywP/+LBoQhQLyrAREB6v4wmdafPu9YZWceykqoUDUsHM0tswwGgX++50Z9hnC+a7cAkkBcxcdGb1nEgve9Q74WCMPJiJkWfRIzQ29blCcX8idCJnX8WZHZI9wf3Oz/5TYPJwrQuUw1/uPSXdoTSlRLEeL1kunai9tYQE1Yk5FNBPUQrvjbhHUSzqEDQ3XlKTfkF+bg6nccpsBk7eblSuAxwDmyLP+EwQ==
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin@cygwin.com>
Reply-To: cygwin@cygwin.com
Cc: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 4088R0PZ004519

On 2024-01-07 08:10, Dan Shelton via Cygwin wrote:
> Can someone provide a list of TCP ports which must be open in the
> outgoing firewall settings, so Cygwin setup.exe can fetch data from
> mirror.kernel.org?

You should not just use the US default mirrors.kernel.org on the west coast in 
San Jose, California, near San Francisco, California, but choose the closest 
reliable mirror(s) to your system from the mirror list:

	https://cygwin.com/mirrors.html

Ports required depend on which services and transport protocols are supported by 
each mirror you use, and are the standard ports for those services and protocols:

$ grep '\(^ftp\(\s\|-\)\|^https\?\s\).*/tcp' /etc/services
ftp-data           20/tcp                           #FTP, data
ftp                21/tcp                           #FTP. control
http               80/tcp    www www-http           #World Wide Web
https             443/tcp    MCom                   #HTTP over TLS/SSL

https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.txt

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

