One Reply to “ok.txt”

  1. REF: http://slashdot.org/comments.pl?sid=112309&cid=9527805

    Hi Tom,

    It’s pretty simple – consider your browser going via a Web proxy server (usually is the case for most large isps). Your browser makes the request:
    GET http://www.blah.com/default.htm HTTP/1.1

    directly to the proxy.  It then connects to http://www.blah.com and asks for default.htm which it then returns to you whilst keeping a copy for itself.
    Then when the next guy asks for the same url it can serve it from its local cache.

    Now when access controls are in place, it generally only works for known IP ranges (for that ISP), other connecting IPs get denied.

    What slashdot is doing is connecting to (at least Ports 80 and 3128) and making a request for http://slashdot.org/ok.txt
    If:
    a) It gets "ok" back
    b) It is a 200 OK instead of a 403 DENIED
    c) The Headers show slashdot’s server details
    then it is safe to say that the machine is an open relay, and I guess /. would take the appropriate action (or precautions).

    Hope this helps,

    Paul.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

All content © Paul Gregg, 1994 - 2024
This site http://pgregg.com has been online since 5th October 2000
Previous websites live at various URLs since 1994