{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,3]],"date-time":"2026-05-03T11:02:03Z","timestamp":1777806123883,"version":"3.51.4"},"reference-count":50,"publisher":"SAGE Publications","issue":"1","license":[{"start":{"date-parts":[[2021,1,25]],"date-time":"2021-01-25T00:00:00Z","timestamp":1611532800000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/journals.sagepub.com\/page\/policies\/text-and-data-mining-license"}],"content-domain":{"domain":["journals.sagepub.com"],"crossmark-restriction":true},"short-container-title":["Journal of Computer Security"],"published-print":{"date-parts":[[2021,2,3]]},"abstract":"<jats:p>Firewalls are essential for managing and protecting computer networks. They permit specifying which packets are allowed to enter a network, and also how these packets are modified by IP address translation and port redirection. Configuring a firewall is notoriously hard, and one of the reasons is that it requires using low level, hard to interpret, configuration languages. Equally difficult are policy maintenance and refactoring, as well as porting a configuration from one firewall system to another.<\/jats:p>\n                  <jats:p>To address these issues we introduce a pipeline that assists system administrators in checking if: (i)\u00a0the intended security policy is actually implemented by a configuration; (ii)\u00a0two configurations are equivalent; (iii)\u00a0updates have the desired effect on the firewall behavior; (iv)\u00a0there are useless or redundant rules; additionally, an administrator can (v)\u00a0transcompile a configuration into an equivalent one in a different language; and (vi)\u00a0maintain a configuration using a generic, declarative language that can be compiled into different target languages.<\/jats:p>\n                  <jats:p>The pipeline is based on IFCL, an intermediate firewall language equipped with a formal semantics, and it is implemented in an open source tool called FWS. In particular, the first stage decompiles real firewall configurations for iptables, ipfw, pf\u00a0and (a subset of) Cisco\u00a0IOS\u00a0into IFCL. The second one transforms an IFCL\u00a0configuration into a logical predicate and uses the Z3 solver to synthesize an abstract specification that succinctly represents the firewall behavior. System administrators can use FWS\u00a0to analyze the firewall by posing SQL-like queries, and update the configuration to meet the desired security requirements. Finally, the last stage allows for maintaining a configuration by acting directly on its abstract specification and then compiling it to the chosen target language. Tests on real firewall configurations show that FWS\u00a0can be fruitfully used in real-world scenarios.<\/jats:p>","DOI":"10.3233\/jcs-200017","type":"journal-article","created":{"date-parts":[[2021,1,26]],"date-time":"2021-01-26T12:46:18Z","timestamp":1611665178000},"page":"77-134","update-policy":"https:\/\/doi.org\/10.1177\/sage-journals-update-policy","source":"Crossref","is-referenced-by-count":4,"title":["FWS: Analyzing, maintaining and transcompiling firewalls"],"prefix":"10.1177","volume":"29","author":[{"given":"Chiara","family":"Bodei","sequence":"first","affiliation":[{"name":"Dipartimento di Informatica, Universit\u00e0 di Pisa, Pisa, Italy. E-mails:\u00a0,\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Lorenzo","family":"Ceragioli","sequence":"additional","affiliation":[{"name":"Dipartimento di Informatica, Universit\u00e0 di Pisa, Pisa, Italy. E-mails:\u00a0,\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Pierpaolo","family":"Degano","sequence":"additional","affiliation":[{"name":"Dipartimento di Informatica, Universit\u00e0 di Pisa, Pisa, Italy. E-mails:\u00a0,\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Riccardo","family":"Focardi","sequence":"additional","affiliation":[{"name":"DAIS, Universit\u00e0 Ca\u2019 Foscari, Venezia, Italy. E-mails:\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Letterio","family":"Galletta","sequence":"additional","affiliation":[{"name":"IMT School for Advanced Studies, Lucca, Italy. E-mail:\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Flaminia","family":"Luccio","sequence":"additional","affiliation":[{"name":"DAIS, Universit\u00e0 Ca\u2019 Foscari, Venezia, Italy. E-mails:\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Mauro","family":"Tempesta","sequence":"additional","affiliation":[{"name":"TU Wien, Wien, Austria. E-mails:\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Lorenzo","family":"Veronese","sequence":"additional","affiliation":[{"name":"TU Wien, Wien, Austria. E-mails:\u00a0,\u00a0"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"179","published-online":{"date-parts":[[2021,1,25]]},"reference":[{"key":"ref001","doi-asserted-by":"crossref","unstructured":"P.\u00a0Ad\u00e3o, C.\u00a0Bozzato, G.\u00a0Dei Rossi, R.\u00a0Focardi and F.L.\u00a0Luccio, Mignis: A semantic based tool for firewall configuration, in: Proc. of the 27th IEEE CSF, 2014, pp.\u00a0351\u2013365.","DOI":"10.1109\/CSF.2014.32"},{"key":"ref002","doi-asserted-by":"crossref","unstructured":"P.\u00a0Ad\u00e3o, R.\u00a0Focardi, J.D.\u00a0Guttman and F.L.\u00a0Luccio, Localizing firewall security policies, in: Proc. of the 29th IEEE CSF, Lisbon, Portugal, June 27\u2013July 1, 2016, pp.\u00a0194\u2013209.","DOI":"10.1109\/CSF.2016.21"},{"key":"ref003","unstructured":"C.J.\u00a0Anderson, N.\u00a0Foster, A.\u00a0Guha, J.B.\u00a0Jeannin, D.\u00a0Kozen, C.\u00a0Schlesinger and D.\u00a0Walker, NetKAT: Semantic foundations for networks, in: Proc. of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2014), ACM, 2014."},{"key":"ref004","doi-asserted-by":"publisher","DOI":"10.1145\/1035582.1035583"},{"key":"ref005","doi-asserted-by":"crossref","unstructured":"C.\u00a0Bodei, P.\u00a0Degano, R.\u00a0Focardi, L.\u00a0Galletta and M.\u00a0Tempesta, Transcompiling firewalls, in: Proc. 7th International Conference on Principles of Security and Trust, L.\u00a0Bauer and R.\u00a0K\u00fcsters, eds, LNCS, Vol.\u00a010804, 2018, pp.\u00a0303\u2013324.","DOI":"10.1007\/978-3-319-89722-6_13"},{"key":"ref006","doi-asserted-by":"crossref","unstructured":"C.\u00a0Bodei, P.\u00a0Degano, R.\u00a0Focardi, L.\u00a0Galletta, M.\u00a0Tempesta and L.\u00a0Veronese, Language-independent synthesis of firewall policies, in: Proc. 2018 IEEE European Symposium on Security and Privacy, F.\u00a0Piessens and M.\u00a0Smith, eds, 2018, pp.\u00a092\u2013106.","DOI":"10.1109\/EuroSP.2018.00015"},{"key":"ref007","doi-asserted-by":"crossref","unstructured":"D.\u00a0Bringhenti, G.\u00a0Marchetto, R.\u00a0Sisto, F.\u00a0Valenza and Towards a fully automated and optimized network security functions orchestration, in: 2019 4th International Conference on Computing, Communications and Security (ICCCS), Rome, Italy, October 10\u201312, 2019, 2019, pp.\u00a01\u20137.","DOI":"10.1109\/CCCS.2019.8888130"},{"key":"ref008","doi-asserted-by":"publisher","DOI":"10.1145\/3338504.3357340"},{"key":"ref009","unstructured":"Cisco: NAT order of operation, https:\/\/www.cisco.com\/c\/en\/us\/support\/docs\/ip\/network-address-translation-nat\/6209-5.html\/."},{"key":"ref010","unstructured":"Cisco IOS Technologies, https:\/\/www.cisco.com\/c\/en\/us\/products\/ios-nx-os-software\/ios-technologies\/index.html."},{"key":"ref011","doi-asserted-by":"crossref","unstructured":"F.\u00a0Cuppens, N.\u00a0Cuppens-Boulahia, J.\u00a0Garc\u00eda-Alfaro, T.\u00a0Moataz and X.\u00a0Rimasson, Handling stateful firewall anomalies, in: SEC, IFIP Advances in Information and Communication Technology, Vol.\u00a0376, Springer, 2012, pp.\u00a0174\u2013186.","DOI":"10.1007\/978-3-642-30436-1_15"},{"key":"ref012","doi-asserted-by":"crossref","unstructured":"F.\u00a0Cuppens, N.\u00a0Cuppens-Boulahia, T.\u00a0Sans and A.\u00a0Mi\u00e8ge, A formal approach to specify and deploy a network security policy, in: Formal Aspects in Security and Trust (FAST\u201904), 2004, pp.\u00a0203\u2013218.","DOI":"10.1007\/0-387-24098-5_15"},{"key":"ref013","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-017-9445-1"},{"key":"ref014","doi-asserted-by":"crossref","unstructured":"C.\u00a0Diekmann, J.\u00a0Michaelis, M.P.L.\u00a0Haslbeck and G.\u00a0Carle, Verified iptables firewall analysis, in: The 15th IFIP Networking Conference, Vienna, Austria, May 17\u201319, 2016, 2016, pp.\u00a0252\u2013260.","DOI":"10.1109\/IFIPNetworking.2016.7497196"},{"key":"ref015","unstructured":"Firestarter, 2007, http:\/\/www.fs-security.com\/."},{"key":"ref016","unstructured":"Firewall builder, 2012, http:\/\/www.fwbuilder.org\/."},{"key":"ref017","unstructured":"Firewall management: 5 challenges every company must address, https:\/\/www.algosec.com\/wp-content\/uploads\/2016\/03\/Firewall-Management-5-Challenges-Every-Company-Must-Address-WEB.pdf."},{"key":"ref018","unstructured":"FireWall Synthesizer (FWS): Tool and examples, https:\/\/github.com\/secgroup\/fws."},{"key":"ref019","unstructured":"A.\u00a0Fogel, S.\u00a0Fung, L.\u00a0Pedrosa, M.\u00a0Walraed-Sullivan, R.\u00a0Govindan, R.\u00a0Mahajan and T.D.\u00a0Millstein, A general approach to network configuration analysis, in: 12th USENIX Symposium on Networked Systems Design and Implementation, NSDI 15, 2015, pp.\u00a0469\u2013483."},{"key":"ref020","doi-asserted-by":"publisher","DOI":"10.1109\/CNS.2015.7346867"},{"key":"ref021","doi-asserted-by":"publisher","DOI":"10.1016\/j.comnet.2006.06.015"},{"key":"ref022","doi-asserted-by":"publisher","DOI":"10.23919\/FMCAD.2017.8102263"},{"key":"ref023","unstructured":"S.\u00a0Hazelhurst, Algorithms for analysing firewall and router access lists, CoRR cs.NI\/0008006 (2000), https:\/\/arxiv.org\/abs\/cs\/0008006."},{"key":"ref024","doi-asserted-by":"publisher","DOI":"10.1109\/ICDSN.2000.857593"},{"key":"ref025","unstructured":"High level firewall language, 2003, http:\/\/www.hlfl.org."},{"key":"ref026","unstructured":"K.\u00a0Jayaraman, N.\u00a0Bj\u00f8rner, G.\u00a0Outhred and C.\u00a0Kaufman, Automated analysis and debugging of network connectivity policies, Technical Report, Microsoft, 2014."},{"key":"ref027","doi-asserted-by":"crossref","unstructured":"A.\u00a0Jeffrey and T.\u00a0Samak, Model checking firewall policy configurations, in: Proceedings of the 10th IEEE International Symposium on Policies for Distributed Systems and Networks, POLICY 2009, 2009, pp.\u00a060\u201367.","DOI":"10.1109\/POLICY.2009.32"},{"key":"ref028","unstructured":"P.\u00a0Kazemian, G.\u00a0Varghese and N.\u00a0McKeown, Header space analysis: Static checking for networks, in: Proceedings of the 9th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2012, 2012, pp.\u00a0113\u2013126."},{"key":"ref029","unstructured":"KMyFirewall, 2008, https:\/\/sourceforge.net\/projects\/kmyfirewall\/."},{"key":"ref030","unstructured":"R.M.\u00a0Marmorstein, Formal analysis of firewall policies, PhD thesis, College of William and Mary, 2008."},{"key":"ref031","doi-asserted-by":"crossref","unstructured":"S.\u00a0Mart\u00ednez, J.\u00a0Cabot, J.\u00a0Garcia-Alfaro, F.\u00a0Cuppens and N.\u00a0Cuppens-Boulahia, A model-driven approach for the extraction of network access-control policies, in: Proc. MDSec\u201912, ACM, 2012, pp.\u00a05:1\u20135:6.","DOI":"10.1145\/2422498.2422503"},{"key":"ref032","doi-asserted-by":"crossref","unstructured":"A.J.\u00a0Mayer, A.\u00a0Wool and E.\u00a0Ziskind, Fang: A firewall analysis engine, in: Proc. of the 21st IEEE S&P 2000, 2000, pp.\u00a0177\u2013187.","DOI":"10.1109\/SECPRI.2000.848455"},{"key":"ref033","unstructured":"T.\u00a0Nelson, C.\u00a0Barratt, D.J.\u00a0Dougherty, K.\u00a0Fisler and S.\u00a0Krishnamurthi, The Margrave tool for firewall analysis, in: Proceedings of the 24th Large Installation System Administration Conference, LISA 2010, 2010."},{"key":"ref034","unstructured":"Netfilter, https:\/\/www.netfilter.org\/."},{"key":"ref035","unstructured":"NeTSPoC: A network security policy compiler, 2011, http:\/\/netspoc.berlios.de."},{"key":"ref036","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45949-9"},{"key":"ref037","unstructured":"Open Networking Foundation, Software-defined networking (SDN) definition, https:\/\/www.opennetworking.org\/sdn-resources\/sdn-definition."},{"key":"ref038","unstructured":"Packet Filter (PF), https:\/\/www.openbsd.org\/faq\/pf\/."},{"key":"ref039","unstructured":"Pyroman, 2011, http:\/\/pyroman.alioth.debian.org\/."},{"key":"ref040","doi-asserted-by":"publisher","DOI":"10.1109\/ISCC.2016.7543759"},{"key":"ref041","unstructured":"R.\u00a0Russell, Linux 2.4 packet filtering HOWTO, http:\/\/www.netfilter.org\/documentation\/HOWTO\/packet-filtering-HOWTO.html."},{"key":"ref042","unstructured":"Shorewall, IPtables made easy, Shorewall, 2014, http:\/\/www.shorewall.net\/."},{"key":"ref043","unstructured":"Stanford University backbone network configuration ruleset, https:\/\/bitbucket.org\/peymank\/hassel-public\/."},{"key":"ref044","unstructured":"The IPFW Firewall, https:\/\/www.freebsd.org\/doc\/handbook\/firewalls-ipfw.html."},{"key":"ref045","unstructured":"The Netfilter Project, Traversing of tables and chains, http:\/\/www.iptables.info\/en\/structure-of-iptables.html."},{"key":"ref046","unstructured":"Uncomplicated firewall, https:\/\/help.ubuntu.com\/community\/UFW."},{"key":"ref047","doi-asserted-by":"publisher","DOI":"10.1016\/j.jnca.2019.102419"},{"key":"ref048","unstructured":"L.\u00a0Yuan, J.\u00a0Mai, Z.\u00a0Su, H.\u00a0Chen, C.\u00a0Chuah and P.\u00a0Mohapatra, FIREMAN: A toolkit for FIREwall modeling and ANalysis, in: 27th IEEE S&P, 2006, pp.\u00a0199\u2013213."},{"key":"ref049","unstructured":"Z3 theorem prover, https:\/\/github.com\/Z3Prover\/z3."},{"key":"ref050","doi-asserted-by":"crossref","unstructured":"B.\u00a0Zhang, E.\u00a0Al-Shaer, R.\u00a0Jagadeesan, J.\u00a0Riely and C.\u00a0Pitcher, Specifications of a high-level conflict-free firewall policy language for multi-domain networks, in: Proc. of ACM Symposium on Access Control Models and Technologies (SACMAT 2007), ACM, 2007.","DOI":"10.1145\/1266840.1266871"}],"container-title":["Journal of Computer Security"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-200017","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/full-xml\/10.3233\/JCS-200017","content-type":"application\/xml","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/journals.sagepub.com\/doi\/pdf\/10.3233\/JCS-200017","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,4,29]],"date-time":"2026-04-29T20:45:25Z","timestamp":1777495525000},"score":1,"resource":{"primary":{"URL":"https:\/\/journals.sagepub.com\/doi\/10.3233\/JCS-200017"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,25]]},"references-count":50,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,2,3]]}},"alternative-id":["10.3233\/JCS-200017"],"URL":"https:\/\/doi.org\/10.3233\/jcs-200017","relation":{},"ISSN":["0926-227X","1875-8924"],"issn-type":[{"value":"0926-227X","type":"print"},{"value":"1875-8924","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,25]]}}}