public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Anyone use squid?
@ 2009-09-27  4:22 David Juhl
  2009-09-27  9:00 ` [gentoo-user] " Francesco Talamona
  0 siblings, 1 reply; 7+ messages in thread
From: David Juhl @ 2009-09-27  4:22 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: Anyone use squid?
  2009-09-27  4:22 [gentoo-user] Anyone use squid? David Juhl
@ 2009-09-27  9:00 ` Francesco Talamona
  2009-09-27  9:38   ` Stroller
  0 siblings, 1 reply; 7+ messages in thread
From: Francesco Talamona @ 2009-09-27  9:00 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: Anyone use squid?
  2009-09-27  9:00 ` [gentoo-user] " Francesco Talamona
@ 2009-09-27  9:38   ` Stroller
  2009-09-27 10:47     ` Francesco Talamona
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stroller @ 2009-09-27  9:38 UTC (permalink / raw
  To: gentoo-user


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.




^ permalink raw reply	[flat|nested] 7+ messages in thread

* [gentoo-user] Re: Anyone use squid?
  2009-09-27  9:38   ` Stroller
@ 2009-09-27 10:47     ` Francesco Talamona
  2009-09-27 15:02       ` David Juhl
  2009-09-27 15:15     ` David Juhl
  2009-09-27 15:30     ` David Juhl
  2 siblings, 1 reply; 7+ messages in thread
From: Francesco Talamona @ 2009-09-27 10:47 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: Anyone use squid?
  2009-09-27 10:47     ` Francesco Talamona
@ 2009-09-27 15:02       ` David Juhl
  0 siblings, 0 replies; 7+ messages in thread
From: David Juhl @ 2009-09-27 15:02 UTC (permalink / raw
  To: gentoo-user

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
> 




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: Anyone use squid?
  2009-09-27  9:38   ` Stroller
  2009-09-27 10:47     ` Francesco Talamona
@ 2009-09-27 15:15     ` David Juhl
  2009-09-27 15:30     ` David Juhl
  2 siblings, 0 replies; 7+ messages in thread
From: David Juhl @ 2009-09-27 15:15 UTC (permalink / raw
  To: gentoo-user

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.
> 
> 




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] Re: Anyone use squid?
  2009-09-27  9:38   ` Stroller
  2009-09-27 10:47     ` Francesco Talamona
  2009-09-27 15:15     ` David Juhl
@ 2009-09-27 15:30     ` David Juhl
  2 siblings, 0 replies; 7+ messages in thread
From: David Juhl @ 2009-09-27 15:30 UTC (permalink / raw
  To: gentoo-user

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.
> 
> 




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2009-09-27 15:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-27  4:22 [gentoo-user] Anyone use squid? David Juhl
2009-09-27  9:00 ` [gentoo-user] " Francesco Talamona
2009-09-27  9:38   ` Stroller
2009-09-27 10:47     ` Francesco Talamona
2009-09-27 15:02       ` David Juhl
2009-09-27 15:15     ` David Juhl
2009-09-27 15:30     ` David Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox