Structsยง
- DNSRule
- Represents a DNS rule
- IPV4
Rule - Represents an Ipv4 rule
- IPV6
Rule - Represents an Ipv6 rule
- Rule
Expr ๐ - Ruleset
- Represents a ruleset that can be used to specify a whitelist and a blacklist in order to control the inbound and outbound traffic of a network.
- Ruleset
Segment ๐
Enumsยง
- Direction
- Represents the direction of the network traffic
- Domain
Spec - Specification of a domain
- IPV4
Spec - Specification of an Ipv4
- IPV6
Spec - Specification of an Ipv6 address
- Port
Spec - Specification of a port rule
- Rule
- Represents all supported rules
- Rule
Action ๐ - Rule
Parse Error - Represents the errors that could happen during parsing the ruleset
- Rule
Type ๐
Functionsยง
- parse_
as_ ๐list - parse_
dns_ ๐rule - parse_
enclosed ๐ - parse_
ipv4_ ๐rule - parse_
ipv6_ ๐rule - parse_
ruleset_ ๐segments