Skip to content

StructuredStats fails to parse negated source/dest CIDRs #109

@jroper

Description

@jroper

I have the following chain:

target     prot opt source               destination         
RETURN     all  --  anywhere             192.168.0.0/16      
RETURN     all  --  anywhere             172.16.0.0/12       
RETURN     all  --  anywhere            !127.0.0.0/8    

Invoking StructuredStats returns the following error:

invalid CIDR address: !127.0.0.0/8%!(EXTRA string=could not parse destination)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions