Open datissi opened 2 months ago
На других заблокированных ресурсах тоже самое ? Пробовали gnutls через нецензурируемое соединение (VPN) ?
На других заблокированных ресурсах тоже самое ? Пробовали gnutls через нецензурируемое соединение (VPN) ?
Прошу прощения за очень длительный ответ.
Через тунеллированое соединиение всё работает
./curlgnutls -vIS --tlsv1.3 --tls-max 1.3 https://files.catbox.moe
* Host files.catbox.moe:443 was resolved.
* IPv6: (none)
* IPv4: 108.181.20.35
* Trying 108.181.20.35:443...
* Connected to files.catbox.moe () port 443
* GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0:-VERS-TLS-ALL:+VERS-TLS1.3
* found 152 certificates in /etc/ssl/certs/ca-certificates.crt
* found 760 certificates in /etc/ssl/certs
* SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: catbox.moe (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: EC/ECDSA
* certificate version: #3
* subject: CN=catbox.moe
* start date: Mon, 26 Aug 2024 05:23:58 GMT
* expire date: Sun, 24 Nov 2024 05:23:57 GMT
* issuer: C=US,O=Let's Encrypt,CN=E6
* ALPN: server accepted h2
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://files.catbox.moe/
* [HTTP/2] [1] [:method: HEAD]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: files.catbox.moe]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.10.0]
* [HTTP/2] [1] [accept: */*]
> HEAD / HTTP/2
> Host: files.catbox.moe
> User-Agent: curl/8.10.0
> Accept: */*
>
* Request completely sent off
< HTTP/2 301
HTTP/2 301
< server: nginx
server: nginx
< date: Sun, 17 Nov 2024 19:06:22 GMT
date: Sun, 17 Nov 2024 19:06:22 GMT
< content-type: text/html; charset=UTF-8
content-type: text/html; charset=UTF-8
< location: https://catbox.moe
location: https://catbox.moe
< strict-transport-security: max-age=31536000; includeSubDomains; preload
strict-transport-security: max-age=31536000; includeSubDomains; preload
< x-content-type-options: nosniff
x-content-type-options: nosniff
< x-xss-protection: 1; mode=block
x-xss-protection: 1; mode=block
< x-frame-options: DENY
x-frame-options: DENY
< content-security-policy: default-src 'self'; img-src 'self' https://quickchart.io https://files.catbox.moe; media-src 'self' https://files.catbox.moe; style-src 'self' 'unsafe-inline'; script-src https://www.google.com https://www.gstatic.com 'self' 'unsafe-inline'; frame-src https://www.google.com;
content-security-policy: default-src 'self'; img-src 'self' https://quickchart.io https://files.catbox.moe; media-src 'self' https://files.catbox.moe; style-src 'self' 'unsafe-inline'; script-src https://www.google.com https://www.gstatic.com 'self' 'unsafe-inline'; frame-src https://www.google.com;
< referrer-policy: same-origin
referrer-policy: same-origin
< permissions-policy: accelerometer=(),ambient-light-sensor=(),autoplay=(),battery=(),camera=(),display-capture=(),document-domain=(),encrypted-media=(),execution-while-not-rendered=(),execution-while-out-of-viewport=(),fullscreen=(),gamepad=(),geolocation=(),gyroscope=(),hid=(),identity-credentials-get=(),idle-detection=(),local-fonts=(),magnetometer=(),microphone=(),midi=(),otp-credentials=(),payment=(),picture-in-picture=(),publickey-credentials-create=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),speaker-selection=(),storage-access=(),usb=(),web-share=(),xr-spatial-tracking=()
permissions-policy: accelerometer=(),ambient-light-sensor=(),autoplay=(),battery=(),camera=(),display-capture=(),document-domain=(),encrypted-media=(),execution-while-not-rendered=(),execution-while-out-of-viewport=(),fullscreen=(),gamepad=(),geolocation=(),gyroscope=(),hid=(),identity-credentials-get=(),idle-detection=(),local-fonts=(),magnetometer=(),microphone=(),midi=(),otp-credentials=(),payment=(),picture-in-picture=(),publickey-credentials-create=(),publickey-credentials-get=(),screen-wake-lock=(),serial=(),speaker-selection=(),storage-access=(),usb=(),web-share=(),xr-spatial-tracking=()
<
* Connection #0 to host files.catbox.moe left intact
Пример с другими ресурсами без VPN
/curlgnutls -vIS --tlsv1.3 --tls-max 1.3 https://rutracker.org
* Host rutracker.org:443 was resolved.
* IPv6: 2606:4700:3031::6815:2027, 2606:4700:3034::ac43:b6c4
* IPv4: 172.67.182.196, 104.21.32.39
* Trying [2606:4700:3031::6815:2027]:443...
* Connected to rutracker.org () port 443
* GnuTLS ciphers: NORMAL:-ARCFOUR-128:-CTYPE-ALL:+CTYPE-X509:-VERS-SSL3.0:-VERS-TLS-ALL:+VERS-TLS1.3
* found 152 certificates in /etc/ssl/certs/ca-certificates.crt
* found 760 certificates in /etc/ssl/certs
* SSL connection using TLS1.3 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: rutracker.org (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: EC/ECDSA
* certificate version: #3
* subject: CN=rutracker.org
* start date: Thu, 14 Nov 2024 16:28:03 GMT
* expire date: Wed, 12 Feb 2025 16:28:02 GMT
* issuer: C=US,O=Google Trust Services,CN=WE1
* ALPN: server accepted h2
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://rutracker.org/
* [HTTP/2] [1] [:method: HEAD]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: rutracker.org]
* [HTTP/2] [1] [:path: /]
* [HTTP/2] [1] [user-agent: curl/8.10.0]
* [HTTP/2] [1] [accept: */*]
> HEAD / HTTP/2
> Host: rutracker.org
> User-Agent: curl/8.10.0
> Accept: */*
>
* Request completely sent off
< HTTP/2 301
HTTP/2 301
< date: Sun, 17 Nov 2024 19:21:06 GMT
date: Sun, 17 Nov 2024 19:21:06 GMT
< content-type: text/html
content-type: text/html
< location: https://rutracker.org/forum/index.php
location: https://rutracker.org/forum/index.php
< cf-cache-status: DYNAMIC
cf-cache-status: DYNAMIC
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=WGGMgNOsoGQ3Yj6WWmlWd3HALV%2FR1oGJr1E3VUm9Sm%2F0Juhj8KZM24FiEv%2BN8QZDdmnfbe2FIKsB2AvGo%2BU45kCW3ZxI4zGNkoM%2FPCggge4lnlVbyWLjj9K39aYFLjMkzKbKfqsgE2bTtQsQ"}],"group":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=WGGMgNOsoGQ3Yj6WWmlWd3HALV%2FR1oGJr1E3VUm9Sm%2F0Juhj8KZM24FiEv%2BN8QZDdmnfbe2FIKsB2AvGo%2BU45kCW3ZxI4zGNkoM%2FPCggge4lnlVbyWLjj9K39aYFLjMkzKbKfqsgE2bTtQsQ"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< server: cloudflare
server: cloudflare
< cf-ray: 8e4214f5bc389dc7-DME
cf-ray: 8e4214f5bc389dc7-DME
< alt-svc: h3=":443"; ma=86400
alt-svc: h3=":443"; ma=86400
< server-timing: cfL4;desc="?proto=TCP&rtt=20883&sent=10&recv=11&lost=0&retrans=0&sent_bytes=3220&recv_bytes=659&delivery_rate=251383&cwnd=96&unsent_bytes=0&cid=0b1c8146eac5ce89&ts=148&x=0"
server-timing: cfL4;desc="?proto=TCP&rtt=20883&sent=10&recv=11&lost=0&retrans=0&sent_bytes=3220&recv_bytes=659&delivery_rate=251383&cwnd=96&unsent_bytes=0&cid=0b1c8146eac5ce89&ts=148&x=0"
<
* Connection #0 to host rutracker.org left intact
Сколько провайдеров, столько и проблем.
На моем все нормально через
curl 8.10.1 (x86_64-pc-linux-gnu) libcurl/8.10.1 GnuTLS/3.8.6 zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.2 libssh2/1.11.0 nghttp2/1.63.0 ngtcp2/1.6.0 nghttp3/1.4.0 librtmp/2.3 OpenLDAP/2.5.18
от debian
3 раза ресетнулось, потом заработало. Сработал автолист
При использовании библиотеки GnuTLS вместо OpenSSL и версии TLS 1.3 происходит разрыв соедиения с файлообмеником files.catbox.moe.
Zapret запущен непосредственно на компьютере. Конфиг zapret следующий:
Собран curl с библиотекой GnuTLS
вывод при использовании tlsv1.2
С tlsv1.3
curl собранный с openssl работает как по tlsv1.2, так и 1.3
OpenSSL с tlsv1.2
OpenSSL с tlsv1.3
Из за этой проблемы невозможно использовать wget с files.catbox.moe.