FROG: A Firewall Rule Order Generator for faster packet filtering

IF 4.6 2区 计算机科学 Q1 COMPUTER SCIENCE, HARDWARE & ARCHITECTURE Computer Networks Pub Date : 2025-02-01 DOI:10.1016/j.comnet.2024.110962
Antonio Coscia, Antonio Maci, Nicola Tamma
{"title":"FROG: A Firewall Rule Order Generator for faster packet filtering","authors":"Antonio Coscia,&nbsp;Antonio Maci,&nbsp;Nicola Tamma","doi":"10.1016/j.comnet.2024.110962","DOIUrl":null,"url":null,"abstract":"<div><div>The security of computer networks can be achieved using properly configured devices and applications; otherwise, protection technologies may be prone to potential threats. In next-generation firewalls, a common misconfiguration is the inefficient order of rules defining security policies. First-match scanners sequentially compare each incoming packet with the rule list until it is intercepted. Therefore, the most frequent rules should be placed in the top positions to avoid significant service issues due to slow search processes. In addition, rules cannot be placed randomly because the precedence relationships between them must be maintained to ensure the integrity of the policies implemented. Several constrained sorting techniques that take advantage of the rule activation frequencies have been proposed over the years. However, previous studies have not considered certain firewalls, such as PF, which skip rule blocks during scanning to minimize packet-rule comparisons. To address this gap, this paper proposes the Firewall Rule Order Generator (FROG), which produces constraint-compliant rule orders and arranges them in jumpable blocks based on their similarity. Furthermore, FROG is resistant to traffic profile variations, as it does not require prior knowledge of packet distributions for optimal sorting. The experimental results demonstrate that FROG can effectively maximize skipped rules and minimize jumps, thus reducing the computational overhead of the scanner. Moreover, FROG sorted large rule sets faster than state-of-the-art competitors and produced orders that minimized packet-rule comparisons using ClassBench test data.</div></div>","PeriodicalId":50637,"journal":{"name":"Computer Networks","volume":"257 ","pages":"Article 110962"},"PeriodicalIF":4.6000,"publicationDate":"2025-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Networks","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1389128624007941","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0

Abstract

The security of computer networks can be achieved using properly configured devices and applications; otherwise, protection technologies may be prone to potential threats. In next-generation firewalls, a common misconfiguration is the inefficient order of rules defining security policies. First-match scanners sequentially compare each incoming packet with the rule list until it is intercepted. Therefore, the most frequent rules should be placed in the top positions to avoid significant service issues due to slow search processes. In addition, rules cannot be placed randomly because the precedence relationships between them must be maintained to ensure the integrity of the policies implemented. Several constrained sorting techniques that take advantage of the rule activation frequencies have been proposed over the years. However, previous studies have not considered certain firewalls, such as PF, which skip rule blocks during scanning to minimize packet-rule comparisons. To address this gap, this paper proposes the Firewall Rule Order Generator (FROG), which produces constraint-compliant rule orders and arranges them in jumpable blocks based on their similarity. Furthermore, FROG is resistant to traffic profile variations, as it does not require prior knowledge of packet distributions for optimal sorting. The experimental results demonstrate that FROG can effectively maximize skipped rules and minimize jumps, thus reducing the computational overhead of the scanner. Moreover, FROG sorted large rule sets faster than state-of-the-art competitors and produced orders that minimized packet-rule comparisons using ClassBench test data.

Abstract Image

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一个防火墙规则顺序生成器,用于更快的包过滤
计算机网络的安全可以通过适当配置的设备和应用程序来实现;否则,保护技术可能会受到潜在的威胁。在下一代防火墙中,常见的错误配置是定义安全策略的规则顺序不合理。首次匹配扫描器依次将每个传入数据包与规则列表进行比较,直到它被拦截。因此,应该将最常见的规则放在最高位置,以避免由于缓慢的搜索过程而导致的重大服务问题。此外,规则不能随机放置,因为必须维护它们之间的优先级关系,以确保所实现策略的完整性。多年来,已经提出了几种利用规则激活频率的约束排序技术。然而,以前的研究没有考虑到某些防火墙,如PF,在扫描过程中跳过规则块以最小化包规则比较。为了解决这一问题,本文提出了防火墙规则顺序生成器(FROG),它生成符合约束的规则顺序,并根据它们的相似性将它们排列在可跳块中。此外,FROG可以抵抗流量配置文件的变化,因为它不需要预先了解数据包分布以进行最佳排序。实验结果表明,FROG可以有效地最大化跳过规则和最小化跳跃,从而减少扫描仪的计算开销。此外,FROG比最先进的竞争对手更快地对大型规则集进行排序,并使用ClassBench测试数据生成最小化包规则比较的订单。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Networks
Computer Networks 工程技术-电信学
CiteScore
10.80
自引率
3.60%
发文量
434
审稿时长
8.6 months
期刊介绍: Computer Networks is an international, archival journal providing a publication vehicle for complete coverage of all topics of interest to those involved in the computer communications networking area. The audience includes researchers, managers and operators of networks as well as designers and implementors. The Editorial Board will consider any material for publication that is of interest to those groups.
期刊最新文献
Design and evaluation of a robust and explainable intrusion detection framework for 5G/B5G networks OnlineADS: An online active learning approach to intrusion detection for WSNs Dynamic reliable SFC orchestration for SDN-NFV enabled networks Efficient level-3 secure certificateless signature against malicious KGC attacks for IoT An improved dynamic anonymous authentication and key agreement scheme for resource constrained IoT devices
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1