Reputation: 5469
I have added TLS encryption to one of my C++ applications using OpenSSL.
When I look at the traffic in Wireshark, I notice that you can see what kind of data is being encrypted in the "TLSv1 Record Layer: Application Data Protocol".
I don't really want to reveal this kind of information. Is there a way to set the protocol to "unspecified" or something else ?
Upvotes: 1
Views: 765
Reputation: 4853
The "Application Data Protocol" field displayed in Wireshark is a guess based on the TCP source and destination ports, and is not carried in the TLS stream.
You can check the source code of Wireshark for yourself, it is in dissect_ssl3_record(), epan/dissectors/packet-ssl.c around line 1686.
Upvotes: 1