$ show asset-group/Sni5Gect-5GNR-sniffing-and-exploitation
This repository implements a full 4G/5G telecommunications protocol stack (likely based on srsRAN) for software-defined radio applications. It provides implementations for User Equipment (UE), evolved Node B (eNB), gNB (next generation Node B), and Evolved Packet Core (EPC) network elements. The architecture follows a layered approach mirroring the telecommunications protocol stack (PHY, MAC, RLC, PDCP, RRC, NAS) with clear interfaces between layers. The system supports various SDR hardware platforms through a plugin-based radio frequency abstraction layer and can be used to build experimental 4G/5G networks for research and development. Key entry points include main.cc files in each application directory (srsenb, srsue, srsepc, srsgnb) and example applications in lib/examples/.
The LLM identified 5 files worth highlighting for reuse:
A self-contained logging framework with multiple sinks (file, stream, syslog), formatters (text, JSON), and thread-safe design. Demonstrates good separation of interface and implementation with extensible architecture that could be easily reused in other projects.
A robust thread pool implementation with work queue, configurable worker count, and proper shutdown handling. Self-contained with minimal dependencies, demonstrating proper thread synchronization and resource management patterns suitable for extraction into other concurrent applications.
An efficient buffer pool implementation for high-throughput systems featuring reference counting and memory pooling to reduce allocation overhead. Shows deep understanding of performance-critical memory management and could be reused in networking or multimedia applications.
A self-contained INI-style configuration file parser supporting sections, key-value pairs, type conversion, and default values. Demonstrates robust parsing with proper error handling and could be easily extracted for use in other projects requiring configuration management.
A unified radio frequency abstraction layer with drivers for various SDR hardware (UHD/USRP, BladeRF, LimeSDR, SoapySDR, ZeroMQ, file-based). Exemplifies good interface design and plugin architecture that could be extracted for other software-defined radio applications.