/dports/security/suricata/suricata-6.0.4/src/ |
H A D | app-layer-htp-file.c | 361 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest01() local 417 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest02() local 494 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest03() local 590 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest04() local 685 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest05() local 760 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest06() local 836 uint8_t httpbuf1[] = "POST /filename HTTP/1.1\r\n" in HTPFileParserTest07() local 892 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest08() local 950 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest09() local 1028 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in HTPFileParserTest10() local [all …]
|
H A D | detect-uricontent.c | 230 httpbuf1, in HTTPUriTest01() 301 httpbuf1, in HTTPUriTest02() 372 httpbuf1, in HTTPUriTest03() 444 httpbuf1, 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 | detect-engine-state.c | 405 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\n"; in DeStateSigTest01() local 489 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DeStateSigTest02() local 602 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in DeStateSigTest03() local 654 httpbuf1, in DeStateSigTest03() 684 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in DeStateSigTest04() local 733 httpbuf1, httplen1); in DeStateSigTest04() 759 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in DeStateSigTest05() local 808 httpbuf1, in DeStateSigTest05() 835 uint8_t httpbuf1[] = "POST /upload.cgi HTTP/1.1\r\n" in DeStateSigTest06() local 885 httpbuf1, in DeStateSigTest06() [all …]
|
H A D | app-layer-htp.c | 3280 httpbuf1, httplen1); in HTPParserTest01b() 3439 uint8_t httpbuf1[] = "POST"; in HTPParserTest02() local 4902 uint8_t httpbuf1[] = in HTPParserDecodingTest01() local 5069 uint8_t httpbuf1[] = in HTPParserDecodingTest02() local 5237 uint8_t httpbuf1[] = in HTPParserDecodingTest03() local 5375 uint8_t httpbuf1[] = in HTPParserDecodingTest04() local 5485 uint8_t httpbuf1[] = in HTPParserDecodingTest05() local 5595 uint8_t httpbuf1[] = in HTPParserDecodingTest06() local 5705 uint8_t httpbuf1[] = in HTPParserDecodingTest07() local 5816 uint8_t httpbuf1[] = in HTPParserDecodingTest08() local [all …]
|
H A D | detect-lua.c | 1189 uint8_t httpbuf1[] = in LuaMatchTest01() local 1353 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n" in LuaMatchTest01a() local 1515 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n" in LuaMatchTest02() local 1648 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n" in LuaMatchTest02a() local 1781 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n" in LuaMatchTest03() local 1914 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n" in LuaMatchTest03a() local 2197 uint8_t httpbuf1[] = in LuaMatchTest04a() local 2345 uint8_t httpbuf1[] = in LuaMatchTest05() local 2493 uint8_t httpbuf1[] = in LuaMatchTest05a() local 2647 uint8_t httpbuf1[] = in LuaMatchTest06() local [all …]
|
H A D | detect-pcre.c | 1831 uint8_t httpbuf1[] = in DetectPcreModifPTest04() local 1857 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreModifPTest04() 1935 uint8_t httpbuf1[] = in DetectPcreModifPTest05() local 1962 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreModifPTest05() 2117 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectPcreTestSig09() 2750 uint8_t httpbuf1[] = "GET / HTTP/1.1\r\n"; in DetectPcreTxBodyChunksTest01() local 2861 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectPcreTxBodyChunksTest02() local 3036 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectPcreTxBodyChunksTest03() local 3192 uint8_t httpbuf1[] = in DetectPcreFlowvarCapture01() local 3293 uint8_t httpbuf1[] = in DetectPcreFlowvarCapture02() local [all …]
|
H A D | detect-urilen.c | 634 uint8_t httpbuf1[] = "POST /suricata HTTP/1.0\r\n" in DetectUrilenSigTest01() local 637 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectUrilenSigTest01() 692 STREAM_TOSERVER, httpbuf1, httplen1); in DetectUrilenSigTest01()
|
H A D | stream-tcp-reassemble.c | 2861 uint8_t httpbuf1[] = "P"; in StreamTcpReassembleTest40() local 2862 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in StreamTcpReassembleTest40() 2890 p->payload = httpbuf1; in StreamTcpReassembleTest40() 3106 uint8_t httpbuf1[] = "GET /EVILSUFF HTTP/1.1\r\n\r\n"; in StreamTcpReassembleTest47() local 3107 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in StreamTcpReassembleTest47() 3132 p->payload = &httpbuf1[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() 1920 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest01() 1971 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest02() 2019 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest02() 2065 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest03() 2112 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest03() 2158 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest04() 2206 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpCookieSigTest04() 2252 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest05() 2346 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpCookieSigTest06() [all …]
|
H A D | detect-http-method.c | 1916 uint8_t httpbuf1[] = "GET / HTTP/1.0\r\n" in DetectHttpMethodSigTest01() local 1919 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest01() 1977 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest01() 2019 uint8_t httpbuf1[] = "FOO / HTTP/1.0\r\n" in DetectHttpMethodSigTest02() local 2022 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest02() 2080 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest02() 2124 uint8_t httpbuf1[] = " "; in DetectHttpMethodSigTest03() local 2125 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpMethodSigTest03() 2175 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpMethodSigTest03() 2214 uint8_t httpbuf1[] = "GET / HTTP/1.0\r\n" in DetectHttpMethodSigTest04() local [all …]
|
H A D | detect-http-stat-code.c | 2048 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\nUser-Agent: Mozilla/1.0\r\n\r\n"; in DetectHttpStatCodeSigTest01() local 2049 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest01() 2099 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest01() 2151 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\nUser-Agent: Mozilla/1.0\r\n\r\n"; in DetectHttpStatCodeSigTest02() local 2152 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest02() 2208 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest02() 2268 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\nUser-Agent: Mozilla/1.0\r\n\r\n"; in DetectHttpStatCodeSigTest03() local 2269 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest03() 2325 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatCodeSigTest03() 2386 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatCodeSigTest04() [all …]
|
H A D | detect-http-stat-msg.c | 2040 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\nUser-Agent: Mozilla/1.0\r\n\r\n"; in DetectHttpStatMsgSigTest01() local 2041 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatMsgSigTest01() 2097 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatMsgSigTest01() 2156 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\nUser-Agent: Mozilla/1.0\r\n\r\n"; in DetectHttpStatMsgSigTest02() local 2157 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatMsgSigTest02() 2206 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatMsgSigTest02() 2262 uint8_t httpbuf1[] = "POST / HTTP/1.0\r\nUser-Agent: Mozilla/1.0\r\n\r\n"; in DetectHttpStatMsgSigTest03() local 2263 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpStatMsgSigTest03() 2319 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpStatMsgSigTest03()
|
H A D | detect-http-client-body.c | 1878 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectHttpClientBodyTest14() local 1882 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpClientBodyTest14() 1936 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpClientBodyTest14() 2103 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectHttpClientBodyTest15() local 2107 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpClientBodyTest15() 2161 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpClientBodyTest15()
|
H A D | detect-http-server-body.c | 6676 uint8_t httpbuf1[] = "GET /index1.html HTTP/1.1\r\n" in DetectHttpServerBodyTest14() local 6681 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyTest14() 6746 STREAM_TOSERVER | STREAM_START, httpbuf1, in DetectHttpServerBodyTest14() 6848 uint8_t httpbuf1[] = "GET /index1.html HTTP/1.1\r\n" in DetectHttpServerBodyTest15() local 6853 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyTest15() 6916 STREAM_TOSERVER | STREAM_START, httpbuf1, in DetectHttpServerBodyTest15() 8773 uint8_t httpbuf1[] = "GET /index1.html HTTP/1.1\r\n" in DetectHttpServerBodyFileDataTest09() local 8778 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpServerBodyFileDataTest09() 8841 STREAM_TOSERVER | STREAM_START, httpbuf1, in DetectHttpServerBodyFileDataTest09() 8933 uint8_t httpbuf1[] = "GET /index1.html HTTP/1.1\r\n" in DetectHttpServerBodyFileDataTest10() local [all …]
|
H A D | detect-http-user-agent.c | 2768 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectHttpUATest14() local 2771 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpUATest14() 2824 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpUATest14()
|
H A D | detect-http-host.c | 3543 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectHttpHHTest14() local 3546 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpHHTest14() 3599 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpHHTest14() 5424 uint8_t httpbuf1[] = "POST / HTTP/1.1\r\n"; in DetectHttpHRHTest14() local 5427 uint32_t httplen1 = sizeof(httpbuf1) - 1; /* minus the \0 */ in DetectHttpHRHTest14() 5480 STREAM_TOSERVER, httpbuf1, httplen1); in DetectHttpHRHTest14()
|