Enhancing XDP eBPF Firewall Performance and Accuracy with Large Language Models and Symbolic Execution

Firewalls are foundational to computer network security, yet managing large and complex eXpress Data Path (XDP) extended Berkeley Packet Filter (eBPF) rule sets often results in performance inefficiencies and configuration errors. This paper investigates how large language models (LLMs) can enhance the performance and maintain correctness of XDP eBPF-based firewalls by applying AI-guided rule optimization in conjunction with formal equivalenceverification using symbolic execution and Satisfiability Modulo Theories (SMT) solvers. We propose a dual-phase workflow: first, LLMs optimize rule sets by reordering and pruning redundant entries; second, symbolic reasoning verifies functional equivalence with theoriginal policy. Our evaluation across 12 firewalls—ranging from basic to complex functionalities—demonstrates a verified success rate of 83.3%. We conclude that LLM optimization, when combined with formal checking, offers a practical and scalable approach to maintaining accurate and efficient firewall configurations.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-09-30
DOI
https://doi.org/10.5281/zenodo.17107506
Primary Topic
Sports, Gender, and Society
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing XDP eBPF Firewall Performance and Accuracy with Large Language Models and Symbolic Execution

Zenodo (CERN European Organization for Nuclear Research)
Sports, Gender, and Society
article

Enhancing XDP eBPF Firewall Performance and Accuracy with Large Language Models and Symbolic Execution

article en

Abstract

Firewalls are foundational to computer network security, yet managing large and complex eXpress Data Path (XDP) extended Berkeley Packet Filter (eBPF) rule sets often results in performance inefficiencies and configuration errors. This paper investigates how large language models (LLMs) can enhance the performance and maintain correctness of XDP eBPF-based firewalls by applying AI-guided rule optimization in conjunction with formal equivalenceverification using symbolic execution and Satisfiability Modulo Theories (SMT) solvers. We propose a dual-phase workflow: first, LLMs optimize rule sets by reordering and pruning redundant entries; second, symbolic reasoning verifies functional equivalence with theoriginal policy. Our evaluation across 12 firewalls—ranging from basic to complex functionalities—demonstrates a verified success rate of 83.3%. We conclude that LLM optimization, when combined with formal checking, offers a practical and scalable approach to maintaining accurate and efficient firewall configurations.

Zenodo (CERN European Organization for Nuclear Research)
Openalex Percentile: Top 38%
Sports, Gender, and Society
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.