zeek/testing/btest/Traces/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 Only allow a single trace file (-r) or interface (-i) option on the command-line 2020-01-31 09:34:54 -07:00
4in4.pcap Refactor IP-in-IP tunnel support. 2012-04-23 13:15:29 -05:00
4in6.pcap Refactor IP-in-IP tunnel support. 2012-04-23 13:15:29 -05:00
6in4.pcap Refactor IP-in-IP tunnel support. 2012-04-23 13:15:29 -05:00
6in6-tunnel-change.pcap Refactor IP-in-IP tunnel support. 2012-04-23 13:15:29 -05:00
6in6.pcap Refactor IP-in-IP tunnel support. 2012-04-23 13:15:29 -05:00
6in6in6.pcap Refactor IP-in-IP tunnel support. 2012-04-23 13:15:29 -05:00
ayiya3.trace Add AYIYA tunnel decapsulation unit test. 2012-06-05 15:17:27 -05:00
geneve.pcap Add basic testing for Geneve protocol analyzer 2021-04-27 11:21:29 +02:00
geneve.README Add basic testing for Geneve protocol analyzer 2021-04-27 11:21:29 +02:00
gre-aruba.pcap GH-1125: Support GRE ARUBA headers 2021-12-09 14:58:09 -07:00
gre-erspan3-dot1q.pcap GH-887: improve GRE/ERSPAN parsing of non-IPv4/IPv6 inner payload 2020-03-27 15:22:00 -07:00
gre-pptp.pcap BIT-1798: fix PPTP GRE tunnel decapsulation 2018-08-14 16:48:04 -05:00
gre-sample.pcap BIT-867 - Support GRE tunnel decapsulation. 2014-01-16 16:03:04 -06:00
gre-within-gre.pcap BIT-867 - Support GRE tunnel decapsulation. 2014-01-16 16:03:04 -06:00
mpls-6in6-6in6-4in6-invalid-version-4.pcap Fix OOB read in Sessions.cc 2017-10-19 10:29:29 -07:00
mpls-6in6-6in6-invalid-version-6.pcap Fix OOB read in Sessions.cc 2017-10-19 10:29:29 -07:00
ping6-in-ipv4.pcap Fix for IP tunnel UID persistence. 2012-04-27 10:28:46 -05:00
socks.pcap Adding a SOCKS test case. 2012-06-15 16:01:59 -07:00
teredo-udp-in-udp.pcap Fix crash in Analyzer::ForwardPacket due to recursive analyzer calls. 2021-03-25 08:45:38 -07:00
Teredo.pcap Add Teredo-specific events. 2012-06-05 15:07:56 -05:00
teredo_bubble_with_payload.pcap Make Teredo bubble packet parsing more lenient. 2012-06-19 12:59:38 -05:00
vxlan-encapsulated-http.pcap packet_analysis: Do not raise analyzer_confirmation per-packet for tunnels 2022-09-27 12:49:56 +02:00
vxlan.pcap GH-250: Improve/cleanup VXLAN decapsulation support 2019-03-12 18:15:34 -07:00