[squid-users] WARNING: there are more than 100 regular expressions

2014-11-27 Thread navari.lore...@gmail.com
Good day,
i have these Warnings  

 squid -k parse

..
2014/11/27 09:36:22| Processing: acl direct_urls dstdom_regex   
/etc/squid/direct_urls.txt
2014/11/27 09:36:22| /etc/squid/squid.conf line 86: acl direct_urls
dstdom_regex/etc/squid/direct_urls.txt
2014/11/27 09:36:22| WARNING: there are more than 100 regular expressions.
Consider using less REs or use rules without expressions like 'dstdomain'.

2014/11/27 09:36:22| Processing: acl allowed_sitesmime dstdom_regex 
/etc/squid/allowed_sitesmime.txt
2014/11/27 09:36:22| /etc/squid/squid.conf line 94: acl allowed_sitesmime
dstdom_regex/etc/squid/allowed_sitesmime.txt
2014/11/27 09:36:22| WARNING: there are more than 100 regular expressions.
Consider using less REs or use rules without expressions like 'dstdomain'.


What can i do ?

Thank to everybody.







--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/WARNING-there-are-more-than-100-regular-expressions-tp4668529.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] WARNING: there are more than 100 regular expressions

2014-11-27 Thread Helmut Hullen
Hallo, navari.lore...@gmail.com,

Du meintest am 27.11.14:

 i have these Warnings

  squid -k parse

 ..
 2014/11/27 09:36:22| Processing: acl direct_urls dstdom_regex
 /etc/squid/direct_urls.txt
 2014/11/27 09:36:22| /etc/squid/squid.conf line 86: acl direct_urls
 dstdom_regex  /etc/squid/direct_urls.txt
 2014/11/27 09:36:22| WARNING: there are more than 100 regular
 expressions.Consider using less REs or use rules without expressions
 like 'dstdomain'.

[...]

 What can i do ?

Consider using less REs ...

Viele Gruesse!
Helmut

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


[squid-users] Cascading different authentification methods

2014-11-27 Thread christianmolecki
Hello everyone,

we are using squid 3.4.6 with ntlm authentification.
Depending on ActiveDirectory group memberships, the user is able to use
different protocols.
This works very well.

Now we need for some websites an additional basic authentication.
So I configured the basic ncsa_auth helper.
This works also, but only if the ntlm_auth helper is disables.

How I can authentificate via ntlm + basic?

Is this generally possible?


Best Regards
Christian



--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/Cascading-different-authentification-methods-tp4668532.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] WARNING: there are more than 100 regular expressions

2014-11-27 Thread Helmut Hullen
Hallo, navari.lore...@gmail.com,

Du meintest am 27.11.14:

 Consider using less REs ... is not possible.

Then try something like squidguard with lots of user defined domains  
and URLs.

Viele Gruesse!
Helmut

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] WARNING: there are more than 100 regular expressions

2014-11-27 Thread Leonardo Rodrigues

On 27/11/14 07:59, navari.lore...@gmail.com wrote:

Consider using less REs ... is not possible.


so dont worry about this WARNING message. This is just a warning, 
not an error. If you're aware that using lots of REs can hit hard on the 
CPU usage, just go for it.




--


Atenciosamente / Sincerily,
Leonardo Rodrigues
Solutti Tecnologia
http://www.solutti.com.br

Minha armadilha de SPAM, NÃO mandem email
gertru...@solutti.com.br
My SPAMTRAP, do not email it



___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] WARNING: there are more than 100 regular expressions

2014-11-27 Thread Marcus Kool

blocking facebook and twitter can be done with ACLs based on dstdomain.
they are much faster than REs.

Marcus

On 11/27/2014 10:01 AM, navari.lore...@gmail.com wrote:

ok
i don't intend to use REs for blacklisting but only for blocking some sites
like facebook twitter...
In the other file i have about 120 - 150 REs.





--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/WARNING-there-are-more-than-100-regular-expressions-tp4668529p4668535.html
Sent from the Squid - Users mailing list archive at Nabble.com.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] Cascading different authentification methods

2014-11-27 Thread Brendan Kearney
On Thu, 2014-11-27 at 02:24 -0800, christianmolecki wrote:
 Hello everyone,
 
 we are using squid 3.4.6 with ntlm authentification.
 Depending on ActiveDirectory group memberships, the user is able to use
 different protocols.
 This works very well.
 
 Now we need for some websites an additional basic authentication.
 So I configured the basic ncsa_auth helper.
 This works also, but only if the ntlm_auth helper is disables.
 
 How I can authentificate via ntlm + basic?
 
 Is this generally possible?
 
 
 Best Regards
 Christian
 
 
 
 --
 View this message in context: 
 http://squid-web-proxy-cache.1019090.n4.nabble.com/Cascading-different-authentification-methods-tp4668532.html
 Sent from the Squid - Users mailing list archive at Nabble.com.
 ___
 squid-users mailing list
 squid-users@lists.squid-cache.org
 http://lists.squid-cache.org/listinfo/squid-users

why do you need to authenticate the users differently, for different
sites?  the auth for the proxies (indicated by an HTTP/407 status code)
is completely different than the auth for a web site/server (indicated
by an HTTP/401 status code).

___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users