forked from osmocom/wireshark
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-on: https://code.wireshark.org/review/33521 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
13fc8302e0
commit
004d26dfaf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue