Home
last modified time | relevance | path

Searched refs:flowflags (Results 1 – 25 of 85) sorted by relevance

1234

/dports/security/suricata/suricata-6.0.4/src/
H A Ddetect-dce-opnum.c649 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceOpnumTestParse01()
1191 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceOpnumTestParse02()
1399 p->flowflags |= FLOW_PKT_TOSERVER;
1437 p->flowflags |= FLOW_PKT_TOSERVER;
1449 p->flowflags |= FLOW_PKT_TOCLIENT;
1463 p->flowflags |= FLOW_PKT_TOSERVER;
1483 p->flowflags |= FLOW_PKT_TOCLIENT;
1501 p->flowflags |= FLOW_PKT_TOSERVER;
1519 p->flowflags |= FLOW_PKT_TOCLIENT;
1537 p->flowflags |= FLOW_PKT_TOSERVER;
[all …]
H A Ddetect-dce-stub-data.c677 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse02()
719 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse02()
740 p->flowflags |= FLOW_PKT_TOCLIENT; in DetectDceStubDataTestParse02()
760 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse02()
1234 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse03()
1265 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse03()
1416 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse04()
1456 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse04()
1476 p->flowflags |= FLOW_PKT_TOCLIENT; in DetectDceStubDataTestParse04()
1492 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceStubDataTestParse04()
[all …]
H A Ddetect-dce-iface.c263 p->flowflags |= FLOW_PKT_TOSERVER; in DetectDceIfaceTestParse1()
470 p->flowflags |= FLOW_PKT_TOSERVER;
507 p->flowflags |= FLOW_PKT_TOSERVER;
526 p->flowflags |= FLOW_PKT_TOCLIENT;
546 p->flowflags |= FLOW_PKT_TOSERVER;
566 p->flowflags |= FLOW_PKT_TOCLIENT;
586 p->flowflags |= FLOW_PKT_TOSERVER;
604 p->flowflags |= FLOW_PKT_TOCLIENT;
622 p->flowflags |= FLOW_PKT_TOSERVER;
640 p->flowflags |= FLOW_PKT_TOCLIENT;
[all …]
H A Ddetect-lua.c349 if (p->flowflags & FLOW_PKT_TOSERVER) in DetectLuaMatch()
1223 p1->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest01()
1227 p2->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest01()
1385 p1->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest01a()
1389 p2->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest01a()
1545 p1->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest02()
1549 p2->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest02()
1678 p1->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest02a()
1682 p2->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest02a()
1811 p1->flowflags |= FLOW_PKT_TOSERVER; in LuaMatchTest03()
[all …]
H A Dapp-layer.c1132 p->flowflags = FLOW_PKT_TOSERVER; in AppLayerTest01()
1194 p->flowflags = FLOW_PKT_TOCLIENT; in AppLayerTest01()
1214 p->flowflags = FLOW_PKT_TOSERVER; in AppLayerTest01()
1246 p->flowflags = FLOW_PKT_TOSERVER; in AppLayerTest02()
1266 p->flowflags = FLOW_PKT_TOCLIENT; in AppLayerTest02()
1298 p->flowflags = FLOW_PKT_TOSERVER; in AppLayerTest02()
1360 p->flowflags = FLOW_PKT_TOCLIENT; in AppLayerTest02()
1380 p->flowflags = FLOW_PKT_TOSERVER; in AppLayerTest02()
1423 p->flowflags = FLOW_PKT_TOSERVER; in AppLayerTest03()
1485 p->flowflags = FLOW_PKT_TOCLIENT; in AppLayerTest03()
[all …]
H A Dutil-validate.h91 BUG_ON((p)->flowflags != 0 && (p)->flow == NULL); \
92 BUG_ON((p)->flowflags & FLOW_PKT_TOSERVER &&\
93 (p)->flowflags & FLOW_PKT_TOCLIENT); \
H A Ddecode.c459 p->flowflags &= ~FLOW_PKT_TOSERVER; in PacketSwap()
460 p->flowflags |= FLOW_PKT_TOCLIENT; in PacketSwap()
462 if (p->flowflags & FLOW_PKT_TOSERVER_FIRST) { in PacketSwap()
463 p->flowflags &= ~FLOW_PKT_TOSERVER_FIRST; in PacketSwap()
464 p->flowflags |= FLOW_PKT_TOCLIENT_FIRST; in PacketSwap()
467 p->flowflags &= ~FLOW_PKT_TOCLIENT; in PacketSwap()
468 p->flowflags |= FLOW_PKT_TOSERVER; in PacketSwap()
470 if (p->flowflags & FLOW_PKT_TOCLIENT_FIRST) { in PacketSwap()
471 p->flowflags &= ~FLOW_PKT_TOCLIENT_FIRST; in PacketSwap()
472 p->flowflags |= FLOW_PKT_TOSERVER_FIRST; in PacketSwap()
/dports/security/suricata/suricata-6.0.4/src/tests/
H A Ddetect-http-stat-msg.c81 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatMsgTest01()
82 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpStatMsgTest01()
85 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatMsgTest01()
86 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpStatMsgTest01()
205 p1->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatMsgTest02()
321 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatMsgTest03()
325 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatMsgTest03()
458 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatMsgTest04()
462 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatMsgTest04()
584 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatMsgTest05()
[all …]
H A Ddetect-http-header.c164 p->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest06()
165 p->flowflags |= FLOW_PKT_ESTABLISHED; in DetectHttpHeaderTest06()
267 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest07()
271 p2->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest07()
361 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest08()
365 p2->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest08()
487 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest09()
491 p2->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest09()
736 p->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest11()
834 p->flowflags |= FLOW_PKT_TOSERVER; in DetectHttpHeaderTest12()
[all …]
H A Ddetect-http-stat-code.c81 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatCodeTest01()
82 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpStatCodeTest01()
85 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatCodeTest01()
86 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpStatCodeTest01()
205 p1->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatCodeTest02()
321 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatCodeTest03()
325 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatCodeTest03()
458 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatCodeTest04()
462 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpStatCodeTest04()
584 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpStatCodeTest05()
[all …]
H A Ddetect-http-server-body.c197 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpServerBodyTest01()
201 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpServerBodyTest01()
321 p1->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpServerBodyTest02()
437 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpServerBodyTest03()
441 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpServerBodyTest03()
574 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpServerBodyTest04()
578 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpServerBodyTest04()
700 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpServerBodyTest05()
704 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectEngineHttpServerBodyTest05()
826 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpServerBodyTest06()
[all …]
H A Ddetect-http-raw-header.c123 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest01()
124 p->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpRawHeaderTest01()
216 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest02()
309 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest03()
402 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest04()
495 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest05()
588 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest06()
681 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest07()
774 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest08()
867 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpRawHeaderTest09()
[all …]
H A Ddetect-tls-cert-validity.c613 p1->flowflags |= FLOW_PKT_TOSERVER; in ValidityTestDetect01()
614 p1->flowflags |= FLOW_PKT_ESTABLISHED; in ValidityTestDetect01()
619 p2->flowflags |= FLOW_PKT_TOCLIENT; in ValidityTestDetect01()
620 p2->flowflags |= FLOW_PKT_ESTABLISHED; in ValidityTestDetect01()
625 p3->flowflags |= FLOW_PKT_TOCLIENT; in ValidityTestDetect01()
943 p1->flowflags |= FLOW_PKT_TOSERVER; in ExpiredTestDetect01()
949 p2->flowflags |= FLOW_PKT_TOCLIENT; in ExpiredTestDetect01()
955 p3->flowflags |= FLOW_PKT_TOCLIENT; in ExpiredTestDetect01()
1251 p1->flowflags |= FLOW_PKT_TOSERVER; in ValidTestDetect01()
1257 p2->flowflags |= FLOW_PKT_TOCLIENT; in ValidTestDetect01()
[all …]
H A Ddetect-http-uri.c70 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig01()
71 p->flowflags |= FLOW_PKT_ESTABLISHED; in UriTestSig01()
192 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig02()
314 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig03()
436 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig04()
558 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig05()
680 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig06()
802 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig07()
924 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig08()
1046 p->flowflags |= FLOW_PKT_TOSERVER; in UriTestSig09()
[all …]
H A Ddetect-http-cookie.c82 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest01()
83 p->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpCookieTest01()
177 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest02()
272 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest03()
367 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest04()
462 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest05()
557 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest06()
652 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest07()
747 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest08()
842 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpCookieTest09()
[all …]
H A Ddetect-tls-cert-issuer.c286 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsIssuerTest02()
287 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsIssuerTest02()
292 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsIssuerTest02()
293 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsIssuerTest02()
298 p3->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsIssuerTest02()
299 p3->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsIssuerTest02()
H A Ddetect-tls-certs.c285 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsCertsTest02()
286 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsCertsTest02()
291 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsCertsTest02()
292 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsCertsTest02()
297 p3->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsCertsTest02()
298 p3->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsCertsTest02()
H A Ddetect-tls-cert-fingerprint.c287 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsFingerprintTest02()
288 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsFingerprintTest02()
293 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsFingerprintTest02()
294 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsFingerprintTest02()
299 p3->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsFingerprintTest02()
300 p3->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsFingerprintTest02()
H A Ddetect-tls-cert-serial.c285 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsSerialTest02()
286 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsSerialTest02()
291 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsSerialTest02()
292 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsSerialTest02()
297 p3->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsSerialTest02()
298 p3->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsSerialTest02()
H A Ddetect-tls-cert-subject.c286 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsSubjectTest02()
287 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsSubjectTest02()
292 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsSubjectTest02()
293 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsSubjectTest02()
298 p3->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsSubjectTest02()
299 p3->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsSubjectTest02()
H A Ddetect-http-method.c77 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest01()
78 p->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpMethodTest01()
171 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest02()
265 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest03()
359 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest04()
453 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest05()
547 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest06()
641 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest07()
735 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest08()
829 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpMethodTest09()
[all …]
H A Ddetect-http-host.c78 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest01()
79 p->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpHHTest01()
177 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest02()
276 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest03()
375 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest04()
474 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest05()
573 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest06()
672 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest07()
771 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest08()
870 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpHHTest09()
[all …]
H A Ddetect-http-user-agent.c77 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest01()
78 p->flowflags |= FLOW_PKT_ESTABLISHED; in DetectEngineHttpUATest01()
176 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest02()
275 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest03()
374 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest04()
473 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest05()
572 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest06()
671 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest07()
770 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest08()
869 p->flowflags |= FLOW_PKT_TOSERVER; in DetectEngineHttpUATest09()
[all …]
H A Ddetect-tls-ja3s-hash.c109 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsJa3SHashTest01()
110 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsJa3SHashTest01()
115 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsJa3SHashTest01()
116 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsJa3SHashTest01()
H A Ddetect-tls-ja3s-string.c102 p1->flowflags |= FLOW_PKT_TOSERVER; in DetectTlsJa3SStringTest01()
103 p1->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsJa3SStringTest01()
108 p2->flowflags |= FLOW_PKT_TOCLIENT; in DetectTlsJa3SStringTest01()
109 p2->flowflags |= FLOW_PKT_ESTABLISHED; in DetectTlsJa3SStringTest01()

1234