Skip to content

[Request] Better IPv6 support #6

@Kagee

Description

@Kagee

Is your feature request related to a problem? Please describe.
The current IPV6 support is limited to a single IPv6 CIDR, and written with (unusual) large characters. In a network with proper IPv6 support (not just link-local), browser are free to select any of the avaliable IPv6 adresses of a host for connections. Thus allowing just link-local adresses are not enough.

Describe the solution you'd like
If possible, i would suggest re-using the MIT licensed code from https://github.com/sindresorhus/ip-regex.
CIDR support could be implemented by using the code in https://github.com/silverwind/cidr-regex, or by splitting the input string on /, making sure there are only two groups, and making sure the second group is [0 - 32] for IPv4, and [0-128] for IPv6.

If you require any help for testing or have questions, I may be able to help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    requestNew feature or requestup for grabsIssue/FR will not be worked on, open for a member of the community to take it on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions