mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-12-02 02:46:47 +00:00
OpenVPN authenticates the opcode/peer-id header as AEAD additional data only for P_DATA_V2. For P_DATA_V1 the additional data is the packet ID alone. We included the opcode for both, so every data packet exchanged with a server that does not push peer-id (e.g. SoftEther) failed authentication and was silently dropped after a successful handshake.