Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Naxsi IgnoreIP and IgnoreCIDR #532

@rickygm

Description

@rickygm

Hi, sorry for putting as an issue, but here I have a question, I am using a whitelist with naxsi, using the geo variable, something like that:

nginx.conf 
# geo must be in http { ... }
# whitelist 127.0.0.1
geo $naxsi_wl {
    #ranges;
    default 0;

    127.0.0.1 1;

this works fine, the problem is when I add an entire network like: 192.168.20.0/24, looking at the documentation, I see that they added IgnoreCIDR "192.168.0.0/24"; (https://github.com/nbs-system/naxsi/wiki/IgnoreIP-and-IgnoreCIDR) , but it is not clear to me where I should go? , nginx.conf or in each site.conf.

I always miss being able to add or whitelist, both ip and patterns within a db, like mysql, postgresql or another and that naxsi can be integrated.

I think the json part of naxsi doesn't help much, if I'm wrong correct me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions