zeek/testing/btest/scripts/base/protocols/pop3
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
..
basic.zeek btest/pop3: Add somewhat more elaborate testing 2024-09-18 17:31:13 +02:00
redis.zeek pop3: Prevent unbounded state growth 2024-09-18 19:05:39 +02:00
starttls.zeek Remove @load base/frameworks/dpd from tests 2022-08-31 17:00:55 +02:00