class

Pared::Firewalld::RichRuleAST

Inherits Reference < Object

Constructors

new(family : String | Nil = nil, priority : Int32 | Nil = nil, source : String | Nil = nil, destination : String | Nil = nil, element : String | Nil = nil, action : String = "accept", log_prefix : String | Nil = nil, log_level : String | Nil = nil, log_limit : String | Nil = nil, action_limit : String | Nil = nil, action_attribute : String | Nil = nil, log_clause : Bool = false)
Source

Class methods

execution_rank(action : String) : Int32

Within the same priority firewalld evaluates deny actions before allow actions (filter_IN_<zone>_deny before _allow); non-terminating actions evaluate last.

Source
parse(raw : String) : RichRuleAST | Nil
Source

Instance methods

action
Source
action=(action : String)
Source
action_attribute
Source
action_attribute=(action_attribute : String | Nil)
Source
action_limit
Source
action_limit=(action_limit : String | Nil)
Source
destination
Source
destination=(destination : String | Nil)
Source
element
Source
element=(element : String | Nil)
Source
family
Source
family=(family : String | Nil)
Source
log_clause=(log_clause : Bool)
Source
log_clause?
Source
log_level
Source
log_level=(log_level : String | Nil)
Source
log_limit
Source
log_limit=(log_limit : String | Nil)
Source
log_prefix
Source
log_prefix=(log_prefix : String | Nil)
Source
priority
Source
priority=(priority : Int32 | Nil)
Source
source
Source
source=(source : String | Nil)
Source
to_english
Source
to_rule_string
Source