Results 1 to 7 of 7

Thread: blocking sites

  1. #1
    Join Date
    Apr 2008
    Beans
    15

    blocking sites

    I work at a hotel, and against my will, have been put in charge of keeping up with the guest computer. It is curently running XP and is loaded with viruses and spyware everytime time I come back from my two days off.

    My boss has given me permission to use Linux, but I need to know if there is anyway to block certain sites since this is a public computer and kids are ussually around.

    Is there a program, or is there a fuction already in OS?

  2. #2
    Join Date
    Dec 2006
    Location
    Chicago
    Beans
    3,839

    Re: blocking sites

    If you have certain domains in mind, the easy solution would be to add entries to your hosts file.
    Code:
    127.0.0.1 www.bad-domain.com
    Anyone looking up www.bad-domain.com would be connecting to the local webserver, or get a "Failed To Connect" error if you're not running one. This solution would work on Linux, Windows, or Mac.

    The hosts file is located at:
    /etc/hosts

    or for windows:
    c:\windows\system32\drivers\etc\hosts

  3. #3
    Join Date
    Apr 2008
    Beans
    15

    Re: blocking sites

    The thing is, so many people use this machine at many different times for many different things. It would take forever to track down all the different sites. Is there anything that can cover most of it for me and I could pick up the rest myself?

  4. #4
    Join Date
    Feb 2007
    Beans
    169
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: blocking sites

    Thanks.. I'm going to use the last suggestion on my students.. Monday.

    Another thing you can do is set up a white or black list fire-wall wise. Firestarter makes that pretty simple.
    Code:
    sudo apt-get install firestarter
    You might also check out opendns.com You can quickly set up a proxy server and block categories.

  5. #5
    Join Date
    Apr 2008
    Beans
    15

    Re: blocking sites

    These look like good places to start. I think I'm going to try each one to see what happens.

  6. #6
    Join Date
    Apr 2008
    Location
    UK
    Beans
    1,098

    Re: blocking sites

    Quote Originally Posted by Dude Guadalupe View Post
    I work at a hotel, and against my will, have been put in charge of keeping up with the guest computer. It is curently running XP and is loaded with viruses and spyware everytime time I come back from my two days off.

    My boss has given me permission to use Linux, but I need to know if there is anyway to block certain sites since this is a public computer and kids are ussually around.

    Is there a program, or is there a fuction already in OS?
    I've never used dansguardian but it is the package which always seems to be recommended for this sort task.
    Brian.

  7. #7
    Join Date
    Apr 2008
    Location
    Phoenix, AZ
    Beans
    1,393
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: blocking sites

    Quote Originally Posted by brian_p View Post
    I've never used dansguardian but it is the package which always seems to be recommended for this sort task.
    Yes, dansguardian would work well. There are several free blacklists which can be loaded into it; they had links to them at the dansguardian web site the last time I checked. Dansguardian can also filter based on keywords in the content of the page itself, and then block when a certain threshold of unwanted keywords is reached. It has several predefined categories - violence, sex, drugs, etc. Of course, you can also tweak those yourself, or create your own categories. This give you the ability block unwanted sites even if the domain is not specifically blacklisted.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •