{"id":6937,"date":"2022-12-20T19:34:23","date_gmt":"2022-12-20T22:34:23","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/manatoolsmodulefirewall-man3\/"},"modified":"2022-12-20T19:34:23","modified_gmt":"2022-12-20T22:34:23","slug":"manatoolsmodulefirewall-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/manatoolsmodulefirewall-man3\/","title":{"rendered":"ManaTools::Module::Firewall (man3)"},"content":{"rendered":"<h1 align=\"center\">ManaTools::Module::Firewall<\/h1>\n<hr>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>port2server<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $ports: port object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method retrieves the server from a given port<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>to_ports<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method converts from server definitions to port definitions<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>from_ports<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $ports: ports object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method does&#8230;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>get_conf<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $disabled: boolean <br \/> $o_ports: object representing ports<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method retrieves the configuration<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>choose_watched_services<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $servers: array of hashes representing servers<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method shows the main dialog to let users choose the allowed services<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>choose_allowed_services<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object <br \/> $disabled: boolean <br \/> $servers: array of hashes representing servers<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method shows the main dialog to let users choose the allowed services<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>set_ports<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method extends Module::start and is invoked to <br \/> start host manager<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>start<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$self: this object<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>DESCRIPTION<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This method extends Module::start and is invoked to <br \/> start host manager<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>ManaTools::Module::Firewall port2server INPUT $self: this object $ports: port object DESCRIPTION This method retrieves the server from a given port to_ports INPUT $self: this object DESCRIPTION This method converts from server definitions to port definitions from_ports INPUT $self: this object $ports: ports object DESCRIPTION This method does&#8230; get_conf INPUT $self: this object $disabled: boolean $o_ports: object [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3293],"class_list":["post-6937","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-manatoolsmodulefirewall"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6937"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6937\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6937"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6937"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}