zeek/testing/btest/core/tunnels
Arne Welzel 3a320fc6b6 packet_analysis: Do not raise analyzer_confirmation per-packet for tunnels
There's a logic error in the packet analyzer's AnalyzerConfirmation()
method that causes analyzer_confirmation() events to be raised for every
packet rather than stopping after the first confirmation which appears to
have been the intention. This affects, for example, VXLAN and Geneve tunnels.

The optional arg_tag parameter was used for short-circuit'ing, but the return
value of GetAnalyzerTag() used for setting the session state causing the
disconnect.

In scenarios where Zeek receives purely tunneled monitoring traffic, this may
result in a non-negligible performance impact.

Somewhat related, ensure the session state is set to violated before
short-circuiting if no analyzer_violations are installed.

Suggesting this as a 5.0.3 candidate.
2022-09-27 12:49:56 +02:00
..
gtp Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
analyzer-confirmation.zeek packet_analysis: Do not raise analyzer_confirmation per-packet for tunnels 2022-09-27 12:49:56 +02:00
ayiya.test Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
geneve.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
gre-aruba.zeek GH-1125: Support GRE ARUBA headers 2021-12-09 14:58:09 -07:00
gre-erspan3-dot1q.zeek GH-1019: deprecate icmp_conn params for ICMP events 2020-07-10 11:06:28 -07:00
gre-in-gre.test General btest cleanup 2020-08-11 11:26:22 -07:00
gre-pptp.test Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
gre.test Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
ip-in-ip-version.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
ip-in-ip.test GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
ip-tunnel-uid.test GH-239: Rename bro to zeek, bro-config to zeek-config, and bro-path-dev to zeek-path-dev. 2019-05-01 21:43:45 +00:00
teredo-known-services.test Remove no-op false-teredo test 2021-11-05 15:51:22 -07:00
teredo-udp-in-udp.zeek Fix crash in Analyzer::ForwardPacket due to recursive analyzer calls. 2021-03-25 08:45:38 -07:00
teredo.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
teredo_bubble_with_payload.test Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
vxlan.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00