From 1ce12cf491a21bdf394f7ea204932fc3e65a70de Mon Sep 17 00:00:00 2001 From: Vasily Bagirov Date: Thu, 3 Aug 2023 20:41:33 +0300 Subject: [PATCH 1/2] $network modifier description updated --- docs/general/ad-filtering/create-own-filters.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index af596908c1f..60d073ba069 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -1481,6 +1481,8 @@ This is basically a Firewall-like rule allowing to fully block or unblock access We recommend to get acquainted with this [article](#regexp-support) for better understanding of regular expressions. +`$network` modifier can only be included in rules alongside with `$app` and `$important` modifiers and no other ones. + **Examples** * `174.129.166.49:3478^$network` blocks access to `174.129.166.49:3478` (but not to `174.129.166.49:34788`). From b31db77b73f169380a33d55aaebabbdeac6ad294 Mon Sep 17 00:00:00 2001 From: Vasily Bagirov Date: Mon, 7 Aug 2023 17:47:12 +0300 Subject: [PATCH 2/2] Formatting and wording fixed --- docs/general/ad-filtering/create-own-filters.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/general/ad-filtering/create-own-filters.md b/docs/general/ad-filtering/create-own-filters.md index 60d073ba069..cf6603fe611 100644 --- a/docs/general/ad-filtering/create-own-filters.md +++ b/docs/general/ad-filtering/create-own-filters.md @@ -1481,7 +1481,11 @@ This is basically a Firewall-like rule allowing to fully block or unblock access We recommend to get acquainted with this [article](#regexp-support) for better understanding of regular expressions. -`$network` modifier can only be included in rules alongside with `$app` and `$important` modifiers and no other ones. +:::caution Restrictions + +The `$network` modifier can only be used in rules together with the `$app` and `$important` modifiers, and not with any other modifiers. + +::: **Examples**