LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Firewall and dmesg (https://www.linuxquestions.org/questions/linux-security-4/firewall-and-dmesg-20752/)

Half_Elf 05-11-2002 10:13 PM

Firewall and dmesg
 
I'm pretty newbie in firewall script but I want to know if there are any ways to force my firewall to log in a files instead of logging in dmesg.

unSpawn 05-13-2002 01:20 AM

Add an entry in /etc/syslog.conf
kern.*<tab><tab>/var/log/<filenameToLogTo>
and restart syslogd.
If you want to be precise, and your firewall binary hasn't been tweaked to use a different loglevel you could use "kern.info" instead as thats the std logfacility/level.


All times are GMT -5. The time now is 06:35 AM.