Skip to content

Make SCRAM work consistently with CIDRs smaller than a single host #190

@crankynetman

Description

@crankynetman

Right now, we have some implicit assumptions about CIDRs and how they work scattered throughout the codebase. Unfortunately, it's not entirely consistent everywhere. For example, If I block 1.1.1.0/24, search will return the right thing for 1.1.1.1/24, but not 1.1.1.1./32. Same thing for the is_blocked endpoint.

We should go through and write better tests around blocking subnets larger than /32 and 128 and fix anything that pops up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions