Author Topic: Filter for website ? [SOLVED]  (Read 3482 times)

strange

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Filter for website ? [SOLVED]
« on: December 14, 2011, 02:10:26 pm »
Hello everyone,

I'm new with this great Zentyal, but i would like to know if its possible to filter website like Untangle ? For example if i want "denied the access" to social website, or pornographic or warez etc... ?

If yes, how can i ?

Srry about my english =/ ! Thx so much.

Greetz

--> oh ! And if you can post a screenshot of "the module" of my question
« Last Edit: December 15, 2011, 01:08:53 pm by strange »

stif

  • Zen Apprentice
  • *
  • Posts: 22
  • Karma: +0/-0
    • View Profile
Re: Filter for website ?
« Reply #1 on: December 14, 2011, 03:02:05 pm »
I dont know if it is still the same but here is how i did it in Zentyal (eBox) 1.2:

http://forum.zentyal.org/index.php/topic,1979.msg8330.html#msg8330

vshaulsk

  • Zen Samurai
  • ****
  • Posts: 477
  • Karma: +9/-1
    • View Profile
Re: Filter for website ?
« Reply #2 on: December 14, 2011, 03:17:33 pm »
My question to you first is if you are using transparent proxy or not?

When using transparent proxy .... blocking HTTPS is not as straight forward as it is with standard HTTP.


---- For my setup I wanted to block content by category because I don't know every porn, social site... etc on the internet.
So I downloaded a list from http://www.shallalist.de/ and uploaded it into the domain list under the proxy section (sorry I am not at home to give you screen shots).... but the documentation talks about this under the proxy section (Domain Filter Setting ... at the bottom).

This gives you categories of content that you can block, allow or filter as you like.   I found that you have to set the proxy to filter mode in order for the shallalist to work.  (In transparent mode this method will only block HTTP content not HTTPS)

If this does not make sense let me know and I will try to explain better.

strange

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Filter for website ?
« Reply #3 on: December 14, 2011, 03:44:09 pm »
First of all thx for you quick answer !

So for Stif : Yes i've seen this option but i'm not interested, because its not some particular website i want to block but categories. Example : i wish to block all website from categories "warez" or "shopping". Vshauslk know what i mean ^^.

Vshaulsk : So the proxy is not transparent. About your link i check the fil from shallalist.de but :

- When i upload the archive inside the proxy section its tell me "there is a bug you should see what happen in /var/log/zentyal/zentyal.log so it doesnt work. I tried to access through the directory with the admin console but telll me "permission denied" so what's wrong with me ? (sorry i am a really noob...)

Thx so much for your help

vshaulsk

  • Zen Samurai
  • ****
  • Posts: 477
  • Karma: +9/-1
    • View Profile
Re: Filter for website ?
« Reply #4 on: December 14, 2011, 04:23:25 pm »
Just so I understand what you are saying.

You downloaded the shallalist.tar.gz file from the website.

You went to the domain filter section and tried to upload the file, but it gives you an error message which tells you to look in the /var/log/zentyal/zentyal.log

However if you try to open zentyal.log you get permission denied.....    Do I understand you correctly???

Are you trying to access the zentyal.log right from the desktop of the host server or are you using something like putty or wincsp from a remote machine???

If you use the CLI.... you can use the sudo command to give yourself elevated privileges.

To view log files at shell prompt

Use tail, more, less and grep command.
tail -f /var/log/zentyal/zentyal.log
more /var/log/zentyal/zentyal.log
cat /var/log/zentyal/zentyal.log
less /var/log/zentyal/zentyal.log
grep -i fail /var/log/zentyal/zentyal.log


strange

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Filter for website ?
« Reply #5 on: December 15, 2011, 08:29:13 am »
Hello,

You re right what about i'm saying.  Yeah i'm trying to access to this file since the administrator console on the desktop on the host server. I tried to type what you wrote, but the console send me "no such file directory". Do you need to see the log to help me ? Or can you try to "repair" my problem when i try to uplaod the file into zentyal ?

thx dude,

strange

  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Filter for website ?
« Reply #6 on: December 15, 2011, 10:35:44 am »
Hey,

Just tried with another "blacklists file" and its work with this one : ftp://ftp.univ-tlse1.fr/pub/reseau/cache/squidguard_contrib/blacklists.tar.gz

Do you know another blackslists website which update sometimes their files ?

Thxc you

vshaulsk

  • Zen Samurai
  • ****
  • Posts: 477
  • Karma: +9/-1
    • View Profile
Re: Filter for website ?
« Reply #7 on: December 15, 2011, 12:57:54 pm »
that shallalist is the only one I know ..... I found from reading other peoples posts on here.  I am sure there are others out there..... probably just googling them would be the best.

robb

  • Guest
Re: Filter for website ? [SOLVED]
« Reply #8 on: December 15, 2011, 03:02:38 pm »
http://www.squidguard.org/blacklists.html

Maybe for example when using in a school a whitelist is even better.
http://whitetrash.sourceforge.net/ might be a good startingpoint for a feature for zentyal??