DaLaw2 89cdbff542 feat: frontend overhaul, design system, CI fix
Frontend (submodule update):
- JWT authentication with login page and route protection
- WebSocket refactor: 26 connections → 4 with subscription filtering
- All API paths migrated from /ebpf/ to /api/ with JWT headers
- 6 new pages: drops, geo-block, dns-filter, rate-limit,
  protocol-filter, system settings
- 3-group sidebar navigation (監控/安全/系統)
- Updated all existing pages to new backend API

Design system:
- DESIGN.md: Industrial/Utilitarian aesthetic, Geist + JetBrains Mono,
  Slate palette, compact spacing, accessibility specs
- CLAUDE.md: design system reference for future work
- TODOS.md: implementation tracking

CI fix:
- Add Node.js 22 setup + npm install for frontend build in build.rs
- Fix bpf-linker resolution: find_bpf_linker() in net-guardia/build.rs
  resolves path and passes via CARGO_TARGET_BPFEL_UNKNOWN_NONE_LINKER
  env var to eBPF subprocess (no more PATH guessing)
- Add which crate to net-guardia build-dependencies
- Force-install bpf-linker to avoid stale cache false positive
- Set stable as default toolchain so clippy runs on stable
- Make ingress/egress-ebpf build.rs non-fatal on which() failure

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 11:40:30 +08:00
2026-03-18 15:25:28 +08:00

NetGuardia

Project Overview

NetGuardia is a high-performance network security solution that combines eBPF XDP technology with deep learning models to provide advanced network protection. The system operates as a standalone network appliance that can run on any Ubuntu-based system with compatible network hardware.

Core Technologies

  • eBPF XDP Technology - Provides high-performance packet processing directly at the data link layer
  • Deep Learning Models - Identifies and predicts potential network attacks with intelligent threat detection
  • Hardware Integration - Designed to work with Intel i350 T2 and similar enterprise-grade network interface cards

Functional Modules

Resource Overview

Home

  • Real-time control system occupancy rate

Dashboard Overview

Dashboard

  • Real-time network traffic monitoring and visualization
  • Recent traffic statistics and trend analysis

Detailed Traffic Statistics

Statistics

  • Detailed traffic usage information per IP address

Network Access Control

accessControl

  • IPv4/IPv6 whitelist and blacklist management
  • Precise port-level access control

System Features

  • High Performance - Low-latency packet processing with minimal network performance impact
  • User-Friendly - Cross-platform web management interface with intuitive operation
  • Reliability - Hardware-accelerated processing ensures stable operation
  • Scalability - Modular design supports functional expansion

System Requirements

  • Ubuntu-based operating system (Ubuntu 24.04 LTS or newer recommended)
  • Dual-port network interface card (Intel i350 T2 or compatible XDP-capable NIC)
  • Root/sudo access for eBPF program loading

Hardware Compatibility

NetGuardia is designed to work on any Ubuntu-based system meeting the following requirements:

  • Network Interface: Any dual-port NIC supporting XDP native or offload mode (Intel i350 T2 recommended)
  • CPU: Multi-core processor recommended for optimal performance
  • Memory: 8GB RAM minimum, 16GB or more for high-traffic environments

The system is not limited to embedded platforms and can be deployed on standard server hardware, virtual machines, or dedicated appliances running Ubuntu.

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%