{"id":1810,"date":"2020-09-23T13:13:07","date_gmt":"2020-09-23T11:13:07","guid":{"rendered":"http:\/\/clark.tipistrani.it\/?p=1810"},"modified":"2021-05-28T09:28:13","modified_gmt":"2021-05-28T07:28:13","slug":"definitions","status":"publish","type":"post","link":"http:\/\/clark.tipistrani.it\/?p=1810","title":{"rendered":"definitions"},"content":{"rendered":"<p>In questo file si definiscono le variabili da passare allo script, \u00e8 un file di testo semplice<\/p>\n<p>define EXTIF = &#8220;eth0&#8221;<br \/>\ndefine INTIF = &#8220;eth1&#8221;<br \/>\ndefine LO = &#8220;lo&#8221;<br \/>\ndefine LO_IP = &#8220;127.0.0.1&#8221;<br \/>\ndefine LAN = { 192.168.2.0\/23 } #le graffe per il \/23 se no non lo legge<br \/>\ndefine BCAST = &#8220;192.168.3.255&#8221;<br \/>\ndefine CHIMERA = 192.168.2.224<br \/>\ndefine GRECALE = &#8220;192.168.2.251&#8221;<br \/>\ndefine PERSEO = &#8220;192.168.2.240&#8221;<br \/>\ndefine RESERVED_NET = { 0.0.0.0\/8, <del>1.0.0.0\/8, 2.0.0.0\/8,<\/del> 10.0.0.0\/8, 100.64.0.0\/10, 127.0.0.0\/16, 169.254.0.0\/16, 172.16.0.0\/12, 192.0.0.0\/24, 192.0.2.0\/24, 192.168.0.0\/16, 198.18.0.0\/15, 198.51.100.0\/24, 203.0.113.0\/24, 224.0.0.0\/4, 240.0.0.0\/5 } ### ho fatto la sgradevole sorpresa che queste due reti sono in realt\u00e0 state assegnate e che vodafone e fastweb hanno indirizzi nella 2.0.0.0\/8<br \/>\ndefine GOOD_BOYS = {aaa.bbb.ccc.ddd, eee.fff.ggg.hhh, iii.lll.mmm.nnn, ppp.qqq.rrr.sss} # 4 ip statici fidati<\/p>\n<h3>###da scommentare se esiste DMZ<\/h3>\n<p>###define WEBIF = &#8220;eth0:1&#8221;<br \/>\n###define DMZIF = eth2<br \/>\n###define DMZ = { 192.168.200.0\/24 }<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In questo file si definiscono le variabili da passare allo script, \u00e8 un file di testo semplice define EXTIF = &#8220;eth0&#8221; define INTIF = &#8220;eth1&#8221; define LO = &#8220;lo&#8221; define LO_IP = &#8220;127.0.0.1&#8221; define LAN = { 192.168.2.0\/23 } #le graffe per il \/23 se no non lo legge define BCAST = &#8220;192.168.3.255&#8221; define CHIMERA [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[109,8,14,6],"tags":[190,180,191],"class_list":["post-1810","post","type-post","status-publish","format-standard","hentry","category-firewall","category-linux","category-networking","category-work","tag-define","tag-nftables","tag-variabili"],"_links":{"self":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/1810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1810"}],"version-history":[{"count":5,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/1810\/revisions"}],"predecessor-version":[{"id":1927,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=\/wp\/v2\/posts\/1810\/revisions\/1927"}],"wp:attachment":[{"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1810"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/clark.tipistrani.it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}