EFW Support

Support => EFW SMTP, HTTP, SIP, FTP Proxy Support => Topic started by: davvidde on Friday 24 September 2010, 05:36:35 am



Title: Domains only whitelist without authentication and blacklists with group auth.
Post by: davvidde on Friday 24 September 2010, 05:36:35 am
In version 2.2 there is a proxy option to write some domains that can be reached without authentication.
In version 2.4 this option is removed because the interface is rearranged to allow multiple profiles and multiple access policies where the construction allows to disable authentication.
So, I suppose, the only way to put on a domains whitelist is to insert these domains in the whitelist custom fields and forbid in the blacklist custom field all top-level domains.
But this rule, if evaluated first in an access policy, prevents further evaluations and the browser do not ask for authentication.
If this rule is evaluated last then browser asks always for authentication so the whitelisted domains cannot be reached without authentication.
The solution, in my opinion, is to restore the field present in the authentication page in version 2.2 but I don't know where to find the code.
Another way is to modify the squid.conf directly but it isn't a clean way.

If anyone has tried a different solution to this problem I'm glad to know it.

Prof. Davide Cottignoli
Istituto Geometri Ravenna, Italia


Title: Re: Domains only whitelist without authentication and blacklists with group auth.
Post by: davvidde on Friday 24 September 2010, 07:46:23 am
Ooops, I got stupid.
I do not investigate enough the access policy dialog which show a drop down box to the destination: in this box I can type the destination domain in the form with a starting dot. For example:
.istruzione.it
.libero.it
Note that, in the content filtering dialog, when you put on a whitelist or blacklist the starting dot is NOT needed.

In this mode I can use authentication disabled and no content filtering: this lead to the result I obtained in version 2.2

Thanks to all.

Prof. Davide Cottignoli