KORTHVEILSecurity firewall
Guides

Content filter and exclusions

Download as PDF All guides

Block or log files, domains, URL paths and words in pages, for every device or a group of devices. Keep one list of exclusions that every filter leaves alone.

Where: Security › Content & app filtering › Content filter

What it needs: files, URL paths and text are checked inside encrypted traffic, so TLS inspection must be on (Security › TLS inspection), for devices that trust its certificate. See TLS inspection for getting the certificate onto devices; Korthveil agents can add it for you. The exclusions work for every filter from the moment you commit them.

Security › Content & app filtering › Content filter: rules for program downloads, words in pages and admin pages, and the shared exclusions
Security › Content & app filtering › Content filter: rules for program downloads, words in pages and admin pages, and the shared exclusions

Turn it on or off: the switch at the top of Rules turns the whole content filter off or on again. Your rules are kept while it's off.

Devices that can't take the certificate (TVs, consoles, printers, phones you don't manage) are skipped by TLS inspection automatically, so they get no certificate errors. A device that refuses the certificate on 3 sites within 10 minutes passes uninspected for 6 hours, then is tried again. TVs, consoles and other appliances are never decrypted. For a network with many such devices, set TLS inspection › Which devices are decrypted to Only devices that trust the certificate: nothing is decrypted until a device shows it trusts it. Devices that aren't decrypted aren't touched by file, path or text rules.

Add a rule

  1. Press Add rule and give it a name, for example No program downloads.
  2. Under What it checks, choose:
    • Files: names, patterns or extensions, such as *.exe, .iso or setup-*.msi. Korthveil checks the address, the download's name, and well-known file types, such as Windows programs, installers, disk images and archives. So a program sent from an address like /get?id=7 is caught too.
    • Domains and subdomains: example.com covers its subdomains, *.example.com covers only the subdomains, and =www.example.com covers exactly that name.
    • URL paths: /downloads/ covers that path and everything below it; */wp-admin/* matches anywhere in the address.
    • Text in pages: words or phrases, one per line. They match whole words in any capitals, in the text of pages. Scripts, styles and code are never changed.
  3. Under What it does:
    • Files, domains and paths: Block shows the block page with the rule's name. Log only lets it through and records it.
    • Text: Remove only the matched words is the default. The page loads, and the words show as *** (or what you set under Removed text is replaced with). Block the whole page shows the block page instead. Log only records it.
  4. Optionally, enter Devices: addresses or networks the rule applies to, for example a child's laptop or 192.168.1.32/28. Empty means every device TLS inspection decrypts.
  5. Press Save rule, then review and commit.
A text rule being edited: Remove only the matched words
A text rule being edited: Remove only the matched words

Rules are checked in order, and the first rule that blocks decides. Keep the rule, but off keeps a rule without using it. Try a rule first: choose Log only, commit, and watch Recent activity. Then switch to Block or Remove.

Exclusions

Under Exclusions, open a list, enter a value and an optional note, and press Exclude. Review and commit.

  • Domains and subdomains: never filtered by the content filter, the web filter, script control, data loss prevention or CipherGate. CipherGate keeps their cookies, on the network and in browsers with its extension.
  • Files: names or patterns file rules never block, such as *.pdf or approved-*.exe.
  • Text: words or phrases text rules never remove. Use it for a name or term that contains a blocked word.
  • Devices: addresses or networks the content filter leaves alone.

Excluded means not filtered, never unprotected. Firewall rules, intrusion prevention and anti-virus still apply. To also stop decrypting a site, add it under TLS inspection › Exemptions.

The Exclusions: a school's domain, PDF files and a device
The Exclusions: a school's domain, PDF files and a device

What you'll see

  • Recent activity lists each block, removal and logged match, with the time, the device, the site and the rule. The matched text itself and the page are never recorded.
  • A blocked file or page shows the block page with the rule's name and a reference.
  • A page whose text was removed loads normally, with the replacement where the words were.

Good to know

  • Text is checked in HTML and plain-text pages up to 5 MB. Larger pages, and pages in an encoding Korthveil can't read, pass unchanged and show as not checked. While a text rule applies, Korthveil asks sites for pages it can read.
  • Removing text changes what a site sent. A page that checks its own content may complain. Use Log only first, or exclude that site.
  • Devices that aren't decrypted aren't filtered by file, path or text rules. They still get the web filter and DNS filtering by name.

Download as PDF All guides