[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-685926-105":59,"doc-detail-685926-en":130,"doc-similar-685926":149},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","deep4r-deep-packet-inspection-in-p4-using-packet-recirculation","DeeP4R - Deep Packet Inspection in P4 using Packet Recirculation","","Software-defined networks support firewalling, telemetry, and flow analysis, but typical P4 data-plane processing is limited to packet headers due to parsing constraints. DeeP4R presents a data-plane-only Deep Packet Inspection method in P4 using packet cloning and recirculation, combined with byte slicing and a finite-state machine to detect target payload strings. If a match appears, the original copy is dropped; otherwise traffic passes through, enabling an application-layer URL filter with line-rate performance and future extensibility to other DPI tasks.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/deep4r-deep-packet-inspection-in-p4-using-packet-recirculation/685926/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/deep4r-deep-packet-inspection-in-p4-using-packet-recirculation/685926.png","ImageObject",300,407,{"name":92,"@type":93},"Asher","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-12-02","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is DeeP4R trying to enable in the P4 data plane?","Question",{"text":112,"@type":113},"DeeP4R enables Deep Packet Inspection by inspecting packet payloads (e.g., detecting target strings) directly in the P4 data plane, without relying on real-time help from an SDN controller or external server.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does packet recirculation help with payload inspection?",{"text":117,"@type":113},"DeeP4R clones and recirculates packets; each round slices off a byte and uses a finite-state machine to determine whether the target string has been seen.",{"name":119,"@type":110,"acceptedAnswer":120},"What capability does DeeP4R demonstrate, and what performance goal does it claim?",{"text":121,"@type":113},"It builds the first application-layer firewall (a URL filter) in the data plane and aims to achieve essentially line-rate performance while filtering thousands of URLs on a commodity programmable switch.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},685926,1794022407,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":52,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":143,"preview_page_count":8,"preview_urls":144},687197207639,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","IEEE INFOCOM 2023-IEEE Conference on Computer Communications | 979-8-3503-34 14-2/23/$31.00 ©2023 IEEE | DOI: 10. 1109/INFOCOM53939.2023. 10228996  \nDeeP4R: Deep Packet Inspection in P4 using Packet Recirculation  \nSahil Gupta  \nRochester Institute of Technology Rochester, NY, USA [sg5414@rit.edu](sg5414@rit.edu)  \nMinseok Kwon  \nRochester Institute of Technology Rochester, NY, USA [jmk@cs.rit.edu](jmk@cs.rit.edu)  \nDevashish Gosain  \nMax Planck Institute for Informatics Saarbrucken, Germany [dgosain@mpi-inf.mpg.de](dgosain@mpi-inf.mpg.de)  \nHrishikesh B Acharya  \nRochester Institute of Technology Rochester, NY, USA [acharya@mail.rit.edu](acharya@mail.rit.edu)  \nAbstract—Software-defined networks are useful for multiple tasks, including firewalling, telemetry, and flow analysis. In particular, the P4 language makes it possible to carry out some simple packet processing tasks in the data plane, i.e., on the switch itself (without real-time support from the SDN controller or a server). However, owing to the limitations of packet parsingin P4, these tasks involve only the packet headers. In this paper, we present a novel approach that allows Deep Packet Inspection (DPI) – i.e., inspection of the packet payload – in the data plane, using P4 alone. We make use of the fact that in P4, aswitch can clone and recirculate packets. One copy (clone) can be recirculated, slicing off a byte in each round, and using a finite-state machine to check if a target string has yet been seen. If the target string is found, the other copy (original packet) is discarded; if not, it is passed through. Our approach allows us to build the first application-layer firewall (URL filter) in the data plane, and to achieve essentially line-rate performance while filtering thousands of URLs, on a commodity programmable switch. It may in future also be used for other DPI tasks.  \nIndex Terms—Software-Defined Networks (SDN), Programmable Dataplane, Application-Layer Firewall  \nI. INTRODUCTION  \nSwitches and routers – particularly Software-Defined Network (SDN) switches – have been successfully used to implement network-layer firewalls [1], flow analysis [2], and a wide range of other functions. Part of the reason for this remarkable versatility is that a small number of packet headers (source IP, source port, destination IP, destination port, protocol, etc.) are key for a variety of networking tasks. However, more advanced techniques, such as the detection of malicious traffic or malware signatures, require Deep Packet Inspection (DPI), i.e., the inspection of packet payloads and not just packet headers. For example, a Network Intrusion Detection System (NIDS) needs DPI to identify if a packet carries the signature of an attack such as Heartbleed [3] .  \nThe current state-of-the-art in DPI is still provided by oldschool dedicated middleboxes, such as Cisco Firepower Threat Defense [4], SonicWALL TZ/NSA/SuperMassive Series [5], Fortinet FortiGate [6] etc. These solutions treat the network administrator as a consumer – the admin has no option other  \nthan to trust the manufacturer for strong security guarantees (i.e., that the firewall is not itself malicious [7], does not violate user privacy, etc.) . Further, such middleboxes are usually onpath rather than in-path [8], and may only inspect a sample of traffic so as not to become a bottleneck. A comprehensive linerate filtering solution is very expensive, and even modest firewalls may be out of the reach of small businesses. Such lack of access was one of the original motivations for developing Software-Defined Networks [9] . It is, therefore, natural to ask why DPI tasks, such as URL filtering, are not performed using programmable switches, which are friendly to the network administrators and usually provide high performance for dataplane tasks.  \nWe find that DPI-in-SDN is challenging because, in general, the payload is large and unpredictable in structure compared to packet headers. For example, one payload ite","cbCaippLJZLTZLyp","https://ap.wps.com/l/cbCaippLJZLTZLyp","pdf",2686536,"English","# Abstract\n# Introduction\n## Background on firewalls and flow analysis\n## Why DPI is hard in SDN/P4","[{\"question\":\"What is DeeP4R trying to enable in the P4 data plane?\",\"answer\":\"DeeP4R enables Deep Packet Inspection by inspecting packet payloads (e.g., detecting target strings) directly in the P4 data plane, without relying on real-time help from an SDN controller or external server.\"},{\"question\":\"How does packet recirculation help with payload inspection?\",\"answer\":\"DeeP4R clones and recirculates packets; each round slices off a byte and uses a finite-state machine to determine whether the target string has been seen.\"},{\"question\":\"What capability does DeeP4R demonstrate, and what performance goal does it claim?\",\"answer\":\"It builds the first application-layer firewall (a URL filter) in the data plane and aims to achieve essentially line-rate performance while filtering thousands of URLs on a commodity programmable switch.\"}]","DeeP4R - Deep Packet Inspection in P4 using Packet Recirculation | PDF",25,[145],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/0ebca9edb76289cd803a47e3fda550d9.webp",983,1272,{"list":150,"token":66},[151,157,164,171,178,185,192,199,206,213],{"doc_id":152,"doc_title":153,"file_type":137,"home_preview_img_url":154,"slug":155,"view_count":29,"category_name":30,"create_tm":156},654212,"Sweep v1.0 - Laser Safety, Specifications, and Serial Protocol Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974063379/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=R1TxVlTOliY6ze4Z8YbUsnvIEws%3D","sweep-v10-laser-safety-specifications-and-serial-protocol-manual",1792911797,{"doc_id":158,"doc_title":159,"file_type":137,"home_preview_img_url":160,"slug":161,"view_count":162,"category_name":30,"create_tm":163},115355,"Claude AI Bible - The Complete Guide to Mastering Claude, Claude Code, Claude Cowork, MCP, AI Agents, Automation & Advanced Prompting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229831893665/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=xWiqp40m0Wx5L80PSWq7b1WUmN4%3D","claude-ai-bible-the-complete-guide-to-mastering-claude-claude-code-claude-cowork-mcp-ai-agents-automation-advanced-prompting",945,1785472614,{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":30,"create_tm":170},185,"XNX Universal Transmitter Installation Manual (Complete Guide) [Honeywell Official]","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693710157/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=Ra%2BPHCHeCVrHntVALkwxSkg7BXk%3D","xnx-universal-transmitter-installation-manual",864,1776135954,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":30,"create_tm":177},299143,"THE CANDLESTICK TRADING BIBLE - Trading Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229905832418/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=YIKOmheoZIEScvx%2BSLeYPBYQh1o%3D","the-candlestick-trading-bible-trading-guide",812,1789767270,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":183,"category_name":30,"create_tm":184},176,"Free Fire Proxy Server","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693709822/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=djlfpLaO%2FL%2BZSCWJ76Ktmj%2B3GSE%3D","free-fire-proxy-server",569,1776135932,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":30,"create_tm":191},129220,"Operations and Supply Chain Management - Eleventh Edition - Dedicated to students and faculty","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840674154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=Z8LqeOADIReSX%2BLBKB%2Fu2PmO5R0%3D","operations-and-supply-chain-management-eleventh-edition-dedicated-to-students-and-faculty",500,1786012506,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":30,"create_tm":198},8566,"Trik Ngonten TikTok dari 0 Sampai FYP","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229696842324/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=IcED0mwG5Z2SKgAXGHiCfPMeu24%3D","tiktok-content-tricks-from-0-to-fyp",492,1776338393,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":204,"category_name":30,"create_tm":205},387603,"Building Applications with AI Agents - Multiagent Systems - Designing and Implementing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229916172328/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=KiE8e5IOtdQ%2B8FMDVUEV9%2BwLxus%3D","building-applications-with-ai-agents-multiagent-systems-designing-and-implementing",461,1790287169,{"doc_id":207,"doc_title":208,"file_type":137,"home_preview_img_url":209,"slug":210,"view_count":211,"category_name":30,"create_tm":212},14249,"EW 101: A First Course in Electronic Warfare","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229699258216/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=ZoxGmAICXs%2BUAW54rQQg292BbgQ%3D","ew-101-a-first-course-in-electronic-warfare",452,1776558348,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":30,"create_tm":219},238737,"Spectrum Channel List 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229894154298/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796199479&Signature=EwYuxWQF3Ui1vlWG63l39jgaAMI%3D","spectrum-channel-list-2026",450,1789139284]