Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-01-2009, 12:34 PM   #1
Registered: May 2009
Posts: 32

Rep: Reputation: 15
Firewall logging

All the shorewall firewall logs are going to /var/log/messages

The file is becoming pretty big filled with a lot of other data as well, I want all the firewall logs to go to a separate file so I can parse them.

I tried looking through the shorewall settings, but I don't think shorewall is doing the logging (I think it's syslogd, or syslog-ng).

How would I redirect the firewall info to /var/log/firewall.log instead of the messages file?

Old 06-01-2009, 12:38 PM   #2
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

Take a look at
Old 06-01-2009, 01:39 PM   #3
Registered: May 2009
Posts: 32

Original Poster
Rep: Reputation: 15
Thank you, got it set up using this:

Had to change a few things tho and restart the system but it's working good now.

Next step is getting wflogs to parse the file. If you know how to help with that, here is my topic:

I think wflogs might be trying to connect somewhere and the firewall might be blocking it? Not sure..


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin and firewall logging def1 Linux - Server 0 05-16-2009 11:10 PM
Firewall Logging problems Firebar Linux - Security 1 05-06-2007 04:05 AM
Firewall logging jakev383 Linux - Networking 2 12-08-2005 08:17 AM
Logging firewall with syslog-ng? RecoilUK Linux - Security 1 08-06-2005 04:28 PM
Logging into a firewall - IPSEC user benjithegreat98 Linux - Software 1 01-29-2004 11:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration