Re: [squid-users] squidGuard configuration test - echo test

2015-06-10 Thread Jose Julian Buda



On 08/06/15 08:10, Helmut Hullen wrote:

Hallo, Amos,

Du meintest am 08.06.15:


Under squid 3.4 (and many earlier versions) I use

 url_rewrite_program /usr/bin/squidGuard

How must I change this line for squid 3.5?



You should not have to change the SG command line or configuration.


Ok!


Whats needed is a patch from
http://bugs.squid-cache.org/show_bug.cgi?id=3978  to be applied to
SGitself. If you are using an OS provided SG binary check to see if
theyhave already patched it.


It's not patched in my version, but it works under squid 3.4.10 -
strange.


The above page mentions

http://www.eu.squid-cache.org/Doc/config/url_rewrite_extras

but  this page doesn't yet exist.


[...]


That should be:



   http://www.squid-cache.org/Doc/config/url_rewrite_extras/
and
   http://www.squid-cache.org/Doc/config/url_rewrite_program/


Ok - now I can read the pages!

Viele Gruesse!
Helmut

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



Thank you all, squidGuard 1.5.4 from Debian's repository, work fine on 
DebianJessie's Squid 3.4,  i've made it work yesterday, and it does it good.
ERR from squidGuard means Do not change the URL, and let squid pass 
the request.


Thank you for your time.

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


Re: [squid-users] squidGuard configuration test - echo test [SOLVED]

2015-06-10 Thread Jose Julian Buda



On 08/06/15 08:10, Helmut Hullen wrote:

Hallo, Amos,

Du meintest am 08.06.15:


Under squid 3.4 (and many earlier versions) I use

 url_rewrite_program /usr/bin/squidGuard

How must I change this line for squid 3.5?



You should not have to change the SG command line or configuration.


Ok!


Whats needed is a patch from
http://bugs.squid-cache.org/show_bug.cgi?id=3978  to be applied to
SGitself. If you are using an OS provided SG binary check to see if
theyhave already patched it.


It's not patched in my version, but it works under squid 3.4.10 -
strange.


The above page mentions

http://www.eu.squid-cache.org/Doc/config/url_rewrite_extras

but  this page doesn't yet exist.


[...]


That should be:



   http://www.squid-cache.org/Doc/config/url_rewrite_extras/
and
   http://www.squid-cache.org/Doc/config/url_rewrite_program/


Ok - now I can read the pages!

Viele Gruesse!
Helmut

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


Thank you all, squidGuard 1.5.4 from Debian's repository, work fine on 
DebianJessie's Squid 3.4,  i've made it work yesterday, and it does it good.
ERR from squidGuard means Do not change the URL, and let squid pass 
the request.


Thank you for your time.

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Helmut Hullen
Hallo, Marcus,

Du meintest am 08.06.15:

 you can download ufdbGuard here:
 https://www.urlfilterdb.com/downloads/software_doc.html
 and here:
 http://sourceforge.net/projects/ufdbguard/

 ufdbGuard is just like Squid free Open Source Software.

 The trial license on www.urlfilterdb.com is about the URL database.

Thank you - sounds good!

Viele Gruesse!
Helmut

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Marcus Kool

Helmut,

you can download ufdbGuard here:
   https://www.urlfilterdb.com/downloads/software_doc.html
and here:
   http://sourceforge.net/projects/ufdbguard/

ufdbGuard is just like Squid free Open Source Software.

The trial license on www.urlfilterdb.com is about the URL database.

Best regards,
Marcus


On 06/08/2015 08:20 AM, Helmut Hullen wrote:

Hallo, Marcus,

Du meintest am 07.06.15:


The URL director interface was changed with Squid 3.4, see also
http://wiki.squid-cache.org/Features/RedirectorsThe latest version of
squidguard is 1.5 beta from 2010 and squidGuard does not support the
new interface of Squid.



ufdbGuard is also a URL redirector and since it has regular updates,
ufdbGuard is compatible with the new URL redirector interface of
Squid.ufdbGuard is free software with a GPL2 license,


But what is the meaning of


https://www.urlfilterdb.com/downloads/trialregistration.html

and

https://www.urlfilterdb.com/pricing/licenses.html

I don't find there that using ufdbguard without having payed a
licence fee is legal use.

And the users of the c't/ODS-Schulserver

  http://de.wikipedia.org/wiki/Arktur-Schulserver

which I now maintain also may ask this question ...

Viele Gruesse!
Helmut

___
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] squidGuard configuration test - echo test

2015-06-08 Thread Amos Jeffries
On 8/06/2015 5:20 a.m., Jose Julian Buda wrote:
 On 2015-06-07 12:15, Helmut Hullen wrote:
 Hallo, Marcus,

 Du meintest am 07.06.15:

 Hi, i have installed squidGuard 1.5 on Debian Jessie and i need an
 user based filter, made the src/dest/acl setting and then test with
 :

 echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET |
 squidGuard -d

 The URL director interface was changed with Squid 3.4, see also
 http://wiki.squid-cache.org/Features/RedirectorsThe latest version of
 squidguard is 1.5 beta from 2010 and squidGuard does not support the
 new interface of Squid.

 Sure?
 I run squid-3.4.10 and squidGuard-1.5beta on many machines, without
 having changed the Redirector line in /etc/squid/squid.conf.

 
 
 Thank you Helmut for this information.
 I guess squidGuard 1.5.4 should work on DebianStable's Squid3.4
 So anything about the ERR answer for this test?

That wiki page Marcus references you to documents it in detail.


 
 echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET |
 squidGuard -d
 
 ...
 2015-06-07 00:08:44 [3359] INFO: squidGuard 1.5 started (1433646524.285)
 2015-06-07 00:08:44 [3359] INFO: squidGuard ready for requests
 (1433646524.286)
 ERR
 2015-06-07 00:08:44 [3359] INFO: squidGuard stopped (1433646524.287
 ...
 
 is this what is expected for a passing request?

From that wiki page:

result
  One of the result codes:

OK - Success. A new URL is presented.

ERR - Success. No action for this URL.

BH - Failure. The helper encountered a problem.

  {i} the result field is only accepted by Squid-3.4 and newer.


In other words, SG is working and telling Squid/you not to do anything
with the URL you gave it.

If you have rules setup that should be making it an OK with URL output
its probably because of ... the URL given to SG is not valid (missing
path), also the FQDN, myip=, and myport= fields are missing.

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Helmut Hullen
Hallo, Amos,

Du meintest am 08.06.15:

 The URL director interface was changed with Squid 3.4, see also
 http://wiki.squid-cache.org/Features/Redirectors

 The latest version of squidguard is 1.5 beta from 2010 and
 squidGuard does not support the new interface of Squid.

[...]

 That wiki page Marcus references you to documents it in detail.

Sorry - I'd like to get some help.

Under squid 3.4 (and many earlier versions) I use

url_rewrite_program /usr/bin/squidGuard

How must I change this line for squid 3.5?

The above page mentions

   http://www.eu.squid-cache.org/Doc/config/url_rewrite_extras

but  this page doesn't yet exist.

Same problem with

   http://www.eu.squid-cache.org/Doc/config/url_rewrite_program

Viele Gruesse!
Helmut

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Helmut Hullen
Hallo, Amos,

Du meintest am 08.06.15:

 Under squid 3.4 (and many earlier versions) I use

 url_rewrite_program /usr/bin/squidGuard

 How must I change this line for squid 3.5?

 You should not have to change the SG command line or configuration.

Ok!

 Whats needed is a patch from
 http://bugs.squid-cache.org/show_bug.cgi?id=3978 to be applied to
 SGitself. If you are using an OS provided SG binary check to see if
 theyhave already patched it.

It's not patched in my version, but it works under squid 3.4.10 -  
strange.

 The above page mentions

http://www.eu.squid-cache.org/Doc/config/url_rewrite_extras

 but  this page doesn't yet exist.

[...]

 That should be:

   http://www.squid-cache.org/Doc/config/url_rewrite_extras/
 and
   http://www.squid-cache.org/Doc/config/url_rewrite_program/

Ok - now I can read the pages!

Viele Gruesse!
Helmut

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Helmut Hullen
Hallo, Marcus,

Du meintest am 07.06.15:

 The URL director interface was changed with Squid 3.4, see also
 http://wiki.squid-cache.org/Features/RedirectorsThe latest version of
 squidguard is 1.5 beta from 2010 and squidGuard does not support the
 new interface of Squid.

 ufdbGuard is also a URL redirector and since it has regular updates,
 ufdbGuard is compatible with the new URL redirector interface of
 Squid.ufdbGuard is free software with a GPL2 license,

But what is the meaning of


   https://www.urlfilterdb.com/downloads/trialregistration.html

and

   https://www.urlfilterdb.com/pricing/licenses.html

I don't find there that using ufdbguard without having payed a  
licence fee is legal use.

And the users of the c't/ODS-Schulserver

 http://de.wikipedia.org/wiki/Arktur-Schulserver

which I now maintain also may ask this question ...

Viele Gruesse!
Helmut

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Amos Jeffries
On 8/06/2015 8:38 p.m., Helmut Hullen wrote:
 Hallo, Amos,
 
 Du meintest am 08.06.15:
 
 The URL director interface was changed with Squid 3.4, see also
 http://wiki.squid-cache.org/Features/Redirectors
 
 The latest version of squidguard is 1.5 beta from 2010 and
 squidGuard does not support the new interface of Squid.
 
 [...]
 
 That wiki page Marcus references you to documents it in detail.
 
 Sorry - I'd like to get some help.
 
 Under squid 3.4 (and many earlier versions) I use
 
 url_rewrite_program /usr/bin/squidGuard
 
 How must I change this line for squid 3.5?
 

You should not have to change the SG command line or configuration.

Whats needed is a patch from
http://bugs.squid-cache.org/show_bug.cgi?id=3978 to be applied to SG
itself. If you are using an OS provided SG binary check to see if they
have already patched it.


 The above page mentions
 
http://www.eu.squid-cache.org/Doc/config/url_rewrite_extras
 
 but  this page doesn't yet exist.
 
 Same problem with
 
http://www.eu.squid-cache.org/Doc/config/url_rewrite_program
 

That should be:

  http://www.squid-cache.org/Doc/config/url_rewrite_extras/
and
  http://www.squid-cache.org/Doc/config/url_rewrite_program/


Thanks for pointing this out. I've fixed the wiki auto-linking now.


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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-08 Thread Patrick
We switched to ufdbGuard recently and were a bit confused on that point as
well.  But see: https://www.urlfilterdb.com/products/ufdbguard.html
ufdbGuard is copyright-protected, but free for use.  Also in commercial
environments.

The pricing page and licensing model you have linked is only for their
blacklist database, URLfilterDB, which is subscription based (and worth
considering).  But you're free to use the ufdbGuard software with other
blacklists.  It imports and works flat file based blacklists like Shalla
very well.
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] squidGuard configuration test - echo test

2015-06-07 Thread Jose Julian Buda

On 2015-06-07 12:15, Helmut Hullen wrote:

Hallo, Marcus,

Du meintest am 07.06.15:


Hi, i have installed squidGuard 1.5 on Debian Jessie and i need an
user based filter, made the src/dest/acl setting and then test with
:

echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET |
squidGuard -d



The URL director interface was changed with Squid 3.4, see also
http://wiki.squid-cache.org/Features/RedirectorsThe latest version 
of

squidguard is 1.5 beta from 2010 and squidGuard does not support the
new interface of Squid.


Sure?
I run squid-3.4.10 and squidGuard-1.5beta on many machines, without
having changed the Redirector line in /etc/squid/squid.conf.

Viele Gruesse!
Helmut

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




Thank you Helmut for this information.
I guess squidGuard 1.5.4 should work on DebianStable's Squid3.4
So anything about the ERR answer for this test?

echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET | 
squidGuard -d


...
2015-06-07 00:08:44 [3359] INFO: squidGuard 1.5 started 
(1433646524.285)
2015-06-07 00:08:44 [3359] INFO: squidGuard ready for requests 
(1433646524.286)

ERR
2015-06-07 00:08:44 [3359] INFO: squidGuard stopped (1433646524.287
...

is this what is expected for a passing request?
Can anyone do me a favor, do this and tell me what see?


Thank you very much in advance
Julian
___
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users


Re: [squid-users] squidGuard configuration test - echo test

2015-06-07 Thread Jose Julian Buda

thank Marcus for the answer

but maybe at this time squidguard does work on debian jessie :

https://packages.debian.org/jessie/squidguard

http://metadata.ftp-master.debian.org/changelogs/main/s/squidguard/stable_changelog

http://metadata.ftp-master.debian.org/changelogs/main/s/squidguard/squidguard_1.5-4_squidguard.README.Debian


for another hand, ufdbGuard is not on the debian repository

my question is what mean this lines when i run the echo test.

.
2015-06-07 00:08:44 [3359] INFO: squidGuard 1.5 started 
(1433646524.285)
2015-06-07 00:08:44 [3359] INFO: squidGuard ready for requests 
(1433646524.286)

ERR
2015-06-07 00:08:44 [3359] INFO: squidGuard stopped (1433646524.287)
.

as i can see in squid.conf, squid wait for this kind of answer(ERR) 
from the redirector



but if it does'nt work anyway, is there another squid 
url_rewrite_program supported by debian ?


thank you in advance

Julian



On 2015-06-07 10:24, Marcus Kool wrote:

The URL director interface was changed with Squid 3.4, see also
http://wiki.squid-cache.org/Features/Redirectors
The latest version of squidguard is 1.5 beta from 2010 and squidGuard
does not support the new interface of Squid.

ufdbGuard is also a URL redirector and since it has regular updates,
ufdbGuard is compatible with the new URL redirector interface of
Squid.
ufdbGuard is free software with a GPL2 license, 99% compatible with
squidGuard, 3x faster, has a lower memory footprint and maintained by
the Dutch company URLfilterDB B.V.
So you have every reason to switch from squiddGuard to ufdbGuard.

Marcus


On 06/07/2015 07:57 AM, Jose Julian Buda wrote:


Hi, i have installed squidGuard 1.5 on Debian Jessie and i need an 
user based filter, made the src/dest/acl setting and then test with :


echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET | 
squidGuard -d


..
2015-06-07 00:08:44 [3359] INFO: squidGuard 1.5 started 
(1433646524.285)
2015-06-07 00:08:44 [3359] INFO: squidGuard ready for requests 
(1433646524.286)

ERR
2015-06-07 00:08:44 [3359] INFO: squidGuard stopped (1433646524.287)
..


this someuserfromauth is supposed to pass the filter and get the 
testsite.


My question is what mean the ERR line?

In the squid.conf said that the result field ERR from 
url_rewrite_program mean Do not change the url

, so it is that what it mean? or it should be OK ?

on some mailing list answers said that this lines shoulbe empty for 
passing request.


is it ok with ERR on this line?

There is no way to test with a browser, it is a remote(ssh) 
configuration and i need it on production by monday.


Thank you in advance

Julian
___
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] squidGuard configuration test - echo test

2015-06-07 Thread Helmut Hullen
Hallo, Marcus,

Du meintest am 07.06.15:

 Hi, i have installed squidGuard 1.5 on Debian Jessie and i need an
 user based filter, made the src/dest/acl setting and then test with
 :

 echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET |
 squidGuard -d

 The URL director interface was changed with Squid 3.4, see also
 http://wiki.squid-cache.org/Features/RedirectorsThe latest version of
 squidguard is 1.5 beta from 2010 and squidGuard does not support the
 new interface of Squid.

Sure?
I run squid-3.4.10 and squidGuard-1.5beta on many machines, without  
having changed the Redirector line in /etc/squid/squid.conf.

Viele Gruesse!
Helmut

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


Re: [squid-users] squidGuard configuration test - echo test

2015-06-07 Thread Marcus Kool

The URL director interface was changed with Squid 3.4, see also 
http://wiki.squid-cache.org/Features/Redirectors
The latest version of squidguard is 1.5 beta from 2010 and squidGuard does not 
support the new interface of Squid.

ufdbGuard is also a URL redirector and since it has regular updates, ufdbGuard 
is compatible with the new URL redirector interface of Squid.
ufdbGuard is free software with a GPL2 license, 99% compatible with squidGuard, 
3x faster, has a lower memory footprint and maintained by the Dutch company 
URLfilterDB B.V.
So you have every reason to switch from squiddGuard to ufdbGuard.

Marcus


On 06/07/2015 07:57 AM, Jose Julian Buda wrote:


Hi, i have installed squidGuard 1.5 on Debian Jessie and i need an user based 
filter, made the src/dest/acl setting and then test with :

echo http://www.testsite.com 192.168.0.82/ someuserfromauth GET | squidGuard 
-d

..
2015-06-07 00:08:44 [3359] INFO: squidGuard 1.5 started (1433646524.285)
2015-06-07 00:08:44 [3359] INFO: squidGuard ready for requests (1433646524.286)
ERR
2015-06-07 00:08:44 [3359] INFO: squidGuard stopped (1433646524.287)
..


this someuserfromauth is supposed to pass the filter and get the testsite.

My question is what mean the ERR line?

In the squid.conf said that the result field ERR from url_rewrite_program mean Do 
not change the url
, so it is that what it mean? or it should be OK ?

on some mailing list answers said that this lines shoulbe empty for passing 
request.

is it ok with ERR on this line?

There is no way to test with a browser, it is a remote(ssh) configuration and i 
need it on production by monday.

Thank you in advance

Julian
___
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