Coder Social home page Coder Social logo

Investigate all methods of censoring users' access to Internet services due to US sanctions/embargo/boycott. about wikicensorship HOT 2 OPEN

wikicensorship avatar wikicensorship commented on May 30, 2024 1
Investigate all methods of censoring users' access to Internet services due to US sanctions/embargo/boycott.

from wikicensorship.

Comments (2)

xhdix avatar xhdix commented on May 30, 2024

Another example of 404 error due to sanctions:

$ curl -I https://dl.google.com/go/go1.17.4.linux-amd64.tar.gz

HTTP/2 404
content-length: 1449
content-type: text/html; charset=utf-8
server: downloads
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
date: Thu, 09 Dec 2021 08:26:28 GMT
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
$ curl -I -x socks5://127.0.0.1:9150/ https://dl.google.com/go/go1.17.4.linux-amd64.tar.gz

HTTP/2 200
accept-ranges: bytes
cache-control: public,max-age=86400
content-disposition: attachment
content-length: 134807371
content-security-policy: default-src 'none'
content-type: application/x-gzip
etag: "b1d61f"
last-modified: Thu, 02 Dec 2021 23:31:19 GMT
server: downloads
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
date: Thu, 09 Dec 2021 08:29:12 GMT
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"

from wikicensorship.

xhdix avatar xhdix commented on May 30, 2024

This ban was imposed by the Chinese government, but it is interesting to note:

HTTP 451 : Unavailable For Legal Reasons

image

> ./curl -v https://www.tiktok.com/
*   Trying 96.17.206.219:443...
* Connected to www.tiktok.com (96.17.206.219) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
*  CAfile: C:\shared\curl-7.82.0-win64-mingw\bin\curl-ca-bundle.crt
*  CApath: none
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Certificate Status (22):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS header, Finished (20):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.2 (OUT), TLS header, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=*.tiktok.com
*  start date: Dec 13 00:00:00 2021 GMT
*  expire date: Jan 13 23:59:59 2023 GMT
*  subjectAltName: host "www.tiktok.com" matched cert\'s "*.tiktok.com"
*  issuer: C=US; O=DigiCert Inc; CN=RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
* h2h3 [:method: GET]
* h2h3 [:path: /]
* h2h3 [:scheme: https]
* h2h3 [:authority: www.tiktok.com]
* h2h3 [user-agent: curl/7.82.0]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x2491f36f870)
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
> GET / HTTP/2
> Host: www.tiktok.com
> user-agent: curl/7.82.0
> accept: */*
>
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* TLSv1.2 (IN), TLS header, Supplemental data (23):
* TLSv1.2 (OUT), TLS header, Supplemental data (23):
< HTTP/2 451
< content-type: text/html
< content-length: 29
< expires: Mon, 05 Sep 2022 09:19:51 GMT
< cache-control: max-age=0, no-cache, no-store
< pragma: no-cache
< date: Mon, 05 Sep 2022 09:19:51 GMT
< x-cache: TCP_MISS from a96-17-105-219.deploy.akamaitechnologies.com (AkamaiGHost/10.9.3-44045506) (-)
< x-tt-trace-tag: id=16;cdn-cache=miss;type=dyn
< server-timing: cdn-cache; desc=MISS, edge; dur=0, origin; dur=0
< x-akamai-request-id: 16af8fa0
< set-cookie: _abck=[SNIP]~-1~-1~-1; Domain=.tiktok.com; Path=/; Expires=Tue, 05 Sep 2023 09:19:51 GMT; Max-Age=31536000; Secure
< set-cookie: bm_sz=[SNIP]~4277317~4339511; Domain=.tiktok.com; Path=/; Expires=Mon, 05 Sep 2022 13:19:51 GMT; Max-Age=14400
<
Unavailable For Legal Reasons* Connection #0 to host www.tiktok.com left intact

from wikicensorship.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.