/dports/security/suricata/suricata-6.0.4/src/ |
H A D | app-layer-htp-file.c | 430 uint8_t httpbuf3[] = "-----------------------------277531038314945\r\n" in HTPFileParserTest02() local 434 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPFileParserTest02() 507 uint8_t httpbuf3[] = "-----------------------------277531038314945\r\n" in HTPFileParserTest03() local 511 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPFileParserTest03() 603 uint8_t httpbuf3[] = "-----------------------------277531038314945\r\n" in HTPFileParserTest04() local 607 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPFileParserTest04() 963 uint8_t httpbuf3[] = "-----------------------------277531038314945\r\n" in HTPFileParserTest09() local 967 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPFileParserTest09() 1043 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPFileParserTest10() 1144 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPFileParserTest11() [all …]
|
H A D | detect-engine-state.c | 411 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DeStateSigTest01() 461 STREAM_TOSERVER, httpbuf3, httplen3); in DeStateSigTest01() 491 uint8_t httpbuf3[] = "Cookie: dummy\r\n\r\n"; in DeStateSigTest02() local 495 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DeStateSigTest02() 552 STREAM_TOSERVER, httpbuf3, httplen3); in DeStateSigTest02() 1009 uint8_t httpbuf3[] = "content\r\n" in DeStateSigTest08() local 1011 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DeStateSigTest08() 1132 uint8_t httpbuf3[] = "content\r\n" in DeStateSigTest09() local 1134 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DeStateSigTest09() 1253 uint8_t httpbuf3[] = "content\r\n" in DeStateSigTest10() local [all …]
|
H A D | detect-pcre.c | 2752 uint8_t httpbuf3[] = "Cookie: dummy\r\n\r\n"; in DetectPcreTxBodyChunksTest01() local 2756 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectPcreTxBodyChunksTest01() 2797 STREAM_TOSERVER, httpbuf3, httplen3); in DetectPcreTxBodyChunksTest01() 2863 uint8_t httpbuf3[] = "Cookie: dummy\r\n\r\n"; in DetectPcreTxBodyChunksTest02() local 2867 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectPcreTxBodyChunksTest02() 2933 STREAM_TOSERVER, httpbuf3, httplen3); in DetectPcreTxBodyChunksTest02() 3038 uint8_t httpbuf3[] = "Cookie: dummy\r\n\r\n"; in DetectPcreTxBodyChunksTest03() local 3042 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectPcreTxBodyChunksTest03() 3108 STREAM_TOSERVER, httpbuf3, httplen3); in DetectPcreTxBodyChunksTest03()
|
H A D | app-layer-htp.c | 3632 uint8_t httpbuf3[] = "ata is c0oL!"; in HTPParserTest05() local 3633 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPParserTest05() 3675 STREAM_TOSERVER | STREAM_EOF, httpbuf3, httplen3); in HTPParserTest05() 6490 uint8_t httpbuf3[] = "STILLNOTHTTP\r\nSOMEMOREOTHERDATA"; in HTPParserTest20() local 6491 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPParserTest20() 6518 STREAM_TOCLIENT | STREAM_START, httpbuf3, in HTPParserTest20() 6552 uint8_t httpbuf3[] = "STILLNOTHTTP\r\nSOMEMOREOTHERDATA"; in HTPParserTest21() local 6553 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPParserTest21() 6580 STREAM_TOCLIENT | STREAM_START, httpbuf3, in HTPParserTest21() 6913 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in HTPParserTest26() [all …]
|
H A D | stream-tcp-reassemble.c | 2863 uint8_t httpbuf3[] = "O"; in StreamTcpReassembleTest40() local 2864 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in StreamTcpReassembleTest40() 2908 p->payload = httpbuf3; in StreamTcpReassembleTest40()
|
/dports/security/suricata/suricata-6.0.4/src/tests/ |
H A D | detect-http-client-body.c | 1880 uint8_t httpbuf3[] = "Cookie: dummy\r\n\r\n"; in DetectHttpClientBodyTest14() local 1884 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpClientBodyTest14() 1973 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpClientBodyTest14() 2105 uint8_t httpbuf3[] = "Cookie: dummy\r\n\r\n"; in DetectHttpClientBodyTest15() local 2109 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpClientBodyTest15() 2197 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpClientBodyTest15()
|
H A D | detect-http-server-body.c | 6688 uint8_t httpbuf3[] = "GET /index2.html HTTP/1.1\r\n" in DetectHttpServerBodyTest14() local 6693 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpServerBodyTest14() 6779 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpServerBodyTest14() 6860 uint8_t httpbuf3[] = "GET /index2.html HTTP/1.1\r\n" in DetectHttpServerBodyTest15() local 6865 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpServerBodyTest15() 6947 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpServerBodyTest15() 8785 uint8_t httpbuf3[] = "GET /index2.html HTTP/1.1\r\n" in DetectHttpServerBodyFileDataTest09() local 8790 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpServerBodyFileDataTest09() 8868 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpServerBodyFileDataTest09() 8945 uint8_t httpbuf3[] = "GET /index2.html HTTP/1.1\r\n" in DetectHttpServerBodyFileDataTest10() local [all …]
|
H A D | detect-http-user-agent.c | 2770 uint8_t httpbuf3[] = "User-Agent: Body one!!\r\n\r\n"; in DetectHttpUATest14() local 2773 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpUATest14() 2860 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpUATest14()
|
H A D | detect-http-host.c | 3545 uint8_t httpbuf3[] = "Host: Body one!!\r\n\r\n"; in DetectHttpHHTest14() local 3548 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpHHTest14() 3635 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpHHTest14() 5426 uint8_t httpbuf3[] = "Host: Body one!!\r\n\r\n"; in DetectHttpHRHTest14() local 5429 uint32_t httplen3 = sizeof(httpbuf3) - 1; /* minus the \0 */ in DetectHttpHRHTest14() 5516 STREAM_TOSERVER, httpbuf3, httplen3); in DetectHttpHRHTest14()
|