Squashed commit of the following:
commit
3e2f96ca0c53ebc5fa0df542a5b1df32be37e9df
Author: Michael Matirko <mmatirko@cisco.com>
Date: Fri Aug 2 16:48:10 2019 -0400
reputation: Fixed issues with reputation monitor
#include "network_inspectors/packet_tracer/packet_tracer.h"
#include "packet_io/active.h"
#include "profiler/profiler.h"
+#include "protocols/packet.h"
+
#include "reputation_parse.h"
}
else if (MONITORED == decision)
{
+ p->packet_flags |= PKT_REP_MONITORED;
DetectionEngine::queue_event(GID_REPUTATION, REPUTATION_EVENT_MONITOR);
reputationstats.monitored++;
}
#define PKT_IGNORE 0x00800000 /* this packet should be ignored, based on port */
#define PKT_RETRANSMIT 0x01000000 // packet is a re-transmitted pkt.
#define PKT_RETRY 0x02000000 /* this packet is being re-evaluated from the internal retry queue */
-#define PKT_UNUSED_FLAGS 0xfc000000
+#define PKT_REP_MONITORED 0x04000000 /* this packet is monitored by reputation */
+#define PKT_UNUSED_FLAGS 0xf8000000
#define PKT_TS_OFFLOADED 0x01
-// 0x40000000 are available
#define PKT_PDU_FULL (PKT_PDU_HEAD | PKT_PDU_TAIL)
enum PseudoPacketType