aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-telnet.c
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2019-12-10 16:46:25 -0500
committerPeter Wu <peter@lekensteyn.nl>2020-02-13 23:26:15 +0000
commit32679c14bedd01efa6f4cc1598f5b03ecba73d98 (patch)
treeebbafc0e618f4336aaeb0057ac9982ea96c42ae6 /epan/dissectors/packet-telnet.c
parentc867d271386d0da803a742ea0f8a1bf0071f8d22 (diff)
Introduce AudioCodes Debug Recording (ACDR) dissector
ACDR is a protocol over UDP that is used by AudioCodes devices for recording traffic to and from the device. It adds a header to each packet that contains extra data about the packet. For some packet types (like SIP), it also appends the IP and UDP/TCP headers of the sent/received packet. The dissector unwraps the ACDR header, and displays the packets with the original type (and when available, with the original addresses). Bug: 16275 Change-Id: I19ad90053a2ef73da80881dc5e94aa362de23ea3 Reviewed-on: https://code.wireshark.org/review/35417 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/dissectors/packet-telnet.c')
-rw-r--r--epan/dissectors/packet-telnet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/dissectors/packet-telnet.c b/epan/dissectors/packet-telnet.c
index d257ab0fcd..36ca4e2380 100644
--- a/epan/dissectors/packet-telnet.c
+++ b/epan/dissectors/packet-telnet.c
@@ -22,6 +22,7 @@
#include "packet-tls-utils.h"
#include "packet-tn3270.h"
#include "packet-tn5250.h"
+#include "packet-acdr.h"
void proto_reg_handoff_telnet(void);
void proto_register_telnet(void);
@@ -2179,6 +2180,9 @@ void
proto_reg_handoff_telnet(void)
{
dissector_add_uint_with_preference("tcp.port", TCP_PORT_TELNET, telnet_handle);
+
+ dissector_add_uint("acdr.tls_application", TLS_APP_TELNET, telnet_handle);
+
tn3270_handle = find_dissector_add_dependency("tn3270", proto_telnet);
tn5250_handle = find_dissector_add_dependency("tn5250", proto_telnet);
tls_handle = find_dissector("tls");