Slashdot Mirror


Filtering Based on TLD?

nelomolen asks: "The school year is upon us, and I'm sure there's more than one school network administrator out there who is facing the same problem I am... web filtering (loud hissing ensues). Most administrators are stuck without a solution, with administration breathing down the back of their neck for a workable one. Put aside for a second that almost everyone hates the idea, we need something to tide us over until these laws are overturned (optimism). Does anyone know of any filtering solutions (client or server-side) that will strictly allow access based on TLD *then* domain name? For the sake of weathering out these laws, the easiest solution is to give unlimited access to .gov, .int, .us, .edu, .mil, etc, and explicit access to the handful of useful .com, .net, and .org domains that are out there. Has this option been explored by anyone? It seems to be a reasonable temporary fix. Is there currently any open-source software that can do this?"

14 comments

  1. Feline Poop by Anonymous Coward · · Score: 0

    Just a Friday night FUCK YOU to all of the LambdaMOOers.

  2. SquidGuard by matrix0040 · · Score: 2, Informative
    I think you can use Squidguard for this purpose. I'm not sure but they've wildcard support so you can configure the filter based on that.

    However in my opinion it would be difficult to pick out those handful of useful .com, .net, and .org domains. Cuz there are many more than just a handful. However you can use the available blacklist database available from squidguard's site to do the blocking.

  3. Rewrite IE by Anonymous Coward · · Score: 0

    It's not that hard, actually. Just create a large dialog box and include the IE browser component in there. Anytime someone types in a URL to link to, check it against your filter criteria. If it doesn't match, don't allow it.

    Of course, it would be difficult to prohibit hyperlinking from sites on the accepted URLs to banned sites.

    1. Re:Rewrite IE by matrix0040 · · Score: 1

      but even if you do this ,,, you cannot remove IE from a windows machine can you.
      and besides anyone can goto google.com and type in the URL and get a hyperlink to it in one second (or write the link in a file)
      So have a linux box as your proxy server, run squid proxy with squidguard and you should be done.

    2. Re:Rewrite IE by Anonymous Coward · · Score: 0

      You can indeed delete iexplorer.exe and suffer no ill effects. The actual browser component is somewhere else and can only be used by a client program.

      If you've got people installing software on the systems, then there's a much bigger problem than just kids looking at nudie pics on the web.

  4. Squid with SquidGuard is the bomb by waa · · Score: 3, Informative
    As previously stated, SquidGuard on top of Squid Cache is a probable good solution. SquidGuard is HIGHLY configurable for rule-sets, and Squid is a fantastic web-caching proxy server.

    I have recently configured such a web-filtering beast at a private middle school that requires web filtering for students. I am VERY happy with the speed of Squid and the configurability of SquidGuard.

    FYI, I simply created two lists "adult" and "student", and configured SquidGuard to pass ALL adult user requests on through unchecked, but check for and block 'bad stuff' when a student is making an attempt.

    Client is happy, I am happy (and paid). Chalk another one up for censorship!

    Kidding aside, this is a middle school and the children's Internet/computer access is monitored by staff/faculty members as well. Squid & SquidGuard are an added assitance. YMMV

    --
    Windows is not the answer.
    Windows is the question.
    The answer is "NO."
  5. Filtering is bad by epsalon · · Score: 2, Insightful

    It is bad because you can either filter too many or too little. Usually both.
    For example, Google's cache or altavista's babelfish, and many other loopholes alike (there was a link about this in a previous post). If you allow access to these resources - You've allowed access to all. If not, you've shut down a useful service.
    Moreover, I can create my own site that can serve as an open proxy and locate it in the .edu domain (I'm a student), and all your security falls. Heck - one of the students could ask a friend in college to build such a site for him.
    Either you enable Internet access to all sites, or disable it altogether, except for some previously downloaded pages. Otherwise - there is now way to do so.
    What you may consider however, is a strict accounting system and monitoring (which may be automated) of access to illegal material. That way, you can surf to pr0n sites, but you'll be called to the principal's office once you do.

    1. Re:Filtering is bad by damiam · · Score: 1
      For example, Google's cache or altavista's babelfish, and many other loopholes alike (there was a link about this in a previous post). If you allow access to these resources - You've allowed access to all.

      Not necessarily- google only caches text, so pr0n images are still blocked. However, you'd still need to block moore comprenhensive services like SilentSurf or the Anonymizer in order to work.

      --
      It's hard to be religious when certain people are never incinerated by bolts of lightning.
    2. Re:Filtering is bad by epsalon · · Score: 1

      Sure, but what about pr0n text or pr0n ascii art? Also, there are other types 'obejctionable' content such as drugs, anarchists, and such, that can be expressed as text.

  6. censorship... by crazney · · Score: 1

    At my school they gave up on trying to censor us, there was just way to much stuff..

    So, what they have now is a few simple log checkers. Basically it checks the logs for common words that are in porn urls. like "sex", "fuck", "slut", "teen", "porn", "cunt" etc.. It then tallies up the total bandwidth used by EACH USER and forward it to the sysadmin, daily.

    They give each kid a porn-limit (yes, its true) - nothing official. But they understand kids will look at porn, theres no stopping them, but if its getting obsessive OR using to much bandwith (~more than 40mb a week): they get the psychologist to talk to them.. easy :-).

    (this is the unofficial pollicy, but it seems to work well)
    and for the record: no, i dont bother using the net at school, its only a 50K link for several hundred kids.

    --
    stuff
  7. squirm.. by crazney · · Score: 1

    Squirm for Squid-cache is a fast & configurable redirector for the Squid Internet Object Cache.

    Basically it redirects (possibly to a local apache server, if you want) URL requests that match reg-exp's.

    So you could have it redirect to a notice saying "sorry, this website is banned" to anything but the checkin's that you have made available.

    its smaller and ligher than Squidguard - but squidguard gets useful when you have MANY MANY MANY regexps to match (like 1000's) since it uses a database.

    hope that helps

    --
    stuff
  8. Qquidguard by damiam · · Score: 1

    Squidguard comes with a blockfile for porn sites. I don't know how comprehensive it is, but it will probably satisfy the law and be restrictive than blocking all .com, .org, and .net domains.

    --
    It's hard to be religious when certain people are never incinerated by bolts of lightning.
  9. Filtering secure connections by man_ls · · Score: 1

    Speaking as a high school student, which I currently am, in a Florida school, our school district uses Squid software off of Novell something or other to provide internet filtering. Everything is for null, however, due to a very nifty web site that I discovered, that uses a secure proxy to circumvent the filtering and firewalls.

    Using this tool, I can go to that web site, and type the address into it, and it uses a secure proxy server on a different port. It currently has school officials stumped on how to block it.

    Is there any way to restrict access to HTTPS:// connections? (I don't want to have to set my home connection up as a secure proxy...but I might have to if they block it.)