zeek/scripts/base
Christian Kreibich 446f49e6bc Switch Broker's default backpressure policy to drop_oldest, bump buffer sizes
At every site where we've dug into backpressure disconnect findings, it has been
the case that the default values were too small. 8192, so 4x the old default,
suffices at every site to drown out premature disconnects.

With metrics now available for the send buffers regardless of backpressure
overflow policy, this also switches the default from "disconnect" to
"drop_oldest" (for both peers and websockets), meaning that peerings remain
untouched but the oldest queued message simply gets dropped when a new message
is enqueued. With this policy, the number of backpressure overflows is then
simply the count of discarded messages, something that users can tune to see
drop to zero in everyday use.  Another benefit is that marginal overflows cause
less message loss than when an entire buffer's worth (plus potentially more
in-flight messages) gets thrown out with a disconnect.

(cherry picked from commit 841a40ff88)
2025-04-29 16:47:13 -07:00
..
files Copy timestamp from file object 2024-05-17 15:03:06 +02:00
frameworks Switch Broker's default backpressure policy to drop_oldest, bump buffer sizes 2025-04-29 16:47:13 -07:00
misc Remove unneeded @loads from base/misc/version.zeek 2025-04-08 15:09:44 -07:00
packet-protocols Merge remote-tracking branch 'origin/topic/timw/vntag-in-vlan' 2025-03-18 16:18:13 -07:00
protocols Update mozilla-ca-list.zeek and ct-list.zeek to NSS 3.109 2025-03-18 17:59:01 -07:00
utils Clarify membership in the Site::private_address_space prefix list. [skip ci] 2024-05-04 11:21:26 -07:00
init-bare.zeek Add peer buffer update tracking to the Broker manager's event_observer 2025-04-29 15:08:05 -07:00
init-default.zeek utils: Introduce packages.zeek with can_load() helper 2024-02-22 11:41:50 +01:00
init-frameworks-and-bifs.zeek Minor comment tweaks for init-frameworks-and-bifs.zeek 2025-04-08 14:50:28 -07:00
init-supervisor.zeek Establish a separate init script when using the supervisor 2021-07-08 13:12:53 -07:00