An HTTP Status Code For Censorship?
New submitter Tryfen writes "UK ISPs are being forced to block The Pirate Bay. One is using 'HTTP 403 Forbidden' to tell users that they cannot access the site. From the article: 'However, chief among my concerns is the technical way this censorship is implemented. At the moment, my ISP serves up an HTTP 403 error.' ... As far as I am concerned, this response is factually incorrect. According to the W3C Specifications: "The 4xx class of status code is intended for cases in which the client seems to have erred."' So, should there be a specific HTTP status code to tell a user they are being censored?"
Just convince the censors to set the Evil bit on all packets returning the HTTP error code for a blocked site.
The proper status code would be "666 - Go To Hell". Served to the court, not the customer.
Proud member of the Ferengi Socialist Party.
Why would you tell people you're censoring them, when you can just as easily NOT tell them and keep them in the dark... you know, to CENSOR them.
I want to delete my account but Slashdot doesn't allow it.
In a normal person's point of view, the user has not erred. The government has erred, and HTTP has no provision for that.
From the government's point of view, the user has erred because no right-thinking user would want to access a proscribed IP.
So what it comes down to is, should HTTP represent the user's POV or the Government's?
Error 1984 - This site has been blocked due to government censorship
I nominate HTTP 451 - Site is not permitted in your country.
[End Of Line]
None. If a site absolutely must be blocked, then blackhole its IP addresses and fail resolution on the ISP's DNS servers. Middleboxes that inspect layer 4 and above are never OK, and never part of a trustworthy ISP network unless explicitly requested by the end-user.
Thailand used to have a huge graphical image on a special server for censored websites. Any access on a censored URL would be forwarrded to that image. Apparently the load was so high the server would constantly crash, and eventually they deleted the image, so you get a 404 error. Now they got smarter and just display a text message telling you the website is censored by the government.
Many of the services/messages blocked in China come with explicit warnings that they have attempted something illegal. And some don't.
"The ability to delude yourself may be an important survival tool" - Jane Wagner -
Here's the rest of the list for those looking to be similarly innovative. Personally, I vote for 418.9: Government is a tinpot.
Bio questions? Ask me to start a Q&A journal. Computer analogies available for most topics!
HTTP 451, This site has been burnt.
In honor of Room 101.
..that explains the situation and encourages the user to click on a clicky that automatically files a complaint with the approporiate government agency and/or sends an email to the relevant minister. Should be maintained by a third party such as the EFF.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
THERE ARE FIVE CHARACTERS!
The proper one would be in the 5xx range, since the client's request is correct but the server is unable to comply.
503 - Service Unavailable is the obvious choice.
If we want to be cheeky about it, we could respond 305 - Use Proxy to hint that the client making the request can't come through here and must use some other path.