cross-posted from: https://lemmy.bestiver.se/post/770637
Nitter link: https://xcancel.com/hkashfi/status/1995109785679573167
Why with Iran?
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
curlcommand 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!”It’s 403 because they are upfront about the resource being censored as opposed to unavailable, and they tell you who to contact if you have legigimate reasons to access it.
They should change it to 80085 error.
Browsers don’t know how to handle 80085
Hey, at least they’re using HTTP codes correctly.
Overwhelming majority of countries don’t do keyword-based blocking, especially not for incoming requests.
So how do I see the boobs
I dunno, but if you find out, let me know.
You put on your robe and wizard hat
Goddamn old people.
Wait. I get that reference. Does that mean I’m an old people?
Old men are the future!
I don’t think that’s accurate.
The future is now old men!
Unfortunately. You’ll be in the retirement home before you know it with the rest of us.
I’m looking forward to being in a retirement home. Imagine the LAN parties.
You really need to get out of Iran.
Send bob and vagene
Sorry, they’re in Scunthorpe right now.
I’m lookin at one right now
Also don’t be in Iran
You’ll find them here https://president.ir/en/president/cabinet
First they came for the boobs…
My original guess was that they’re intercepting DNS, but since boobs is in the path, it wouldn’t be sent. How does this work?
Don’t know if this is entirely accurate, but Wikipedia has article about it.
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.
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
Right? If it were an unencrypted HTTP GET request, then every router on the way would see the plaintext string
boobsin 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.

Removed by mod
To keep me off Twitter, thank god.
Removed by mod
I was thinking maybe some types of Lemmy apps/clients don’t show it? Mine does but I was giving the commenter the benefit of the doubt.
Once I was trying to find info on my server’s administration policies and including time it. Turns out it wasn’t available in my app at the time, I had to go to the website.
Lemmy itself doesn’t allow posting a link and an image together, at least not in the default UI on lemmy.world. Consequently, apps being able to show them together isn’t the go-to expectation.
P.S. Upon reading your comments further below, it’s outstanding what an annoying prick you are.
Saves a click?
I dont see a screenshot.
exactly, there is no screenshot and I don’t want anyone to need to go to the website
Removed by mod
I’d rather my app didn’t interact with twitter without my permission
Removed by mod
Hmm, Voyager seems to have a problem with posts that are cross-post and have a photo. Thanks for pointing that out.
Removed by mod
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.
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 404Can’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?
Lol when I first read your screenshot, I thought for a moment they actually served you boobs.jpg from the government and president sites.
But maybe this is disinformation to make people think servers in Iran aren’t?
“Oh boobs.jpg just gives a 404, can’t be in Iran!” (When the server is in Iran)
Buddy doesn’t even say what domain they figured out was in Iran with this “trick”.












