- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::xowf::IpRange
::xowf::IpRange create ... \Class representing a range of IPs to be used to enforce access control.
[ -allowed (default "") ] \
[ -disallowed (default "") ] \
[ -title (default "") ]
Defined in packages/xowf/tcl/iprange-procs.tcl
Class Relations
Methods (to be applied on instances)
allow_access (scripted, public)
<instance of xowf::IpRange> allow_access ipCheck, 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 (required)
- Returns:
- boolean value expressing success
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables