IpFreeBind¶
Controls Linux IP_FREEBIND
socket option for nonlocal binds.
This parameter applies to imudp: UDP Syslog Input Module.
- Name:
IpFreeBind
- Scope:
input
- Type:
integer
- Default:
input=2
- Required?:
no
- Introduced:
8.18.0
Description¶
Manages the IP_FREEBIND
option on the UDP socket, which allows binding it to
an IP address that is nonlocal or not (yet) associated to any network interface.
The parameter accepts the following values:
0 - does not enable the
IP_FREEBIND
option on the UDP socket. If thebind()
call fails because ofEADDRNOTAVAIL
error, socket initialization fails.1 - silently enables the
IP_FREEBIND
socket option if it is required to successfully bind the socket to a nonlocal address.2 - enables the
IP_FREEBIND
socket option and warns when it is used to successfully bind the socket to a nonlocal address.
Input usage¶
input(type="imudp" IpFreeBind="...")
See also¶
See also imudp: UDP Syslog Input Module.
Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project
Contributing: Source & docs: rsyslog source project
© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.