From 98a2faae5e6ed2d43f05e35065243bbe49ff618e Mon Sep 17 00:00:00 2001 From: quindecim Date: Wed, 8 Jul 2020 10:52:56 -0400 Subject: [PATCH] [UPSTREAM] - Further block/allow updates https://github.com/DNSCrypt/dnscrypt-proxy/commit/af564522ecff252afcf06f439fd57c9f643e78b6 --- config/example-docs/example-allowed-names.txt | 4 ++-- config/example-docs/example-blocked-ips.txt | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 config/example-docs/example-blocked-ips.txt diff --git a/config/example-docs/example-allowed-names.txt b/config/example-docs/example-allowed-names.txt index 48f93ed..fbb862d 100644 --- a/config/example-docs/example-allowed-names.txt +++ b/config/example-docs/example-allowed-names.txt @@ -3,14 +3,14 @@ # Allowlist # ########################### -## Rules for name-based query allowlisting, one per line +## Rules for allowing queries based on name, one per line ## ## Example of valid patterns: ## ## ads.* | matches anything with an "ads." prefix ## *.example.com | matches example.com and all names within that zone such as www.example.com ## example.com | identical to the above -## =example.com | allowlists example.com but not *.example.com +## =example.com | allows example.com but not *.example.com ## *sex* | matches any name containing that substring ## ads[0-9]* | matches "ads" followed by one or more digits ## ads*.example* | *, ? and [] can be used anywhere, but prefixes/suffixes are faster diff --git a/config/example-docs/example-blocked-ips.txt b/config/example-docs/example-blocked-ips.txt new file mode 100644 index 0000000..58eac93 --- /dev/null +++ b/config/example-docs/example-blocked-ips.txt @@ -0,0 +1,16 @@ +############################## +# IP blocklist # +############################## + +## Rules for IP-based response blocking +## +## Sample feeds of suspect IP addresses: +## - https://github.com/stamparm/ipsum +## - https://github.com/tg12/bad_packets_blocklist +## - https://isc.sans.edu/block.txt +## - https://block.energized.pro/extensions/ips/formats/list.txt + +163.5.1.4 +94.46.118.* +fe80:53:* # IPv6 prefix example +