policy/misc/load-balancing.zeek

LoadBalancing

This script implements the “Zeek side” of several load balancing approaches for Zeek clusters.

Namespace

LoadBalancing

Imports

base/frameworks/cluster, base/frameworks/packet-filter

Summary

Redefinable Options

LoadBalancing::method: LoadBalancing::Method &redef

Defines the method of load balancing to use.

Types

LoadBalancing::Method: enum

Redefinitions

Cluster::Node: record

New Fields

Cluster::Node

lb_filter: string &optional

A BPF filter for load balancing traffic sniffed on a single interface across a number of processes.

Detailed Interface

Redefinable Options

LoadBalancing::method
Type

LoadBalancing::Method

Attributes

&redef

Default

LoadBalancing::AUTO_BPF

Defines the method of load balancing to use.

Types

LoadBalancing::Method
Type

enum

LoadBalancing::AUTO_BPF

Apply BPF filters to each worker in a way that causes them to automatically flow balance traffic between them.