DaLaw2 f021c8ebe2 chore: Merge from ParrotXray master (#1)
* refactor: Use unsafe blocks for flow statistics updates in ingress and egress EBPF

fix: Ensure proper error handling in parsing and access control functions

* Add detection and statistics pages with navigation updates

- Created detection.html and statistics.html with a consistent layout.
- Implemented a sidebar navigation menu with links to Home, Dashboard, Statistics, Access Control, and Detection.
- Added loading spinner to enhance user experience during data fetching.
- Included favicon.ico for branding purposes.

* refactor: Remove commented-out code for load average and CPU temperature in SystemHealth

* refactor: Enhance system health metrics collection with configured network stats

* refactor: Enhance SystemHealth structure with CPU details and uptime metrics

* refactor: Remove commented-out code for ingress interface in SystemHealth

* refactor: Update SystemHealthMetrics to include system information and adjust CPU usage calculation

* add: Add new webpack and CSS files for improved styling and functionality

* refactor: Update health API endpoint paths for consistency

* update: dashbrad

* update: Update dashbroad

---------

Co-authored-by: ParrotXray <41143154@nfu.edu.tw>
2025-08-25 23:14:27 +08:00
2025-03-25 02:52:24 +08:00
2025-03-25 02:52:24 +08:00
2024-11-26 19:41:07 +08:00

NetGuardia 🛡️

📌 專案簡介

NetGuardia 是一個結合 eBPF XDP 與深度學習模型的實體網路防護裝置,運行於 Raspberry Pi 5 與 Intel i350 T2 網卡。本專案旨在提供高效能、低延遲的網路防護解決方案,適用於家庭與中小型企業環境。

🔧 核心技術

  • eBPF XDP 技術 - 實現高效能網路封包處理,直接在資料連結層操作
  • 深度學習模型 - 識別與預測潛在網路攻擊,提供智慧化防護
  • 嵌入式硬體整合 - 結合 Raspberry Pi 5 與 Intel i350 T2提供獨立且強大的網路防護功能

🧩 功能模組

📊 儀表板總覽 (Dashboard)

儀表板介面

  • 即時網路流量監控與視覺化統計
  • 近期流量大小統計與趨勢圖

📈 詳細流量統計 (Statistics)

流量統計介面

  • 各 IP 位址詳細流量使用情況

🔒 網路存取控制 (Access Control)

存取控制介面

  • IPv4/IPv6 黑白名單管理
  • 精確的連接埠層級存取控制

🤖 AI 攻擊偵測 (AI Detection)

AI 攻擊偵測介面

  • 基於 AI 的攻擊偵測引擎

系統特色

  • 高效能 - 低延遲封包處理,最小化網路效能影響
  • 👥 易用性 - 跨平台 Web 管理介面,直覺操作
  • 🔄 可靠性 - 硬體加速處理,確保穩定運行
  • 📦 可擴展 - 模組化設計,支援功能擴展

💻 安裝需求

  • Raspberry Pi 5 (建議 8GB RAM 版本)
  • 雙孔網卡(能支援 XDP native/offload 更好)
  • 32GB 以上 microSD 卡 (建議 Class 10 以上)
  • 5V/3A 以上電源供應器
Description
NetGuardia is a network defense system that integrates eBPF XDP and deep learning models
Readme 121 MiB
Languages
Rust 96.7%
Shell 2.9%
HCL 0.4%