[gentoo-user] Re: Anyone use squid?

2009-09-27 Thread Francesco Talamona
On Sunday 27 September 2009, David Juhl wrote:
 I want to block as many dating sites as possible, but I am having to
 luck.  The url_regex can't catch a lot.  Either I need to find a
 regular expression in the url or find something that will look at the
 sites web page...  Not all urls use date in their url...

 thanks and bye

 David

You need danguardian, a web content filter squid is aware of.

net-proxy/dansguardian

ciao
Francesco

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4021.84 Bogomips Total
aemaeth



Re: [gentoo-user] Re: Anyone use squid?

2009-09-27 Thread Stroller


On 27 Sep 2009, at 10:00, Francesco Talamona wrote:

On Sunday 27 September 2009, David Juhl wrote:

I want to block as many dating sites as possible, but I am having to
luck.  The url_regex can't catch a lot.  Either I need to find a
regular expression in the url or find something that will look at the
sites web page...  Not all urls use date in their url...

...
You need danguardian, a web content filter squid is aware of.

net-proxy/dansguardian


The dansguardian website states that it does not include blacklists http://dansguardian.org/?page=blacklist 
 and instead links to http://urlblacklist.com/?sec=download. That  
has a category for dating, and can surely be referenced directly by  
Squid, without recourse to dansguardian.


Stroller.




[gentoo-user] Re: Anyone use squid?

2009-09-27 Thread Francesco Talamona
On Sunday 27 September 2009, Stroller wrote:
 The dansguardian website states that it does not include blacklists
 http://dansguardian.org/?page=blacklist  and instead links to
 http://urlblacklist.com/?sec=download. That has a category for
 dating, and can surely be referenced directly by Squid, without
 recourse to dansguardian.

I didn't know, it's interesting. Thanks for bringing it to my attention.

Ciao
Francesco

-- 
Linux Version 2.6.31-gentoo, Compiled #3 SMP PREEMPT Sat Sep 12 15:07:06 
CEST 2009
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



Re: [gentoo-user] Re: Anyone use squid?

2009-09-27 Thread David Juhl
I guess I still don't understand writing acls...

acl dating url_regex -i dating
acl date url_regex -i date
acl singles url_regex -i singles
acl swingers url_regex -i swingers
acl friendfinder url_regex -i adultfriendfinder
acl foundsite01 url_regex -i  www.plentyoffish.com*
acl timeanddate url_regex -i www.timeanddate.com
http_access allow timeanddate
http_access deny date
http_access deny dating
http_access deny singles
http_access deny swingers
http_access deny friendfinder
http_access deny foundsite01
http_access allow localhost
http_access deny all

The problem I've been having is www.timeanddate.com comes out true when
the url is being checked for date.  I have no problem checking what
time it is around the world.  www.plentyoffish.com is a dating website
as well, but I needed to write a separate acl to block it.  I know in
the website body you can see words like dating, singles, but I can't
figure out how to tell squid to look.  Banning them one by one could be
a pain, for there is always people in the world looking for love or
lust  I just don't want it to be done on my network.

Thanks and bye...
David

On Sun, 2009-09-27 at 12:47 +0200, Francesco Talamona wrote:
 On Sunday 27 September 2009, Stroller wrote:
  The dansguardian website states that it does not include blacklists
  http://dansguardian.org/?page=blacklist  and instead links to
  http://urlblacklist.com/?sec=download. That has a category for
  dating, and can surely be referenced directly by Squid, without
  recourse to dansguardian.
 
 I didn't know, it's interesting. Thanks for bringing it to my attention.
 
 Ciao
   Francesco
 




Re: [gentoo-user] Re: Anyone use squid?

2009-09-27 Thread David Juhl
Cool now all I need to do is figure out how to use them  A lot of
reading I must do...

David
On Sun, 2009-09-27 at 10:38 +0100, Stroller wrote:
 On 27 Sep 2009, at 10:00, Francesco Talamona wrote:
  On Sunday 27 September 2009, David Juhl wrote:
  I want to block as many dating sites as possible, but I am having to
  luck.  The url_regex can't catch a lot.  Either I need to find a
  regular expression in the url or find something that will look at the
  sites web page...  Not all urls use date in their url...
  ...
  You need danguardian, a web content filter squid is aware of.
 
  net-proxy/dansguardian
 
 The dansguardian website states that it does not include blacklists 
 http://dansguardian.org/?page=blacklist 
   and instead links to http://urlblacklist.com/?sec=download. That  
 has a category for dating, and can surely be referenced directly by  
 Squid, without recourse to dansguardian.
 
 Stroller.
 
 




Re: [gentoo-user] Re: Anyone use squid?

2009-09-27 Thread David Juhl
I think I figured it out...
Hopefully I won't ban myself out of a site I want to go to lol...  The
blacklists work.

Dave

On Sun, 2009-09-27 at 10:38 +0100, Stroller wrote:
 On 27 Sep 2009, at 10:00, Francesco Talamona wrote:
  On Sunday 27 September 2009, David Juhl wrote:
  I want to block as many dating sites as possible, but I am having to
  luck.  The url_regex can't catch a lot.  Either I need to find a
  regular expression in the url or find something that will look at the
  sites web page...  Not all urls use date in their url...
  ...
  You need danguardian, a web content filter squid is aware of.
 
  net-proxy/dansguardian
 
 The dansguardian website states that it does not include blacklists 
 http://dansguardian.org/?page=blacklist 
   and instead links to http://urlblacklist.com/?sec=download. That  
 has a category for dating, and can surely be referenced directly by  
 Squid, without recourse to dansguardian.
 
 Stroller.