zeek/testing/btest/scripts/base/protocols/http
Johanna Amann af77a7a83b Analyzer failure logging: tweaks and test fixes
The main part of this commit are changes in tests. A lot of the tests
that previously relied on analyzer.log or dpd.log now use the new
analyzer-failed.log.

I verified all the changes and, as far as I can tell, everything
behaves as it should. This includes the external test baselines.

This change also enables logging of file and packet analyzer to
analyzer_failed.log and fixes some small behavior issues.

The analyzer_failed event is no longer raised when the removal of an
analyzer is vetoed.

If an analyzer is no longer active when an analyzer violation is raised,
currently the analyzer_failed event is raised. This can, e.g., happen
when an analyzer error happens at the very end of the connection. This
makes the behavior more similar to what happened in the past, and also
intuitively seems to make sense.

A bug introduced in the failed service logging was fixed.
2025-06-03 15:56:42 +01:00
..
100-continue.zeek 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
101-switching-protocols.zeek Analyzer failure logging: tweaks and test fixes 2025-06-03 15:56:42 +01:00
all-headers-event.zeek Add tests for {http,mime}_all_headers events 2019-08-13 11:28:00 -07:00
bad-content-range.zeek HTTP: Make Content-Range parsing more robust 2023-03-13 18:00:39 +01:00
build-url.zeek Merge branch 'Fix_http_build_url' of ssh://github.com/Olerdrive/zeek 2019-10-28 09:32:32 +00:00
concurrent-range-requests.zeek files.log: Unroll and introduce uid and id fields 2022-08-16 17:22:20 +02:00
content-range-gap-skip.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
content-range-gap.zeek Update btest-diff calls on binary files to using "--binary" 2020-12-06 20:19:52 -08:00
content-range-less-than-len.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
curl-http-09.zeek http: Heuristic around rejecting malformed HTTP/0.9 traffic 2022-11-18 18:19:58 +01:00
deeply-nested-mime.zeek MIME: Cap nested MIME analysis depth to 100 2024-01-17 10:18:13 -07:00
entity-gap.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
entity-gap2.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
fake-content-length.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
flip-content-line-orig.zeek HTTP: Implement FlipRoles() 2024-07-04 11:38:33 +02:00
flip-content-line-resp.zeek HTTP: Implement FlipRoles() 2024-07-04 11:38:33 +02:00
http-09-content-length-confusion.zeek HTTP: Reset reply_message for HTTP/0.9 2023-03-13 14:13:50 +01:00
http-09.zeek http: Heuristic around rejecting malformed HTTP/0.9 traffic 2022-11-18 18:19:58 +01:00
http-11-request-then-cruft.pcap Analyzer failure logging: tweaks and test fixes 2025-06-03 15:56:42 +01:00
http-bad-request-with-version.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
http-basic-auth-colon.zeek http: fix password capture when enabled 2024-08-28 21:44:39 +02:00
http-basic-auth-extra-space.zeek Merge branch 'master' of https://github.com/progmboy/zeek 2023-06-27 18:21:34 +02:00
http-connect-with-header.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
http-connect.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00
http-desynched.zeek http: Prevent request/response de-synchronization and unbounded state growth 2023-08-28 15:02:58 +02:00
http-dpd-large-req.zeek btest: Remove unnecessary loading of frameworks/dpd 2022-08-31 16:50:37 +02:00
http-filename.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
http-header-crlf.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
http-lower-case.zeek Ignore case when matching prefix in http analyzer 2025-04-25 10:33:11 -07:00
http-methods.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
http-no-crlf.zeek http: Prevent script errors when http$current_entity is not set 2022-09-26 10:18:24 +02:00
http-pending-state-growth.zeek http: Prevent request/response de-synchronization and unbounded state growth 2023-08-28 15:02:58 +02:00
http-pipelining.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
missing-http-entity.zeek http: Prevent script errors when http$current_entity is not set 2022-09-26 10:18:24 +02:00
missing-zlib-header.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
multipart-body-length.zeek Spelling testing 2022-11-16 20:05:03 -05:00
multipart-extract.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
multipart-file-limit.zeek updates for gen-C++ maintenance, including skipping some inappropriate tests 2022-08-01 16:47:17 -07:00
no-uri.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
no-version.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
percent-end-of-line.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
upgrade-to-tcp.zeek btest/http: Demo StreamEvent analyzer with HTTP::upgrade_analyzers 2024-12-06 16:12:40 +01:00
version-mismatch.zeek testing/http: Add pcap extracted from m5-long external test-suite 2023-01-26 19:59:39 +01:00
x-gzip.zeek General btest cleanup 2020-08-11 11:26:22 -07:00
zero-length-bodies-with-drops.zeek 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