Synthesizing configuration file specifications with association rule learning

Author:

Santolucito Mark1,Zhai Ennan1,Dhodapkar Rahul2,Shim Aaron3,Piskac Ruzica1

Affiliation:

1. Yale University, USA

2. MongoDB, USA

3. Microsoft, USA

Abstract

System failures resulting from configuration errors are one of the major reasons for the compromised reliability of today's software systems. Although many techniques have been proposed for configuration error detection, these approaches can generally only be applied after an error has occurred. Proactively verifying configuration files is a challenging problem, because 1) software configurations are typically written in poorly structured and untyped “languages”, and 2) specifying rules for configuration verification is challenging in practice. This paper presents ConfigV, a verification framework for general software configurations. Our framework works as follows: in the pre-processing stage, we first automatically derive a specification. Once we have a specification, we check if a given configuration file adheres to that specification. The process of learning a specification works through three steps. First, ConfigV parses a training set of configuration files (not necessarily all correct) into a well-structured and probabilistically-typed intermediate representation. Second, based on the association rule learning algorithm, ConfigV learns rules from these intermediate representations. These rules establish relationships between the keywords appearing in the files. Finally, ConfigV employs rule graph analysis to refine the resulting rules. ConfigV is capable of detecting various configuration errors, including ordering errors, integer correlation errors, type errors, and missing entry errors. We evaluated ConfigV by verifying public configuration files on GitHub, and we show that ConfigV can detect known configuration errors in these files.

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference53 articles.

1. 2017a. Aymargeddon. https://raw.githubusercontent.com/bennibaermann/Aymargeddon/ b85d23c0690b1c6a48a045ea45f4c8b19b036fa5/var/my.cnf . (March 2017). 2017a. Aymargeddon. https://raw.githubusercontent.com/bennibaermann/Aymargeddon/ b85d23c0690b1c6a48a045ea45f4c8b19b036fa5/var/my.cnf . (March 2017).

2. 2017a. container. https://www.dropbox.com/s/5alc0zs0qp5i529/ybh8r3n2avj7sqd1rcmx0orzry23bopl.cnf ?dl=0 . (March 2017). 2017a. container. https://www.dropbox.com/s/5alc0zs0qp5i529/ybh8r3n2avj7sqd1rcmx0orzry23bopl.cnf ?dl=0 . (March 2017).

3. 2017a. containerization. https://raw.githubusercontent.com/billycyzhang/containerization/ 78c6e8fefbafb89de8c28296e83a2f6fefe03879/enterprise- images/mariadb/my.cnf . (March 2017). 2017a. containerization. https://raw.githubusercontent.com/billycyzhang/containerization/ 78c6e8fefbafb89de8c28296e83a2f6fefe03879/enterprise- images/mariadb/my.cnf . (March 2017).

4. 2017a. evansims. https://raw.githubusercontent.com/evansims/scripts/715e4f4519bbff8bab5ab26a15256d79796c923a/config/ mysql/my- 2gb.cnf . (March 2017). 2017a. evansims. https://raw.githubusercontent.com/evansims/scripts/715e4f4519bbff8bab5ab26a15256d79796c923a/config/ mysql/my- 2gb.cnf . (March 2017).

5. 2017b. evansims-script. https://raw.githubusercontent.com/evansims/scripts/715e4f4519bbff8bab5ab26a15256d79796c923a/ config/mysql/my- 1gb.cnf . (March 2017). 2017b. evansims-script. https://raw.githubusercontent.com/evansims/scripts/715e4f4519bbff8bab5ab26a15256d79796c923a/ config/mysql/my- 1gb.cnf . (March 2017).

Cited by 25 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Vulnerably (Mis)Configured? Exploring 10 Years of Developers' Q&As on Stack Overflow;Proceedings of the 18th International Working Conference on Variability Modelling of Software-Intensive Systems;2024-02-07

2. ECFuzz: Effective Configuration Fuzzing for Large-Scale Systems;Proceedings of the 46th IEEE/ACM International Conference on Software Engineering;2024-02-06

3. DRIVE: Dockerfile Rule Mining and Violation Detection;ACM Transactions on Software Engineering and Methodology;2023-12-21

4. Simplifying Cloud Management with Cloudless Computing;Proceedings of the 22nd ACM Workshop on Hot Topics in Networks;2023-11-28

5. An Empirical Study on Change-induced Incidents of Online Service Systems;2023 IEEE/ACM 45th International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP);2023-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3