Merge in SNORT/snort3 from ~OFEDORYC/snort3:gtp-improved-logs to master
Squashed commit of the following:
commit
d5b51d1f8e9d088b99a5f72c9a90606c67bd081e
Author: ofedoryc <ofedoryc@cisco.com>
Date: Wed Sep 3 06:22:20 2025 -0400
decoder: improved decoding fails error message on tracer
// if the codec exists, it failed
if (CodecManager::s_proto_map[to_utype(prev_prot_id)])
{
- PacketTracer::log_msg_only("Packet %" PRIu64": decoding error\n", p->context->packet_number);
+ PacketTracer::log_msg_only("Packet %" PRIu64": unable to decode as %s%s\n",
+ p->context->packet_number,
+ get_proto_name(prev_prot_id),
+ (prev_prot_id == ProtocolId::GTP) ? "-u" : "");
s_stats[discards]++;
}
else