An entry in an ACL

Class Methods

Creates a new entry using str.

str may be “*” or “all” to match any address, an IP address string to match a specific address, an IP address mask per IPAddr, or one containing “*” to match part of an IPv4 address.

IPAddr::InvalidPrefixError may be raised when an IP network address with an invalid netmask/prefix is given.

Instance Methods

Creates a Regexp to match an address.

Creates a regular expression to match IPv4 addresses

Matches addr against this entry.