aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchinarulezzz <alexandr.savca89@gmail.com>2018-04-13 14:21:50 +0300
committerRoland Knall <rknall@gmail.com>2018-04-14 05:42:40 +0000
commitcca3c926c8256d4573d1b6ddb0e24f46220bba57 (patch)
treea22674f1cce3b3c6f9503c73135161b1d42102ad
parent4fab4f678cd013c1b552be2cfd0b75425b4e17ee (diff)
packet-tns.c: add TODO to TNS Refuse packet dissector
Change-Id: If5f8cf73eb878fa3feb31ba32d576d75a293e314 Reviewed-on: https://code.wireshark.org/review/26927 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Roland Knall <rknall@gmail.com>
-rw-r--r--epan/dissectors/packet-tns.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-tns.c b/epan/dissectors/packet-tns.c
index 69a922d..766101d 100644
--- a/epan/dissectors/packet-tns.c
+++ b/epan/dissectors/packet-tns.c
@@ -998,6 +998,11 @@ static void dissect_tns_accept(tvbuff_t *tvb, int offset, packet_info *pinfo _U_
static void dissect_tns_refuse(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tns_tree)
{
+ /* TODO
+ * According to some reverse engineers, the refuse packet is also sent when the login fails.
+ * Byte 54 shows if this is due to invalid ID (0x02) or password (0x03).
+ * At now we do not have pcaps with such messages to check this statement.
+ */
proto_tree *refuse_tree;
refuse_tree = proto_tree_add_subtree(tns_tree, tvb, offset, -1,