Tags: timsaya/bandix
Tags
fix(ebpf): use TC_ACT_UNSPEC instead of TC_ACT_PIPE for TC classifier Align cls_bpf pass-through with TC_ACT_UNSPEC across shared ingress/egress, DNS sampling, and traffic accounting. Update process_module_result to treat TC_ACT_UNSPEC as the neutral continue verdict.
Add optional pagination to connection flows HTTP API - When query includes page, page_size, or limit, return PagedConnectionFlowsResponse (items, total, page, page_size, total_pages). - Slice after the existing in-memory filter path; omit pagination params to keep the legacy array response. - Accept limit as an alias for page_size; clamp page_size to 1..=1000. - Bump crate version to 0.12.8.
feat: add uplink and wifi_channel fields, improve connection type det… …ection - Add uplink field: device's bridge interface name (eth1, lan2, phy0-ap0) - Add wifi_channel field: WiFi channel for wireless devices, 0 for wired - Add bridge port map (brctl showmacs + sysfs) and WiFi channel map (iw dev info) - Improve connection_type: prefer bridge port map over hostapd-based fallback - Add resolve_connection_type() for unified wifi/wired detection
Add DNS persistent storage and refactor command line arguments This commit introduces DNS query persistence to disk and refactors command line arguments for better consistency across modules. Key changes: - Add DNS storage functionality with JSONL format for queries - Implement periodic flush and shutdown save for DNS records - Rename traffic args: traffic_retention_seconds -> traffic_realtime_window, traffic_persist_interval_seconds -> traffic_flush_interval, traffic_persist_history -> traffic_enable_storage - Add dns_enable_storage and dns_flush_interval arguments - Extract boot time and timestamp conversion utilities to time_utils module - Load DNS records from storage on startup when persistence is enabled
PreviousNext