A suggestion for an addition to iptables install in BLFS
"\"Richard\"" ([email protected] via blfs-support Mailing List) <[email protected]> Thu, 1 Jan 2026 23:05:20 +0000
| Newsgroups | gmane.linux.lfs.beyond.support |
|---|---|
| Message-ID | <[email protected]> |
I found the console to be not very usable due to all the iptables messages flooding it when the firewall is set up. With systemd you can set up a file to change the default message level from 4 to 3 to clean this up. lfs [ /etc/sysctl.d ]$ cat printk.conf kernel.printk = 4 3 1 7 lfs [ ~ ]$ cat /proc/sys/kernel/printk 4 3 1 7 The second digit defaults to 4. Changing it to 3 clears up the console and the messages still go to journalctl and dmesg. An alternative method might be to add: echo "4 3 1 7" > /proc/sys/kernel/printk to the iptables configuration script. -- http://lists.linuxfromscratch.org/sympa/info/blfs-support Unsubscribe: See the above information page