CLASSIC-STUN: dissect the entire packet on first-pass
Request-response tracking of STUN messages encapsulated in CLASSIC-STUN packets (via DATA attribute) doesn't work right now. The reason for this is that req-resp tracking is usually performed on first-pass, but CLASSIC-STUN attributes are not dissected on first-pass (on wireshark, at least). So the encapsulated STUN messages are never elaborated on first pass, either.
This commit is contained in:
parent
724a288560
commit
3f76684f91
|
@ -313,7 +313,6 @@ dissect_classicstun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *d
|
|||
col_add_fstr(pinfo->cinfo, COL_INFO, "Message: %s",
|
||||
msg_type_str);
|
||||
|
||||
if (tree) {
|
||||
guint transaction_id_first_word;
|
||||
|
||||
ti = proto_tree_add_item(tree, proto_classicstun, tvb, 0, -1, ENC_NA);
|
||||
|
@ -537,7 +536,6 @@ dissect_classicstun(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *d
|
|||
msg_length -= ATTR_HDR_LEN+att_length;
|
||||
}
|
||||
}
|
||||
}
|
||||
return tvb_reported_length(tvb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue