Cuckoo Prefix: A Hash Set for Compressed IP Blocklists

D. Allen, Navid Shaghaghi
{"title":"Cuckoo Prefix: A Hash Set for Compressed IP Blocklists","authors":"D. Allen, Navid Shaghaghi","doi":"10.1109/ITNAC50341.2020.9315074","DOIUrl":null,"url":null,"abstract":"IP blocking has become a vital task for all network attached devices. Every device from Internet of Things, to routers, to application servers requires the ability to filter certain IP addresses from delivering malicious information. Blocking IPs requires storing and checking lists of tens to hundreds of millions of IP addresses. Cuckoo hash sets provide strong performance by offering relatively low numbers of memory accesses per lookup. This makes them optimal for time sensitive applications like networking. Using cuckoo++ hash tables as a baseline, we propose a new data structure known as cuckoo prefix for the purpose of blocking IPs quickly with relatively little space. Leveraging IP subnets allows us to achieve similar throughput rates as implementations such as cuckoo++ with 8 times less memory usage. In addition, in this paper we offer a comparison of throughput and memory usage of several modern hash set and hash table implementations. In particular, we examine linear probing, robin hood hashing, bit sets (including EBVBL), and cuckoo hashing implementations to determine which provides the best throughput at the lowest memory cost.","PeriodicalId":131639,"journal":{"name":"2020 30th International Telecommunication Networks and Applications Conference (ITNAC)","volume":"62 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-11-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 30th International Telecommunication Networks and Applications Conference (ITNAC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ITNAC50341.2020.9315074","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

IP blocking has become a vital task for all network attached devices. Every device from Internet of Things, to routers, to application servers requires the ability to filter certain IP addresses from delivering malicious information. Blocking IPs requires storing and checking lists of tens to hundreds of millions of IP addresses. Cuckoo hash sets provide strong performance by offering relatively low numbers of memory accesses per lookup. This makes them optimal for time sensitive applications like networking. Using cuckoo++ hash tables as a baseline, we propose a new data structure known as cuckoo prefix for the purpose of blocking IPs quickly with relatively little space. Leveraging IP subnets allows us to achieve similar throughput rates as implementations such as cuckoo++ with 8 times less memory usage. In addition, in this paper we offer a comparison of throughput and memory usage of several modern hash set and hash table implementations. In particular, we examine linear probing, robin hood hashing, bit sets (including EBVBL), and cuckoo hashing implementations to determine which provides the best throughput at the lowest memory cost.
布谷鸟前缀:压缩IP块列表的哈希集
IP拦截已成为所有网络连接设备的重要任务。从物联网到路由器,再到应用服务器,每个设备都需要过滤某些IP地址,以防止恶意信息的传递。阻断IP地址需要存储和检查数千万到数亿个IP地址的列表。Cuckoo散列集通过提供相对较少的每次查找内存访问次数来提供强大的性能。这使得它们最适合时间敏感的应用程序,如网络。我们以cuckoo++哈希表为基准,提出了一种新的数据结构,称为cuckoo前缀,目的是在相对较小的空间内快速阻塞ip。利用IP子网使我们能够实现与cuckoo++等实现相似的吞吐率,而内存使用减少了8倍。此外,本文还比较了几种现代哈希集和哈希表实现的吞吐量和内存使用情况。特别是,我们研究了线性探测、罗宾汉哈希、位集(包括EBVBL)和布谷鸟哈希实现,以确定哪一种以最低的内存成本提供了最佳的吞吐量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信