Commit 004d26df authored by Émilio Gonzalez's avatar Émilio Gonzalez Committed by AndersBroman
Browse files

TPKT: Add the dissector to the list of TLS subdissectors

Also make the RDP port (3389) to default to TPKT when decrypting TLS.

Change-Id: I951531080b36905b2c3ac9039e66243c67b6efe6

Reviewed-by: mmann78's avatarMichael Mann <>
Petri-Dish: Michael Mann <>
Tested-by: Petri Dish Buildbot
Reviewed-by: AndersBroman's avatarAnders Broman <>
parent 13fc8302
Pipeline #65412052 passed with stages
in 295 minutes and 13 seconds
......@@ -21,6 +21,7 @@
#include <epan/prefs.h>
#include <epan/show_exception.h>
#include "packet-tls.h"
#include "packet-tpkt.h"
void proto_register_tpkt(void);
......@@ -669,6 +670,8 @@ proto_reg_handoff_tpkt(void)
port_range = range_copy(wmem_epan_scope(), tpkt_tcp_port_range);
dissector_add_uint_range("tcp.port", port_range, tpkt_handle);
ssl_dissector_add(3389, tpkt_handle);
tpkt_ascii_handle = create_dissector_handle(dissect_ascii_tpkt, proto_tpkt);
dissector_add_uint("tcp.port", TCP_PORT_TPKT, tpkt_ascii_handle);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment