A Domain-Specific Language for Filtering in Application-Level Gateways

被引:2
|
作者
Balldin, Hampus [1 ]
Reichenbach, Christoph [2 ]
机构
[1] Advenica AB, Malmo, Sweden
[2] Lund Univ, Dept Comp Sci, Lund, Sweden
关键词
filtering language; packet filtering; network security; domain-specific languages;
D O I
10.1145/3425898.3426955
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Application-level packet filtering is a technique for network access control in which an "application-level gateway" intercepts network packets at the application level (e.g., HTTP, FTP), scans them for security concerns and optionally logs, rewrites or discards them. Existing application-level filters express their filtering rules in general-purpose languages, which limits the correctness guarantees available for them. We present the first declarative language for application-level network filtering, developed at Advenica AB. Our DSL uses security assertions to express properties that packets must have to be allowed through the network (e.g., "IMAP packet contains no executable attachment" or "SQL reply contains only explicitly permitted columns"), along with remedies that either reject or rewrite undesirable packets. We have designed the language around the needs of network filter developers, with a focus on correctness: our language can statically verify several properties of filter programs, such as well-formedness of the outcome, confluence, and termination, with the help of an off-the-shelf SMT solver. Our initial results show that the language can express many typical filtering tasks, closely maps to the application domain, and provides strong correctness guarantees.
引用
收藏
页码:111 / 123
页数:13
相关论文
共 50 条
  • [31] A Domain-Specific Language for Exploratory Data Visualization
    Smeltzer, Karl
    Erwig, Martin
    [J]. PROCEEDINGS OF THE 17TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING: CONCEPTS AND EXPERIENCES (GPCE'18), 2018, : 1 - 13
  • [32] LegalLanguage: A Domain-Specific Language for Legal Contexts
    Soares, Ambrosio Alves
    Martins, Paula Ventura
    da Silva, Alberto Rodrigues
    [J]. ADVANCES IN ENTERPRISE ENGINEERING XIII, EEWC 2019, 2020, 374 : 33 - 51
  • [33] DOMAIN-SPECIFIC LANGUAGE FOR THE CONFIGURATION OF NETWORK DEVICES
    Felipe Garzon Triana, Daniel
    Enrique Montenegro Marin, Carlos
    Alonso Gaona Garcia, Paulo
    [J]. INGENIERIA SOLIDARIA, 2016, 12 (20): : 83 - 94
  • [34] Declaratively Defining Domain-Specific Language Debuggers
    Lindeman, Ricky T.
    Kats, Lennart C. L.
    Visser, Eelco
    [J]. GPCE 11: PROCEEDINGS OF THE TENTH INTERNATIONAL CONFERENCE ON GENERATIVE PROGRAMMING AND COMPONENT ENGINEERING, 2011, : 127 - 136
  • [35] SESSL: A Domain-Specific Language for Simulation Experiments
    Ewald, Roland
    Uhrmacher, Adelinde M.
    [J]. ACM TRANSACTIONS ON MODELING AND COMPUTER SIMULATION, 2014, 24 (02):
  • [36] A domain-specific language for the specification of UCON policies
    Reina Quintero, Antonia M.
    Martinez Perez, Salvador
    Jesus Varela-Vaca, Angel
    Gomez Lopez, Maria Teresa
    Cabot, Jordi
    [J]. JOURNAL OF INFORMATION SECURITY AND APPLICATIONS, 2022, 64
  • [37] A domain-specific language to visualize software evolution
    Fernandez, Alison
    Berger, Alexandre
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2018, 98 : 118 - 130
  • [38] A Test Model For Domain-Specific Language Development
    kihlman, Ludvig
    [J]. 2017 9TH COMPUTER SCIENCE AND ELECTRONIC ENGINEERING (CEEC), 2017,
  • [39] Framework for domain-specific modeling language development
    Grant, ES
    Reza, H
    [J]. SERP'04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2004, : 183 - 187
  • [40] From Domain-Specific Language to Code: Smart Contracts and the Application of Design Patterns
    Woehrer, Maximilian
    Zdun, Uwe
    [J]. IEEE SOFTWARE, 2020, 37 (05) : 37 - 42