[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-686163-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-686163-en":130,"doc-similar-686163":153},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","deep-packet-inspection-as-a-service","Deep Packet Inspection as a Service","","Middleboxes are central to modern networks, but packet forwarding alone cannot satisfy operator needs such as security, QoS/QoE, and load balancing. Many middleboxes must perform Deep Packet Inspection (DPI) for L7 protocols, repeatedly rescanning the same traffic. The paper proposes DPI as a shared service: traffic is inspected once, the scan results are distributed to all middleboxes using the service, and this design improves performance, scalability, robustness, and enables new middlebox innovation opportunities.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/deep-packet-inspection-as-a-service/686163/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/deep-packet-inspection-as-a-service/686163.png","ImageObject",300,407,{"name":42,"@type":43},"Ezra","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-17","2026-11-07",true,{"@type":52,"interactionType":53,"userInteractionCount":30},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"Why do middleboxes need Deep Packet Inspection (DPI)?","Question",{"text":62,"@type":63},"DPI inspects packet payloads against patterns, supporting tasks such as security and application- or URL-related enforcement. It is a common workload in many L7-capable middleboxes and can dominate processing time.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"What does it mean to provide DPI as a service?",{"text":67,"@type":63},"Instead of each middlebox rescanning traffic, the network routes packets through one DPI service instance. The service scans once and then provides results to the middleboxes that requested DPI.",{"name":69,"@type":60,"acceptedAnswer":70},"How does DPI-as-a-service handle chains that include NATs or header modifications?",{"text":71,"@type":63},"The payload is typically unchanged even when headers are modified along the path. Therefore, the DPI service can still be used in policy chains containing NATs and other header-modifying middleboxes.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},686163,1794031719,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":30,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":79,"read_time":112,"preview_page_count":26,"preview_urls":144},1099514068035,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Deep Packet Inspection as a Service  \nAnat Bremler-Barr  \nSchool of Computer Science The Interdisciplinary Center Herzliya, Israel  \n[bremler@idc.ac.il](bremler@idc.ac.il)  \nDavid Hay  \nSchool of Computer Science and Engineering The Hebrew University Jerusalem, Israel  \n[dhay@cs.huji.ac.il](dhay@cs.huji.ac.il)  \nYotam Harchol  \nSchool of Computer Science and Engineering The Hebrew University Jerusalem, Israel  \n[yotamhc@cs.huji.ac.il](yotamhc@cs.huji.ac.il)  \nYaron Koral  \nSchool of Computer Science and Engineering The Hebrew University Jerusalem, Israel  \n[ykoral@princeton.edu](ykoral@princeton.edu)  \nABSTRACT  \nMiddleboxes play a major role in contemporary networks, as forwarding packets is often not enough to meet operator demands, and other functionalities (such as security, QoS/QoE provisioning, and load balancing) are required. Trafﬁc is usually routed through a sequence of such middleboxes, which either reside across the network or in a single, consolidated location. Although middleboxes provide a vast range of different capabilities, there are components that are shared among many of them.  \nA task common to almost all middleboxes that deal with L7 protocols is Deep Packet Inspection (DPI) . Today, trafﬁc is inspected from scratch by all the middleboxes on its route. In this paper, we propose to treat DPI as a service to the middleboxes, implying that trafﬁc should be scanned only once, but against the data of all middleboxes that use the service. The DPI service then passes the scan results to the appropriate middleboxes. Having DPI as a service has signiﬁcant advantages in performance, scalability, robustness, and as a catalyst for innovation in the middlebox domain. Moreover, technologies and solutions for current Software Deﬁned Networks (SDN) (e.g., SIMPLE [41]) make it feasible to implement such a service and route trafﬁc to and from its instances.  \n1. INTRODUCTION  \nInspired by current suggestions for Network Function Virtualization (NFV) and the ﬂexible routing capabilities of Software Deﬁned Networks (SDN), this paper calls for ﬁnding common tasks among middleboxes and offering these tasks as services.  \nSpeciﬁcally, we focus on Deep Packet Inspection (DPI), where the payload of packets is inspected against a set of patterns. DPI is a common task in many middleboxes. A partial list is shown in Table 1 . In many of these devices, DPI is the most time-consuming  \n.  \n(a) Without DPI service: Multiple middleboxes perform DPI on packets.  \n(b) With DPI service: Packets go through DPI  \nonce.  \nFigure 1: Examples of the chain of middleboxes (a.k.a. policy chains [41]) with and without DPI as a service.  \ntask and it may take most of the middlebox processing time.1 Thus, great effort was invested over the years in optimizing it.  \nAs detailed in [41], and referenced therein, trafﬁc nowadays goes through a chain of middleboxes before reaching its destination. This implies that trafﬁc is scanned over and over again by middleboxes with a DPI component [39](see Figure 1(a)) . Alternatively, an opposite trend is to consolidate middleboxes in a single location (or even a hardware device) [4, 45] . However, the different components of this consolidated middlebox perform DPI separately, from scratch.  \nOur proposed framework extracts the DPI engine from the different middleboxes and provides it as a service for various middleboxes in the network. This service is provided by deploying one or more service instances around the network, all controlled by a logically-centralized DPI Controller. Thus, a packet in such network would go through a single DPI service instance and then  \n1In an experiment we conducted on Snort IDS [48], DPI slows packet processing by a factor of at least 2:9.  \nIDS1 with DPI IDS2 with DPI  \n(a) Without a DPI Service  \nDPI Service Instance  \n(b) With a DPI Service  \nFigure 2: Pipelined middlebox scenario. With DPI Service, resources are used for running multiple instances of the service while middlebo","cbCaidFGLZ8OqKlt","https://ap.wps.com/l/cbCaidFGLZ8OqKlt","pdf",822328,12,"English","# Abstract\n# Introduction\n## DPI in policy chains\n## Proposed framework: DPI as a service\n## DPI service instance deployment and control\n## Using DPI with header-modifying middleboxes\n## Performance and resource benefits","[{\"question\":\"Why do middleboxes need Deep Packet Inspection (DPI)?\",\"answer\":\"DPI inspects packet payloads against patterns, supporting tasks such as security and application- or URL-related enforcement. It is a common workload in many L7-capable middleboxes and can dominate processing time.\"},{\"question\":\"What does it mean to provide DPI as a service?\",\"answer\":\"Instead of each middlebox rescanning traffic, the network routes packets through one DPI service instance. The service scans once and then provides results to the middleboxes that requested DPI.\"},{\"question\":\"How does DPI-as-a-service handle chains that include NATs or header modifications?\",\"answer\":\"The payload is typically unchanged even when headers are modified along the path. Therefore, the DPI service can still be used in policy chains containing NATs and other header-modifying middleboxes.\"}]","Deep Packet Inspection as a Service | PDF",[145,149],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/086899e1e66a081e38742e96ff4c5465.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/39eadbfb6a637b6225f05d369993bb54.webp",982,1270,{"list":154,"token":11},[155,161,167,174,180,187,193,199,205,211],{"doc_id":156,"doc_title":157,"file_type":137,"home_preview_img_url":158,"slug":159,"view_count":96,"category_name":29,"create_tm":160},690653,"MX85 Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002651757/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=eywrki05d5FrTcPJRpUxuYxOZJo%3D","mx85-datasheet",1794169274,{"doc_id":162,"doc_title":163,"file_type":137,"home_preview_img_url":164,"slug":165,"view_count":26,"category_name":29,"create_tm":166},735334,"SRN-214R3S5-EXQFX - Software Release Notification for JUNOS Software Version 21.4R3-S5","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230034333473/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=hB1eJ3lZdUxLSa1BgPKriGx%2BV8Q%3D","srn-214r3s5-exqfx-software-release-notification-for-junos-software-version-214r3-s5",1795458890,{"doc_id":168,"doc_title":169,"file_type":137,"home_preview_img_url":170,"slug":171,"view_count":172,"category_name":29,"create_tm":173},232718,"Technical Information DRAGON PTN - Product Description Basic Units - Packet Transport Node Portfolio","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229892215546/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=7EGILEi12Fe%2FJgVTinn9Y8yXTp4%3D","technical-information-dragon-ptn-product-description-basic-units-packet-transport-node-portfolio",17,1789073291,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":96,"category_name":29,"create_tm":179},685926,"DeeP4R - Deep Packet Inspection in P4 using Packet Recirculation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000276744/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=HyTvrg383oXOgBG8w2x1krgnqgU%3D","deep4r-deep-packet-inspection-in-p4-using-packet-recirculation",1794022407,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":29,"create_tm":186},202635,"VOIP Components - Common Threats - Defenses","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882894878/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=o0exhK7%2BdctmtKhmN%2B1c%2Ff2DCSk%3D","voip-components-common-threats-defenses",16,1788549582,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":96,"category_name":29,"create_tm":192},690656,"Meraki MX60 - Cloud-Managed Multi-Service Router - Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002651787/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=ufjIgIWRVKSVmoJQL%2BkJtheKdP8%3D","meraki-mx60-cloud-managed-multi-service-router-datasheet",1794169281,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":127,"category_name":29,"create_tm":198},123756,"Guarding the Cloud - An Effective Detection of Cloud-Based Cyber Attacks using Machine Learning Algorithms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229837044669/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=i%2BDfZ8K8kX1WwpzObV%2BA1EPr6ZY%3D","guarding-the-cloud-an-effective-detection-of-cloud-based-cyber-attacks-using-machine-learning-algorithms",1785818357,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":105,"category_name":29,"create_tm":204},671612,"Ethernet Switch Material Specification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988736557/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=7w0UiB8eYn1kHrp4eICkN83KJiE%3D","ethernet-switch-material-specification",1793577578,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":33,"category_name":29,"create_tm":210},691253,"GigaVUE Cloud Suite for Azure - Data Sheet - Deep Observability","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002670600/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=NLd3PH9Sf%2FCNZ9To5CE%2FY1tz7NA%3D","gigavue-cloud-suite-for-azure-data-sheet-deep-observability",1794173511,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":30,"category_name":29,"create_tm":216},698009,"The Domain Name System - Overview - Introduction, History, and Technical Details","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010160272/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796197799&Signature=5ejWKE2fhltyEn71FmHcPyNlfE8%3D","the-domain-name-system-overview-introduction-history-and-technical-details",1794447100]