}
/**
- * \brief Build the radix trees from the lists of parsed adresses in CIDR format
+ * \brief Build the radix trees from the lists of parsed addresses in CIDR format
* the result should be 4 radix trees: src/dst ipv4 and src/dst ipv6
* holding SigNumArrays, each of them with a hierarchical relation
* of subnets and hosts
/**
* \brief Add a signature to the lists of Addresses in CIDR format (sorted)
- * this step is necesary to build the radix tree with a hierarchical
+ * this step is necessary to build the radix tree with a hierarchical
* relation between nodes
* \param de_ctx Pointer to the current detection engine context
* \param de_ctx Pointer to the current ip only detection engine contest
}
/**
- * \test check that we dont set a Signature as IPOnly because it has no rule
+ * \test check that we don't set a Signature as IPOnly because it has no rule
* option appending a SigMatch but a port is fixed
*/
}
/**
- * \test check that we set dont set a Signature as IPOnly
+ * \test check that we set don't set a Signature as IPOnly
* because it has rule options appending a SigMatch like content, and pcre
*/
{0, 0, 1},
{0, 0, 1},
{0, 0, 1} };
- /* All the patckets should match the 3 sigs. As drop has more
- * priority than pass, it should alert on each packet */
+ /* All the packets should match the 3 sigs. As drop has more
+ * priority than pass, it should alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{1, 0, 1},
{1, 0, 1},
{1, 0, 1} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{0, 0, 0},
{0, 0, 0},
{0, 0, 0} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{0, 0, 0},
{0, 0, 0},
{0, 0, 0} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{0, 0, 0},
{0, 0, 0},
{0, 0, 0} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{0, 0, 1},
{0, 0, 1},
{0, 0, 1} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{1, 0, 0},
{1, 0, 0},
{1, 0, 0} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{0, 1, 0},
{0, 1, 0},
{0, 1, 0} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{1, 0, 1},
{1, 0, 1},
{1, 0, 1} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{1, 1, 0},
{1, 1, 0},
{1, 1, 0} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)
{0, 1, 1},
{0, 1, 1},
{0, 1, 1} };
- /* All the patckets should match the 3 sigs. As drop
- * and alert have more priority than pass, both should
- * alert on each packet */
+ /* All the packets should match the 3 sigs. As drop
+ * and alert have more priority than pass, both should
+ * alert on each packet */
DetectEngineCtx *de_ctx = DetectEngineCtxInit();
if (de_ctx == NULL)