blob: 27a918bb6035475e817dfe18e3da46259d27f120 [file] [log] [blame]
# port of urlfilter-regex benchmarks to urlfilter-fast
# cf.
# src/plugin/urlfilter-regex/sample/Benchmarks.rules
# src/plugin/urlfilter-regex/sample/Benchmarks.urls
# skip file:, ftp:, & mailto: urls
# -^(file|ftp|mailto):
# skip image and other suffixes we can't yet parse
Domain .
DenyPath (?i)\.(?:gif|jpg|ico|css|sit|eps|wmf|zip|ppt|mpg|xls|gz|rpm|tgz|mov|exe|png)$
# skip URLs containing certain characters as probable queries, etc.
Domain .
DenyPathQuery [?*!@=]
# skip .fr .org and .net domains
Domain fr
DenyPath .*
Domain org
DenyPath .*
Domain net
DenyPath .*
# accept every URL not matched by any rule