Skip to content

MaxMind GeoIP for ModSec Rules #1711

@mPlauts

Description

@mPlauts

Hello. I want to make it so that in ModSecurity Rules I can get ASN using GeoLite2-ASN.mmdb. I made several attempts but the asn value is always empty, but in $_SERVER['ASN'] it is real. Is this possible?
for example:
SecAction "id:999,phase:2,log,msg:'DEBUG: ASN is %{exaASN}'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions