Content Filter

Filters of this class use the results of content analysis to block access to pages with objectionable content. Great for schools, libraries, parental control.

Note: As of version 1.6.6 Foxy supports content category references in URL sets. So functionality of this filter can be achieved with a Blacklist filter including references to categories you want to block (e.g. include = @Adult, etc.). The only difference is that Content Filters have slightly friendlier web UI.

Parameters

category

One or more category parameters define a set of content categories to which this filter applies. The cotegories must be defined in categories.cfg.

Format:

category = category name

mode

Defines the filter's mode of operation.

Format:

mode = block
mode = censor
mode = highlight

Note: Only “strong” and “normal” matches (see below) are censored out/highlighted, “weak” matches are left alone.

action

The action parameter defines method of access blocking when mode = block.

Format:

action = disconnect
action = redirect:URL

See also Common Filter Parameters.

Example

In this example a content filter is configured to block access to pages with content falling under Adult or Hate categories (must be defined in categories.cfg). The filter is active only from 8 a.m. to 5:30 p.m.

type = Content Filter
name = Objectionable Content Blocker
enabled = true
logging = true
time = 8:00-17:30
user = 
include = *
category = Adult
category = Hate
mode = block
action = redirect

Web UI equivalent: