/dports/security/suricata/suricata-6.0.4/src/ |
H A D | app-layer-htp-file.c | 392 httplen1); in HTPFileParserTest01() 457 httplen1); in HTPFileParserTest02() 539 httplen1); in HTPFileParserTest03() 635 httplen1); in HTPFileParserTest04() 721 httplen1); in HTPFileParserTest05() 796 httplen1); in HTPFileParserTest06() 861 httplen1); in HTPFileParserTest07() 922 httplen1); in HTPFileParserTest08() 990 httplen1); in HTPFileParserTest09() 1066 httplen1); in HTPFileParserTest10() [all …]
|
H A D | detect-uricontent.c | 231 httplen1); in HTTPUriTest01() 302 httplen1); in HTTPUriTest02() 373 httplen1); in HTTPUriTest03() 445 httplen1); in HTTPUriTest04() 532 p = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in DetectUriSigTest02() 648 p = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in DetectUriSigTest03() 985 p = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in DetectUriSigTest05() 993 UTHAddStreamToFlow(f, 0, httpbuf1, httplen1); in DetectUriSigTest05() 1064 p = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in DetectUriSigTest06() 1072 UTHAddStreamToFlow(f, 0, httpbuf1, httplen1); in DetectUriSigTest06() [all …]
|
H A D | app-layer-htp.c | 3223 for (u = 0; u < httplen1; u++) { in HTPParserTest01() 3280 httpbuf1, httplen1); in HTPParserTest01b() 3324 for (u = 0; u < httplen1; u++) { in HTPParserTest01c() 3384 for (u = 0; u < httplen1; u++) { in HTPParserTest01a() 3520 for (u = 0; u < httplen1; u++) { in HTPParserTest03() 3817 for (u = 0; u < httplen1; u++) { in HTPParserTest07() 4077 for (u = 0; u < httplen1; u++) { in HTPParserTest10() 4169 for (u = 0; u < httplen1; u++) { in HTPParserTest11() 4254 for (u = 0; u < httplen1; u++) { in HTPParserTest12() 4342 for (u = 0; u < httplen1; u++) { in HTPParserTest13() [all …]
|
H A D | detect-engine-state.c | 409 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DeStateSigTest01() local 493 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DeStateSigTest02() local 613 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DeStateSigTest03() local 655 httplen1); in DeStateSigTest03() 733 httpbuf1, httplen1); in DeStateSigTest04() 809 httplen1); in DeStateSigTest05() 886 httplen1); in DeStateSigTest06() 962 httplen1); in DeStateSigTest07() 1059 httplen1); in DeStateSigTest08() 1182 httplen1); in DeStateSigTest09() [all …]
|
H A D | detect-lua.c | 1195 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in LuaMatchTest01() local 1357 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in LuaMatchTest01a() local 1519 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in LuaMatchTest02() local 1535 p1 = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in LuaMatchTest02() 1652 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in LuaMatchTest02a() local 1668 p1 = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in LuaMatchTest02a() 1785 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in LuaMatchTest03() local 1801 p1 = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in LuaMatchTest03() 1918 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in LuaMatchTest03a() local 1934 p1 = UTHBuildPacket(httpbuf1, httplen1, IPPROTO_TCP); in LuaMatchTest03a() [all …]
|
H A D | detect-pcre.c | 1857 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreModifPTest04() local 1962 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreModifPTest05() local 2117 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig09() local 2196 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig10() local 2275 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig11() local 2354 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig12() local 2433 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig13() local 2512 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig14() local 2591 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig15() local 2671 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig16() local [all …]
|
H A D | detect-urilen.c | 637 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectUrilenSigTest01() local 692 STREAM_TOSERVER, httpbuf1, httplen1); in DetectUrilenSigTest01()
|
H A D | stream-tcp-reassemble.c | 2862 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in StreamTcpReassembleTest40() local 2891 p->payload_len = httplen1; in StreamTcpReassembleTest40() 3107 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in StreamTcpReassembleTest47() local 3126 for (cnt=0; cnt < httplen1; cnt++) { in StreamTcpReassembleTest47()
|
/dports/security/suricata/suricata-6.0.4/src/tests/ |
H A D | detect-http-cookie.c | 1866 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest01() local 1920 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest01() 1971 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest02() local 2019 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest02() 2065 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest03() local 2112 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest03() 2158 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest04() local 2206 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest04() 2252 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest05() local 2346 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest06() local [all …]
|
H A D | detect-http-method.c | 1919 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest01() local 1977 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest01() 2022 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest02() local 2080 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest02() 2125 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest03() local 2175 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest03() 2217 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest04() local 2271 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest04()
|
H A D | detect-http-stat-code.c | 2049 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest01() local 2099 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest01() 2152 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest02() local 2208 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest02() 2269 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest03() local 2325 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest03() 2386 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest04() local 2442 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest04()
|
H A D | detect-http-stat-msg.c | 2041 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatMsgSigTest01() local 2097 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatMsgSigTest01() 2157 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatMsgSigTest02() local 2206 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatMsgSigTest02() 2263 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatMsgSigTest03() local 2319 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatMsgSigTest03()
|
H A D | detect-http-client-body.c | 1882 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpClientBodyTest14() local 1936 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpClientBodyTest14() 2107 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpClientBodyTest15() local 2161 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpClientBodyTest15()
|
H A D | detect-http-server-body.c | 6681 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyTest14() local 6747 httplen1); in DetectHttpServerBodyTest14() 6853 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyTest15() local 6917 httplen1); in DetectHttpServerBodyTest15() 8778 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyFileDataTest09() local 8842 httplen1); in DetectHttpServerBodyFileDataTest09() 8938 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyFileDataTest10() local 9002 httplen1); in DetectHttpServerBodyFileDataTest10()
|
H A D | detect-http-user-agent.c | 2771 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpUATest14() local 2824 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpUATest14()
|
H A D | detect-http-host.c | 3546 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpHHTest14() local 3599 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpHHTest14() 5427 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpHRHTest14() local 5480 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpHRHTest14()
|