-- changed doc to use "legacy" instead of "classic"
-- restricted reload to basic modules and inspectors only
-- commented out snort.process() and snort.reload_hosts() for alpha 1
+-- codec fix from Josh
+-- prevent repeated small chunk length alerts from HI
126
-- pulled latest from tom
uint32_t iDataLen = 0;
uint32_t chunkBytesCopied = 0;
uint8_t stateless_chunk_count = 0;
+ bool alerted = false;
if(!start || !end)
return HI_INVALID_ARG;
(*chunk_count)++;
if ( *chunk_count >= session->server_conf->small_chunk_length.num )
{
- SnortEventqAdd(gid, sid);
+ if ( !alerted )
+ {
+ SnortEventqAdd(gid, sid);
+ alerted = true;
+ }
*chunk_count = 0;
}
}