[solved]ufw 'polluting' dmesg

Hi,

I'm using ufw for configuring my firewall, nothing fancy as the system concerned is a laptop.Now I'm getting ALOT of output from ufw in dmesg, which I don't want there.Is there anyway to disable the messages showing up there?

Re: [solved]ufw 'polluting' dmesg

I'm having the same issue, and it's fixed with two workarounds:Either allow your router's IP address (mine is 192.168.2.1) with "ufw allow from 192.168.2.1".Or disable logging with "ufw logging off".

I'm really curious if the first option could cause some kind of security hole, and if you could "limit" the access with more options in the command (like allowing specific ports or something).If it doesn't cause security holes, it's obviously the better of the two options.