so-reuseport()
Type: 1 (enabled) or 0 (disabled)
Default: 0 (disabled)
so-reuseport() supports both the syslog() and network() sources.
Description: Enables SO_REUSEPORT on systems that support it. When enabled, the kernel allows multiple UDP sockets to be bound to the same port, and the kernel load-balances incoming UDP datagrams to the sockets. The sockets are distributed based on the hash of (srcip, dstip, srcport, dstport), so the same listener should be receiving packets from the same endpoint. For example:
source s_udp {
network(
port("514")
so-reuseport(1)
persist-name("udp_1")
transport("udp")
);
};
© ALL RIGHTS RESERVED. Feedback Nutzungsbedingungen Datenschutz Cookie Preference Center