It's possible to create a filter and a profile with the same name in ufdb-guard

webfilter
v7

(Ralf Jeckel) #1

It’s possible to create a filter and than a profile with the same name in ufdb-guard. If you do so, the filter disappears which results in a complete unfiltered system.

If you create a filter like this:


and than create a profile like this:

the filter you specified before disappears after a "F5"

There is no warning and no hint about this in the manual.
The result is that no filter is choosen for this category and so the category is completely unfiltered.

If you do it the other way (first create a profile and than create the time), you get a failure:

If possible, this check should be done in both directions.

BTW: It would be very fine if the specified times in ufdb-guard could be displayed like this:


(Giacomo Sanchietti) #2

Thank you Ralf for reporting it, I just opened a new issue:

I will let you know as soon as a new testing package is available.

Edit
Just added the RPM to testing repository (nethserver-squidguard-1.7.3-1.1.gc319438.ns7.noarch.rpm).
Would you like to try it and test it? :wink:


(Giacomo Sanchietti) #3

@flatspin please, give it a try! :pray:


(Ralf Jeckel) #4

Yep. Immediatly! :smile:


(Ralf Jeckel) #5

Installed:

works correctly in “Profiles”, “Filters” and “Times” and vice versa

Great work as usual my friend and almost with speed of light! :medal:
Thanks a lot.


(Giacomo Sanchietti) #6

The fix was pretty easy, you did all the analytic job! :wink:

Released!