xowf::IpRange method allow_access (public)

 <instance of xowf::IpRange[i]> allow_access ip

Defined in packages/xowf/tcl/iprange-procs.tcl

Check, if provided IP address is in the provided ranges of disallowed or allowed addresses. First, the explicitly disallowed addresses are checked, then the explicitly allowed ones. Addresses can be specified in the following formats:

  • IP address in CIDR format (e.g., 127.208.0.0/16)
  • IP address containing wildcard "*"
  • literal IP address

Parameters:
ip
Returns:
boolean value expressing success

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]
Show another procedure: