Filter lists


Filter lists are either built-in and distributed via the eblocker-lists package or they are added by the user. User-defined lists can either be downloaded from a URL or manually edited.

Based on the type of the filter list there are different mechanisms for storing the lists on disk:

Domain filters

For each domain filter list two files are created for fast filtering:

Pattern filters

Pattern filters require access to the full URL, so enabling the HTTPS feature is mandatory.

The filter lists are mainly in the EasyList format.

See also: PatternBlocker

Meta-data

The following entities are stored in Redis:

classDiagram
    ExternalDefinition --> FilterStoreConfiguration: referenceId
    ExternalDefinition --> ParentalControlFilterMetaData: referenceId (type DOMAIN)

    class FilterStoreConfiguration {
        +int id
        +String[] resources
        +FilterLearningMode learningMode
    }
    class ExternalDefinition {
        +int id
        +String file
        +String url
    }
    class ParentalControlFilterMetaData {
        +int id
        +List~String~ filenames
    }

developer.eblocker.org github.com/eblocker eBlocker Open Source