zeek/testing/btest/scripts/base
Arne Welzel cf9fe91705 pop3: Prevent unbounded state growth
The cmds list may grow unbounded due to the POP3 analyzer being in
multiLine mode after seeing `AUTH` in a Redis connection, but never
a `.` terminator. This can easily be provoked by the Redis ping
command.

This adds two heuristics: 1) Forcefully process the oldest commands in
the cmds list and cap it at max_pending_commands. 2) Start raising
analyzer violations if the client has been using more than
max_unknown_client_commands commands (default 10).

Closes #3936
2024-09-18 19:05:39 +02:00
..
files Merge branch 'files_pe_timestamp_sync' of https://github.com/mvhensbergen/zeek 2024-05-29 14:16:31 +01:00
frameworks input/Manager: Improve type checks of record fields with type any 2024-07-19 11:35:54 +02:00
misc Parse and store localversion string 2024-04-17 14:17:22 -07:00
protocols pop3: Prevent unbounded state growth 2024-09-18 19:05:39 +02:00
utils Restore label_names field in MetricOpts record 2024-06-04 14:14:58 -07:00