I am currently using the latest TRex version, v3.04, which includes Scapy version 2.4.3. In our specific scenario, we are testing Deep Packet Inspection (DPI) functionality with a 5G User Plane Function (UPF) in a real-time environment using TRex.
Now, I need to send a GTP-U encapsulated packet with TLS 1.3 payload (encrypted HTTPS application data). It seems that this requires performing a complete TLS handshake with the encryption of HTTPS application data, which typically involves using OpenSSL.
As I go through the documentation, it mentions that TRex can handle TLS traffic, but I have a few questions regarding the specifics
Emulate L7 application, e.g. HTTP/HTTPS/Citrix- there is no need to implement the exact application.
Simulate L7 application on top of TLS using OpenSSL
I'm unsure which version of TRex the above statements are applicable to. Are these features available in version 3.04, or is there a different version that provides better TLS support?
While exploring the "astf" (Advanced Stateful Traffic Feature) folder, I noticed a file named "http_https.py." It seems like this profile is primarily used for replaying a pcap file. Could you confirm if my understanding is correct? Are there any profiles available that demonstrate a complete TLS handshake?
Does Scapy version 2.4.3 support TLS 1.3?
I would greatly appreciate it if someone could provide guidance or pointers on where to look for generating TLS 1.3 traffic for HTTPS application data within the TRex environment.