mgutt Posted August 16, 2021 Share Posted August 16, 2021 It creates a new log entry every 5 to 10 minutes: These are my network settings: As I understand it right its something like a "heartbeat" which is pretty normal with an IPv6 DHCP server. The suggestion is a) to set noipv6rs in the dhcp servers config, which I'm not able to do as my router doesn't allow it (and I'm not sure if this would break something) or b) to filter out those messages on the client: https://unix.stackexchange.com/questions/273818/can-i-stop-ipv6-router-advertisement-filling-syslog-without-disabling-ipv6 So I tried to solved this issue by adding this to the /boot/config/rsyslog.conf # stop IPv6 router advertisement messages :msg, contains, "Router Advertisement from" stop And restarting the rsyslog daemon: /etc/rc.d/rc.rsyslogd restart But the messages were still added to the logs 🤷♂️ 1 Quote Link to comment
dlandon Posted August 16, 2021 Share Posted August 16, 2021 I stopped these messages by setting "Enable Router Advertisement" to disabled in my ASUS router. There is an issue with the syslog filtering setup in rsyslog.conf. I solved the issue with the Enhanced Log plugin so it will work properly. Install the plugin and then set up the syslog filter to what you want with the plugin. Quote Link to comment
bonienl Posted August 16, 2021 Share Posted August 16, 2021 2 hours ago, mgutt said: But the messages were still added to the logs The rsyslog.conf on your USB stick is copied at system start up to /etc/rsyslog.conf, which is the actual configuration file. To make your configuration changes work, you will need to restart the server. 1 Quote Link to comment
mgutt Posted August 16, 2021 Author Share Posted August 16, 2021 On 8/16/2021 at 3:23 PM, bonienl said: The rsyslog.conf on your USB stick is copied at system start up to /etc/rsyslog.conf Good to know, but does not work either. I even tried to add the filter to the top of the file because I thought it could be related to this bug: EDIT: It works only if the rule is added after the "$RuleSet local" line, so I added this to my Go file: # ------------------------------------------------- # Suppress IPv6 Router Advertisement logs # ------------------------------------------------- sed -i '/$RuleSet local/a:msg,contains,"Router Advertisement from" stop' /etc/rsyslog.conf /etc/rc.d/rc.rsyslogd reload Quote Link to comment
tigger2k Posted August 18, 2021 Share Posted August 18, 2021 Dont know if this helps but it looks like its gone in 6.10-rc1 My test unraid runs for about an hour now and i have no more entry for router advertisement Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.