Skip to content

Found some improper/non-DNS-level rules. #1224

@thrive7776

Description

@thrive7776

Prerequisites

  • I checked the documentation and found no answer;
  • I checked to make sure that this issue has not already been filed;
  • This is not an ad/bug report.

Problem description

1.Invalid javascript
.1.1.1.l80.js^
.n.2.1.js^
.n.2.1.l50.js^
.n.2.1.l60.js^
||crypta.js^ ← No idea why this exist?

According to https://www.iana.org/domains/root/db
.js is not a valid TLD

2.non-DNS-level REGEX
/(https?:\/\/)213\.32\.115\..{100,}/
/(https?:\/\/)217\.182\.11\..{100,}/
/(https?:\/\/)51\.195\.31\..{100,}/

3.Private IP
10.10.34.*
||10.10.34.35^
||10.10.34.36^
||10.10.34.^

4."://DOMAIN.TLD^" & "://*.DOMAIN.TLD"
These rules are working with AGH,
but the expected form is "||DOMAIN.TLD^", right? (make file size smaller.)

5.exceptions.txt
Redundant vertical line at the end positions.
A: @@||FQDN^"|"
B: @@||FQDN^
A ↔ B are equivalent forms. (B-form can make file size smaller.)

Proposed solution

Delete 1, 2, 3.
For 4: Replace "^://(\*\.)?" with "||".
For 5: Replace "\|$" with ""(empty).

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions