Skip to content

Adjusting IPV6 prefix for WAFΒ #1075

@ideasman69

Description

@ideasman69

Hi there,
Not sure if this is possible - but i'm looking to adjust the IPv6 prefix.

It appears to be assigning /64 to the detected address, but i'd like to use /56 instead.

I've tried to use IP6_PREFIX_LEN=56 but it doesn't make any difference (presumably for DNS entries only)

For now, i've just edited ipnet.IP6: 64 to ipnet.IP6: 56 in cloudflare_waf.go which seems to be doing the trick. Just thought there'd be a proper way.

Thanks - amazing little tool by the way!

Metadata

Metadata

Assignees

No one assigned

    Labels

    incomingThe issues was opened or updated when @favonia was sick and needs further reviews

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions