Slashdot Mirror


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?"

23 of 369 comments (clear)

  1. So what if there SHOULD be, nobody will use it by Gothmolly · · Score: 4, Insightful

    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.
    1. Re:So what if there SHOULD be, nobody will use it by Daetrin · · Score: 4, Insightful

      Because the people who are implementing the censorship are not the ones who mandated the censorship, and the goals of the two bodies may not be aligned.

      In theory an ISP might want to return a "this has been censored" code in the case of anything where some outside entity forced them to censor the content so they can pass the blame on to someone else. I don't know if any ISP would actually care enough to bother implementing it, but it's certainly a possibility.

      --
      This Space Intentionally Left Blank
    2. Re:So what if there SHOULD be, nobody will use it by Anonymous Coward · · Score: 4, Insightful

      In practice, an ISP has complete control over what they return in this situation.

      The Used could be redirected to the EFF.org or to the official legislation that forbade access, or one might be redirected to the homepage of a list of proxy services. If it were me in charge and I wanted to provide a public service befitting the mythical status of the benign ISP, I'd set up a simple HTML page including all of the above with a disclaimer stating that my company took a neutral position on the question of support for the newly minted Ministry of Information, and I'd include a link to Terry Gilliam's, Brazil, as well as Marshall McCluhan's official website.

       

  2. It's all in the point of view! by __aaltlg1547 · · Score: 4, Insightful

    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?

    1. Re:It's all in the point of view! by Luke727 · · Score: 5, Insightful

      So what it comes down to is, should HTTP represent the user's POV or the Government's?

      Neither. HTTP deals with clients and servers, not users and governments. Political issues are rightfully outside of its scope.

      As for the error code, 403 (Forbidden) is described as "The server understood the request, but is refusing to fulfill it". Is this not technically accurate?

      --
      If you find this post offensive, don't read it! THINK ABOUT YOUR BREATHING! I am what I am because of how apes behave.
    2. Re:It's all in the point of view! by Luke727 · · Score: 2, Insightful

      I don't disagree, but if you're going to make that argument then no status code can be accurate and thus the question is rendered moot. Ideally this kind of filtering would not be put in place (DNS and IP blocks should be enough), but we don't live in an ideal world. If this type of filtering is going to be put in place then, given the available options, 403 seems to be a reasonable status code to return.

      --
      If you find this post offensive, don't read it! THINK ABOUT YOUR BREATHING! I am what I am because of how apes behave.
  3. HTTP 451 by IonOtter · · Score: 5, Insightful

    I nominate HTTP 451 - Site is not permitted in your country.

    --
    [End Of Line]
    1. Re:HTTP 451 by xeno · · Score: 5, Insightful

      Mod parent up. This is brilliant, probably the best thing I've seen on /. in years. Following Bradbury's theme, how about.....

      HTTP 451: An error in your society has prevented your client from receiving the specified content.

      (And I love the fact that HTTP 450 paves the way for this.)

      --
      I think not...(*poof*)
  4. Stop. by mikkelm · · Score: 5, Insightful

    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.

    1. Re:Stop. by SuricouRaven · · Score: 4, Insightful

      Not so easy. One IP may host many, many websites. Usually the budget ones, that don't justify dedicating an entire server. So they all get to share one address, just different vhosts. Simple IP blocking would often block additional sites, not just the one targetted.

  5. Re:No problem by MightyMartian · · Score: 3, Insightful

    Screw status codes. There should be a rifle pointed at the head of every legislator who votes on one of these sorts of measures.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  6. Re:666 by __aaltlg1547 · · Score: 5, Insightful

    Only for religiously proscribes IPs. If it's proscribed for political reason the code is "1984 - Thoughtcrime found on site".

  7. Re:No problem by Anonymous Coward · · Score: 4, Insightful

    Screw status codes. There should be a rifle pointed at the head of every legislator who votes on one of these sorts of measures.

    George Washington didn't get rid of big British government by voting, holding protests (don't forget your permit!), or writing his elected officials. George Washington got rid of big British government by orchestrating the execution of hundreds of British government officials...

  8. Fahrenheit 451 by warewolfsmith · · Score: 5, Insightful

    HTTP 451, This site has been burnt.

  9. Re:666 by FriendlyStatistician · · Score: 5, Insightful

    In keeping with the 3-digit status codes we already have and the use of the 4xx series to indicate that the client has apparently made an error, I think status code 451 might be more appropriate.

    RIP, Ray Bradbury.

  10. Redirect to a page... by John+Hasler · · Score: 4, Insightful

    ..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.
  11. Re:How about using HTTP 101? by Anonymous Coward · · Score: 2, Insightful

    unfortunately 101 is already in use. 410 (gone, no forwarding address) is probably the smartest to use.

  12. Re:How about using HTTP 101? by FriendlyStatistician · · Score: 4, Insightful

    101 already exists, and means switching protocols. The 1xx series in general is inappropriate.

    Microsoft already used 450 as a censorship status code (for censored by Microsoft Parental Controls), so I think 451--with a nod to Ray Bradbury--would be appropriate.

  13. There already is an HTTP code by Mozai · · Score: 4, Insightful

    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.

  14. Re:No problem by bky1701 · · Score: 5, Insightful

    Democracy is by definition tyranny of the majority. That's why most countries have constitutions that cannot be violated and why there is no pure democracy.

  15. Re:666 by Xtifr · · Score: 4, Insightful

    So, in other words, a way of encoding the date that only Americans would recognize.

  16. Re:No problem by ultranova · · Score: 3, Insightful

    You seem to be forgetting that the wolves are going to kill and eat the sheep. The sheep has every right to defend itself, even if that inconveniences the wolves (skipping a meal won't kill them).

    Skipping enough meals will kill the wolves That's why the analogy sucks. It describes a situation where neither liberty nor freedom can possibly exist: the sheep can't trust the wolves, so it has little choice but to keep them helpless and unarmed. The sheep is privileged over the wolves and must keep itself that way in order to survive. It's not good enough for the sheep to just defend itself against, because if the two wolves are allowed to become equal (armed), they can overpower it through numbers. Consequently, the sheep must actively suppress the wolves.

    So while the analogy pretends to describe liberty, it actually paints a dystopia where a minority elite oppresses the majority through threats of violence and justifies this with the fact that they'll be killed if they ever lose their grip on power. They are also entirely correct: the majority doesn't have any choice in the matter due to convoluted circumstances. Consequently, no negotiation or program of democratization is possible. The sheep either rule the wolves with an iron hoof or die.

    That's why I oppose this particular analogy: not because of some bullshit notion that people should not be allowed to defend themselves, but because it's a very bad analogy.

    --

    Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

  17. Re:No problem by tehcyder · · Score: 3, Insightful

    Screw status codes. There should be a rifle pointed at the head of every legislator who votes on one of these sorts of measures.

    Comments such as this help me to take the temperature of the slashdot community from time to time. It used to be that I'd see a lot of sneering comments against gun culture in the US, but maybe the American forefathers we're right that the citizens should have the right to arm themselves in the face of tyranny.

    It's just odd that it took DRM to bring about this change in attitude in American slashdotters, if I've observed the trend correctly.

    Only a rich autistic teenager stuffed full of self-entitlement would think that trying to prevent access to free downloads of shitty commercial music and movies was cause for armed rebellion.

    The whining fucktards on slashdot aren't representative of normal people's reactions.

    --
    To have a right to do a thing is not at all the same as to be right in doing it