Pass the contents of firewall log to another file
Hi,
I am working on firewall. I want to pass the logs created by the firewall (/var/log/messages) to a new file (/var/log/iptpipe). how do i do it? I work on red hat linux 9. The firewall i am using is firestarter 0.9.3. Even if the solution is for the firewall lokkit, it is fine. Regards Aruna. |
OK, so what is wrong with:
cat /var/log/messages > /var/log/iptpipe ?? Or, are you asking how to get firestarter to pass a log message to a different named file? (Note, you can get iptables to send logs to diferent files for different events...) |
Look at your syslog.conf or syslog_ng.conf file. You can either change where the firewall (iptables) logs are written to or have them also written to another log.
|
All times are GMT -5. The time now is 06:48 AM. |