-
Notifications
You must be signed in to change notification settings - Fork 6
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
Add ipv6 local network filters #3
Comments
Hmmm, does it have the same issue as in #6 (comment) ?
|
gwarser
added a commit
that referenced
this issue
Jun 2, 2020
Only this part is about ipv6
|
https://regex101.com/r/O0tAKl/1
|
For not tokenizable regexes it may be good idea to compile only one regular expression.
|
gwarser
added a commit
to uBlockOrigin/uAssets
that referenced
this issue
Nov 18, 2021
gwarser
added a commit
to uBlockOrigin/uAssets
that referenced
this issue
Nov 18, 2021
gwarser
added a commit
to uBlockOrigin/uAssets
that referenced
this issue
Nov 18, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
uBlockOrigin/uBlock-issues#1070
What is still missing in my list is ipv6 handling https://en.wikipedia.org/wiki/Private_network#Private_IPv6_addresses. No one will scan these addresses from a to z, but some software can still be listening on one.
Calculator https://www.vultr.com/resources/subnet-calculator-ipv6/
fc00::/7
ranges fromfc00:0000:0000:0000:0000:0000:0000:0000
tofdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
||[fc*]^
||[fd*]^
fd00::/8
should be included in above -fd00:0000:0000:0000:0000:0000:0000:0000
tofdff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
legacy "site-local"
fec0::/10
-fec0:0000:0000:0000:0000:0000:0000:0000
tofeff:ffff:ffff:ffff:ffff:ffff:ffff:ffff
||[fec*]^
||[fed*]^
||[fee*]^
||[fef*]^
I'm not sure my filters above are actually valid or if these addresses can be so easily matched by simple text comparison with wildcard. Is
[
and]
invalid in normal domain name? Someone with better knowledge about ipv6 address formatting will need to say. It may be good based on this: https://en.wikipedia.org/wiki/IPv6_address#RepresentationThe text was updated successfully, but these errors were encountered: