|
|
|
|
@ -814,7 +814,7 @@ static int UtilActionTest13(void)
|
|
|
|
|
{0, 0, 1},
|
|
|
|
|
{0, 0, 1},
|
|
|
|
|
{0, 0, 1} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop has more
|
|
|
|
|
/* 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();
|
|
|
|
|
@ -889,7 +889,7 @@ static int UtilActionTest14(void)
|
|
|
|
|
{1, 0, 1},
|
|
|
|
|
{1, 0, 1},
|
|
|
|
|
{1, 0, 1} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -958,7 +958,7 @@ static int UtilActionTest15(void)
|
|
|
|
|
{0, 0, 0},
|
|
|
|
|
{0, 0, 0},
|
|
|
|
|
{0, 0, 0} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1022,7 +1022,7 @@ static int UtilActionTest16(void)
|
|
|
|
|
{0, 0, 0},
|
|
|
|
|
{0, 0, 0},
|
|
|
|
|
{0, 0, 0} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1086,7 +1086,7 @@ static int UtilActionTest17(void)
|
|
|
|
|
{0, 0, 0},
|
|
|
|
|
{0, 0, 0},
|
|
|
|
|
{0, 0, 0} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1155,7 +1155,7 @@ static int UtilActionTest18(void)
|
|
|
|
|
{0, 0, 1},
|
|
|
|
|
{0, 0, 1},
|
|
|
|
|
{0, 0, 1} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1230,7 +1230,7 @@ static int UtilActionTest19(void)
|
|
|
|
|
{1, 0, 0},
|
|
|
|
|
{1, 0, 0},
|
|
|
|
|
{1, 0, 0} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1305,7 +1305,7 @@ static int UtilActionTest20(void)
|
|
|
|
|
{0, 1, 0},
|
|
|
|
|
{0, 1, 0},
|
|
|
|
|
{0, 1, 0} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1374,7 +1374,7 @@ static int UtilActionTest21(void)
|
|
|
|
|
{1, 0, 1},
|
|
|
|
|
{1, 0, 1},
|
|
|
|
|
{1, 0, 1} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1449,7 +1449,7 @@ static int UtilActionTest22(void)
|
|
|
|
|
{1, 1, 0},
|
|
|
|
|
{1, 1, 0},
|
|
|
|
|
{1, 1, 0} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
@ -1524,7 +1524,7 @@ static int UtilActionTest23(void)
|
|
|
|
|
{0, 1, 1},
|
|
|
|
|
{0, 1, 1},
|
|
|
|
|
{0, 1, 1} };
|
|
|
|
|
/* All the patckets should match the 3 sigs. As drop
|
|
|
|
|
/* All the packets should match the 3 sigs. As drop
|
|
|
|
|
* and alert have more priority than pass, both should
|
|
|
|
|
* alert on each packet */
|
|
|
|
|
|
|
|
|
|
|