Downloading midnightBSD
When the download progesses slowly as in log 1 just resume from a closer server as shown in log 2
log 2
curl --verbose -C - -L -o MidnightBSD-4.0.3--amd64-disc1.iso https://ns3.foolishgames.net/ftp/pub/MidnightBSD/releases/amd64/ISO-IMAGES/4.0.3/MidnightBSD-4.0.3--amd64-disc1.iso
** Resuming transfer from byte position 44871680
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0* Trying 52.1.67.188:443...
- Connected to ns3.foolishgames.net (52.1.67.188) port 443 (#0)
- ALPN: offers h2,http/1.1} [5 bytes data]
- TLSv1.3 (OUT), TLS handshake, Client hello (1):} [512 bytes data]
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs{ [5 bytes data]
- TLSv1.3 (IN), TLS handshake, Server hello (2):{ [122 bytes data]
- TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):{ [25 bytes data]
- TLSv1.3 (IN), TLS handshake, Certificate (11):{ [2603 bytes data]
- TLSv1.3 (IN), TLS handshake, CERT verify (15):{ [264 bytes data]
- TLSv1.3 (IN), TLS handshake, Finished (20):{ [52 bytes data]
- TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):} [1 bytes data]
- TLSv1.3 (OUT), TLS handshake, Finished (20):} [52 bytes data]
- SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- ALPN: server accepted http/1.1
- Server certificate:
- subject: CN=ns3.foolishgames.net
- start date: Dec 15 04:25:18 2025 GMT
- expire date: Mar 15 04:25:17 2026 GMT
- subjectAltName: host "ns3.foolishgames.net" matched cert's "ns3.foolishgames.net"
- issuer: C=US; O=Let's Encrypt; CN=R13
- SSL certificate verify ok.
- using HTTP/1.1} [5 bytes data]> GET /ftp/pub/MidnightBSD/releases/amd64/ISO-IMAGES/4.0.3/MidnightBSD-4.0.3--amd64-disc1.iso HTTP/1.1> Host: ns3.foolishgames.net> Range: bytes=44871680-> User-Agent: curl/7.88.1> Accept: /> { [5 bytes data]
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):{ [297 bytes data]
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):{ [297 bytes data]
- old SSL session ID is stale, removing{ [5 bytes data]< HTTP/1.1 206 Partial Content< Date: Wed, 11 Mar 2026 19:21:41 GMT< Server: Apache/2.4.66 (MidnightBSD) OpenSSL/3.0.18< Upgrade: h2c< Connection: Upgrade< Last-Modified: Fri, 06 Mar 2026 14:22:35 GMT< ETag: "3ecf2000-64c5bc8cf7da6"< Accept-Ranges: bytes< Content-Length: 1008889856< Content-Range: bytes 44871680-1053761535/1053761536< Content-Type: application/x-iso9660-image< { [7812 bytes data]100 962M 100 962M 0 0 1217k 0 0:13:29 0:13:29 --:--:-- 1507k
- Connection #0 to host ns3.foolishgames.net left intact
EOL2
log 1
curl --verbose -C - -L -o MidnightBSD-4.0.3--amd64-disc1.iso https://discovery.midnightbsd.org/ftp/releases/amd64/ISO-IMAGES/4.0.3/MidnightBSD-4.0.3--amd64-disc1.iso
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:07 --:--:-- 0* Trying 145.239.254.58:443...
- Trying [2001:41d0:800:73a::1]:443...
- Immediate connect fail for 2001:41d0:800:73a::1: Network is unreachable
- Connected to discovery.midnightbsd.org (145.239.254.58) port 443 (#0)
- ALPN: offers h2,http/1.1} [5 bytes data]
- TLSv1.3 (OUT), TLS handshake, Client hello (1):} [512 bytes data]
- CAfile: /etc/ssl/certs/ca-certificates.crt
- CApath: /etc/ssl/certs{ [5 bytes data]
- TLSv1.3 (IN), TLS handshake, Server hello (2):{ [122 bytes data]
- TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):{ [25 bytes data]
- TLSv1.3 (IN), TLS handshake, Certificate (11):{ [2087 bytes data]
- TLSv1.3 (IN), TLS handshake, CERT verify (15):{ [79 bytes data]
- TLSv1.3 (IN), TLS handshake, Finished (20):{ [52 bytes data]
- TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):} [1 bytes data]
- TLSv1.3 (OUT), TLS handshake, Finished (20):} [52 bytes data]
- SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
- ALPN: server accepted http/1.1
- Server certificate:
- subject: CN=discovery.midnightbsd.org
- start date: Feb 21 03:25:55 2026 GMT
- expire date: May 22 03:25:54 2026 GMT
- subjectAltName: host "discovery.midnightbsd.org" matched cert's "discovery.midnightbsd.org"
- issuer: C=US; O=Let's Encrypt; CN=E7
- SSL certificate verify ok.
- using HTTP/1.1} [5 bytes data]> GET /ftp/releases/amd64/ISO-IMAGES/4.0.3/MidnightBSD-4.0.3--amd64-disc1.iso HTTP/1.1> Host: discovery.midnightbsd.org> User-Agent: curl/7.88.1> Accept: /> { [5 bytes data]
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):{ [297 bytes data]
- TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):{ [297 bytes data]
- old SSL session ID is stale, removing{ [5 bytes data]< HTTP/1.1 200 OK< Date: Wed, 11 Mar 2026 19:17:47 GMT< Server: Apache/2.4.66 (MidnightBSD) OpenSSL/1.1.1w-midnightbsd< Last-Modified: Fri, 06 Mar 2026 14:22:35 GMT< ETag: "3ecf2000-64c5bc8cf7da6"< Accept-Ranges: bytes< Content-Length: 1053761536< Content-Type: application/x-iso9660-image< { [7901 bytes data]2 1004M 2 30.1M 0 0 224k 0 1:16:25 0:02:17 1:14:08 246
Sources
https://midnightbsd.org/
https://midnightbsd.org/notes/
https://midnightbsd.org/download/
#UNIX #BSD #freeBSD #midnightBSD #ghostBSD #programming #distribution #technology #OpenSource