Kerülő megoldás (CNA)
Restrict network reachability to the RELP service port using firewall rules so that only authorized systems can establish connections, or switch to an alternate authentication mode such as "fingerprint" or "name".
To restrict the RELP port (default 20514/tcp) to authorized IP addresses using firewalld:
firewall-cmd --permanent --zone=trusted --add-source=<TRUSTED_IP_OR_SUBNET>
firewall-cmd --permanent --zone=trusted --add-port=20514/tcp
firewall-cmd --permanent --remove-port=20514/tcp
firewall-cmd --reload
Alternatively, if RELP network logging is not essential, disable the imrelp or omrelp configuration in /etc/rsyslog.conf or /etc/rsyslog.d/ and restart rsyslog:
systemctl restart rsyslog
Caveats:
Restricting access via firewall rules prevents connections from untrusted networks but does not prevent spoofing from hosts residing within the trusted IP range. Disabling RELP modules or changing authentication modes prevents log forwarding until all participating systems are reconfigured.
Warning: Modifying firewall configurations requires reloading firewalld, and changing rsyslog settings requires restarting the rsyslog daemon, which will cause a brief interruption in log handling.