• mirshafie@europe.pub
    link
    fedilink
    arrow-up
    4
    ·
    18 hours ago

    It was annoying as hell trying to download a LaTeX compiler and having the entire word be blocked, presumably because certain degenerates use latex - the material - for immoral acts.

  • M.int@lemmy.zip
    link
    fedilink
    arrow-up
    3
    ·
    17 hours ago
    curl -i https://irangov.ir/boobs.jpg # HTTP 200
    curl -i https://president.ir/boobs.jpg # HTTP 200
    curl -i https://divar.ir/boobs.jpg # HTTP 404
    

    Can’t reproduce. The goverment websites don’t even handle the error correctly: they give a HTTP 200 and an error page.

    Does anyone have an actual working example?

    • fishos@lemmy.world
      link
      fedilink
      English
      arrow-up
      8
      arrow-down
      6
      ·
      18 hours ago

      Why are you posting your own version of the exact same screenshot?

        • fishos@lemmy.world
          link
          fedilink
          English
          arrow-up
          4
          arrow-down
          8
          ·
          17 hours ago

          So the solution to “I use a bad app” is comment spam?

          And why not repost the OP image? They went and took their own screenshot of the tweet. Why take your own? What if they’d edited it? I know it’s nothing here, but it feels shady. It’s karma whoring at best, and malicious at worst. We shouldn’t normalize this.

            • fishos@lemmy.world
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              9
              ·
              edit-2
              17 hours ago

              It’s not. See, don’t have to click a thing. It’s just there. Sorry you use an inferior app. That’s your problem tho. So could you stop spamming the comments? Or get an app that doesn’t handicap you and make it others problem? Kthnxbai!

              Here’s even the actual OP screenshot that you “can’t see”. Funny how it’s just an image I can save to my phone but somehow you have to “access twitter” and then post your own version of.

              Get a better app or stop lying.

    • Brkdncr@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      1 day ago

      It’s either

      • Client side ssl forward proxy (MitM cert installed on client)
      • in-line decryption in the server
      • client side software
      • tls downgrade
      • cert authority compromise
    • baltakatei@sopuli.xyz
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      Right? If it were an unencrypted HTTP GET request, then every router on the way would see the plaintext string boobs in the URL and therefore intercept it.

      If I had to guess, Iran has so few landline connections that they man-in-the-middle every TLS connection they can by either forcing every server to hand over their private key files (difficult) or by forcing a certificate authority trusted by default Web browsers (there’s a lot of them) to issue certificates for every top level domain they see in SNI data attached to encrypted packet headers; the latter method need not even require participation by Iranian servers, so long as the traffic is bottlenecked for man-in-the-middle attacks and outsiders don’t question unusual certificate authorities being used.

    • bcovertigo@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 day ago

      They are giving response codes like 403 so it’s not a failure to resolve and I agree it’s not DNS… It’s behaving differently based on different sub pages so it’s something underneath the https encryption. Maybe an intermediary WAF that decrypts? Maybe some weird server side tooling that has govt provided?

      I would guess WAF but I’d love to hear from someone who actually knows.

    • Sundray@lemmus.orgOP
      link
      fedilink
      English
      arrow-up
      40
      arrow-down
      1
      ·
      1 day ago

      Presumably because instead of responding to the request for boobs.jpg with with an HTTP 404 error (meaning, “not found”), Iran’s censorship tech returns a 403 error (meaning basically "you are forbidden from accessing this resource).

      The “boobs” are “forbidden” you see; the tech mirrors the ruling party’s moral stance, probably coincidentally. Trying the same curl command in Russia and China will likely just get you a 404 error, so the joke really only works with Iranian servers. The 404 version is slightly less funny: “We couldn’t find the boobs!”