{"id":6932,"date":"2022-12-20T19:34:22","date_gmt":"2022-12-20T22:34:22","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/manatoolssharedshorewall-man3\/"},"modified":"2022-12-20T19:34:22","modified_gmt":"2022-12-20T22:34:22","slug":"manatoolssharedshorewall-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/manatoolssharedshorewall-man3\/","title":{"rendered":"ManaTools::Shared::Shorewall (man3)"},"content":{"rendered":"<h1 align=\"center\">ManaTools::Shared::Shorewall<\/h1>\n<hr>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>write_<\/b> <i><small><br \/> INPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">$conf: HASH, contains the configuration to write <br \/> $action: Str, possible values are &#8220;keep&#8221; or &#8220;drop&#8221;<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>OUTPUT<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">0: requires user interaction <br \/> 1: everything has been done<\/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 function stores the configuration for shorewall inside the proper files.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><small>NOTES<\/small><\/i><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">if write_ is called without the $action parameter it can return 0 (i.e. user interaction requested) when the firewall configuration has been manually changed.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">In that case the developer will have to handle this request by providing two choices within the domain (keep | drop) and then recall write_ with the choosen behaviour.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>ManaTools::Shared::Shorewall write_ INPUT $conf: HASH, contains the configuration to write $action: Str, possible values are &#8220;keep&#8221; or &#8220;drop&#8221; OUTPUT 0: requires user interaction 1: everything has been done DESCRIPTION This function stores the configuration for shorewall inside the proper files. NOTES if write_ is called without the $action parameter it can return 0 (i.e. user [&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,3288],"class_list":["post-6932","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-manatoolssharedshorewall"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6932","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=6932"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6932\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}