ip-blacklist

Prevent access based on the requesting IP address. All other IP addresses are allowed. The "value" attribute should contain a list of IP addresses or CIDR blocks using standard notation (e.g. – IP address, a "/" character, and number of leading 1 bits in the routing prefix mask). Individual IP addresses can be provided as CIDR entries using the "/32" mask if this facilitates list management.

In this example, a single IP address, "198.18.48.211", is being denied access to content in a "/protected/*" wildcard URI path:


     {
       "rules": [
         {
           "matches": [
             {
               "name": "url-wildcard",
               "value": "/protected/*"
             }
           ],
           "behaviors": [
             {
               "name": "ip-blacklist",
               "value": "198.18.48.211"
             }
           ]
         }
       ]
     }