You are not logged in.
Hello to everyone!
Recently I opened some ports of my computer to the internet and ufw fills dmesg and journalctl with a lot of ip addresses from different countries trying brute force attacks to ssh, and I would like to redirect those logs to a file than the system log to read more carefully.
I don't want to disable logging because I need to read those logs.
Regards.
Offline
you can use something like rsyslog to redirect output to a file, but so far as I can tell there's no functionality within ufw to configure logging beyond on/off
Offline