If there is a hit in an acl (first destination contains the hit) the other
destination are ignored, so it should work. I have done it, too and it works
fine.

Frank

-----Original Message-----
From: Simon Thwaites [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 3:12 PM
To: Kleikamp, Frank; Josef Bergmann
Cc: [email protected]
Subject: RE: howto define exceptions in expressions.diff


Doesnt it process them in order though? that would require you to put "ok"
after the block.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kleikamp, Frank
Sent: 10 March 2005 12:27
To: 'Josef Bergmann'
Cc: [email protected]
Subject: RE: howto define exceptions in expressions.diff


Hi Josef,

you could just create a new destination (eg. destinaion ok) with the domains
or urls in it and then put it as "ok" in your acls. Looks like that:

acl {
  youracl {
    pass ok !whateveryoublock all
  }
}
that means traffic for "ok" is passed, whateveryoublock is blocked, and what
doesn�t match these destinations is passed.

Hope that helps,
Frank 

-----Original Message-----
From: Josef Bergmann [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 10, 2005 11:22 AM
To: [email protected]
Subject: howto define exceptions in expressions.diff


Hello!

I want to allow the following URL
http://www.netdoktor.de/sex_partnerschaft/fakta/dreimonatsspritze.htm

But it get blocked by the adult/expressions (Target class = adult).
There is a expression like this in there (... stripped):
(^|[-.\?+=/_0-9])(all|...|young)?(anal|...|sex)s?(cafe|...)?([-.\?+=/_0-9]|$
)

So I added the following to expressions.diff
-sex_partnerschaft
and updated the database with squidGuard -d -u

It does not help (URL still blocked), so I also added
-netdoktor.de
to domains.diff and 
-netdoktor.de/sex_partnerschaft
to urls.diff

Does also not help.
How can I define a exception for this URL?

Thank you.
bye Josef

Reply via email to