mtu

Sets the maximum packet length that omudpspoof sends.

This parameter applies to omudpspoof: UDP spoofing output module.

Name:

mtu

Scope:

action

Type:

integer

Default:

1500

Required?:

no

Introduced:

5.1.3

Description

Maximum packet length to send. Messages that do not fit are sent as IP fragments. Messages longer than 65507 bytes, the largest UDP payload an IPv4 datagram can carry, are truncated to that size first. Valid values are 68 (the smallest MTU an IPv4 link must support) to 65535; other values are rejected when the configuration is loaded.

Action usage

action(type="omudpspoof" target="192.0.2.1" mtu="1400")

See also

See also omudpspoof: UDP spoofing output module.


Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2026 Rainer Gerhards and others. Licensed under the Apache License 2.0.