gotosocial/internal/netutil
Daniele Sluijters 558b448ab2
[chore] Remove duplicate prefixes from sanitizer (#1195)
In the previous changes that expanded the IPv4 and IPv6 deny lists based
on the IANA registries we inadvertently added a number of duplicates.
This is unnecessary as they're already caught by larger prefixes and
means there's less entries to scan.

This change removes all prefixes that are subnets of other prefixes.
2022-12-01 20:34:55 +01:00
..
validate_test.go Additional IP range validations (#1152) 2022-11-26 11:09:55 +00:00
validate.go [chore] Remove duplicate prefixes from sanitizer (#1195) 2022-12-01 20:34:55 +01:00