Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPv6 excluded IPs: allow wildcards in any segment, not just the last ones #12639

Open
endrep0 opened this issue Mar 22, 2018 · 1 comment
Open
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@endrep0
Copy link

endrep0 commented Mar 22, 2018

Excluded IPs list only accepts IPv6 wildcards if they are in this format:
aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:*
aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:*:*

You currently cannot put wildcards in the beginning or middle. These are not accepted
aaaa:aaaa:aaaa:*:aaaa:aaaa:aaaa:aaaa
*:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa:aaaa

I need this feature because a referrer spammer's IPv6 address has a pattern in the middle.
(They could be spoofed IPv6s, not sure.)

IPv6 like the above cannot be added because the form on the "Global websites settings" rejects them with what I think is client side validation.
The messages look like this:
"The IP to exclude "aaaa:aaaa:aaaa::aaaa:aaaa:aaaa:aaaa" does not have a valid IP format (eg. 1.2.3.4, 1.2.3., or 1.2.3.4/5).

It is possible that the backend could handle them already - no idea.

@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. c: Accessibility When something is not usable for a certain group (eg missing contrast) or devices (eg smartphones). and removed c: Accessibility When something is not usable for a certain group (eg missing contrast) or devices (eg smartphones). labels Jun 18, 2019
@mattab mattab added this to the Backlog (Help wanted) milestone Jun 18, 2019
@aloxe
Copy link
Contributor

aloxe commented Oct 9, 2020

@endrep0 which section is changed by the spammer? I guess if this is one of the 4 last hextets you can exclude the whole block.
aaaa:aaaa:aaaa:aaaa/64
this is a common size for an IPv6 allocation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

3 participants