Abstract
With the development of Internet of Things technology, the security threats faced by the industrial control field are increasing, and strengthening the security protection capabilities of intelligent systems on IoT highways is becoming increasingly important. IPSec VPN tunneling technology can achieve identity authentication and encrypted data transmission, and is an important means to achieve secure data transmission in intelligent systems on Expressway intelligent tunnel system. The commonly used IPSec VPN gateway uses a traditional Linux protocol stack-based approach for data capture, which requires multiple data copies and context switching, resulting in low efficiency of IPSec services. In addition, the commonly used IPSec VPN security gateway is implemented on the basis of the open-source IPSec framework, using internationally recognized algorithms for encryption and decryption, which poses security risks. This article is based on the IPSec protocol, and studies the high-speed network packet capture framework PFRING technology, the fusion technology of national secret algorithm and IPSec protocol. It designs and implements an IPSec VPN IoT security gateway based on national secret algorithm. After experimental verification, the IPSec VPN gateway system constructed in this article has complete functions and better performance than the common open-source IPSec frameworks OpenSwan and strongSwan, and can meet the application requirements of IoT data encryption transmission.
Introduction
The rapid expansion of the Internet of Things (IoT) in critical infrastructure, such as highway tunnel systems, has introduced significant security vulnerabilities. While IPsec VPN technology is a standard for secure data transmission, traditional implementations often fall short in industrial contexts. Standard Linux-based gateways suffer from performance bottlenecks due to frequent context switching and data copying. Furthermore, reliance on international cryptographic standards raises concerns regarding security sovereignty. This research addresses these issues by developing a high-performance IPsec VPN gateway utilizing the PF_RING framework and Chinese National Secret (SM series) algorithms.
System Architecture and Design
The proposed IoT security gateway is built on a modular architecture designed for high throughput and low latency. The system is divided into three primary components: the GW-Server, IPsec Security Services, and a dedicated Cryptographic Module.
The GW-Server handles request processing, filtering, and configuration management. By utilizing a "Filter actuator" and various specialized filters (Auth, Rest, Wrapper), the system ensures robust traffic management before packets reach the encryption layer. Hardware acceleration via PCIe encryption cards ensures that sensitive keys never leave the hardware environment.
Key Technological Innovations
High-Speed Packet Capture with PF_RING
To overcome the limitations of the standard Linux network stack, the system integrates PF_RING technology. This framework allows for direct packet capture from the network interface card into a lock-free circular buffer, bypassing the kernel's overhead. This optimization is critical for meeting the real-time requirements of industrial control systems.
National Secret Algorithm Integration
Security is bolstered by replacing international standards with the SM series of algorithms. SM2 is employed for asymmetric key exchange and identity authentication, SM3 for data integrity via hashing, and SM4 for symmetric encryption within the Encapsulating Security Payload (ESP). A hierarchical three-layer key system (Device, Working, and Session keys) ensures that even if a single session is compromised, the device's core identity remains secure.
Blockchain-Based Identity Authentication
To further decentralize trust and enhance security, the system incorporates a blockchain-based architecture for identity authentication. This ensures that authentication services are distributed across multiple nodes, preventing single points of failure and providing a tamper-proof ledger of device identities across the highway network.
Performance Evaluation
The system was evaluated in a controlled experimental environment and benchmarked against modified versions of OpenSwan and strongSwan. Results indicated that the proposed gateway consistently achieved lower latency (round-trip delay) and higher throughput for both TCP and UDP traffic across various packet sizes. The system has been successfully piloted by the Fujian Expressway Group, demonstrating stability in real-world operations since April 2023.
Conclusion and Future Work
The developed IPsec VPN gateway provides a high-performance, sovereign-compliant solution for securing IoT communications in critical infrastructure. While the current implementation relies on specialized PCIe hardware for cryptographic acceleration, future research will focus on optimizing the system for virtualized environments and enhancing the scalability of the VPN management layer to support larger, more complex network topologies.
Summary updated