You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2020/09/23 18:11:35 UTC

[GitHub] [trafficserver] SolidWallOfCode commented on issue #7053: ip_allow does not work with /0 rules

SolidWallOfCode commented on issue #7053:
URL: https://github.com/apache/trafficserver/issues/7053#issuecomment-697817297


   I  think this is working as documented. E.g. "The rules are matched in order, by IP address". Therefore in this case, if the first rule is "0/0", that matches all IPv4 addresses and no other IPv4 rules will apply. That is, if the first rule is
   ```
     - apply: in
       ip_addrs: 0/0
       action: allow
       methods: GET
   ```
   then only `GET` will be allowed for IPv4. It would be some work to change that to "blend" the rules, basically requiring updating `IpMap` to the `IPSpace` from libSWOC.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org