LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-01-2009, 01:34 PM   #1
Zero187
Member
 
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?

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

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Hi,

Take a look at
http://www.shorewall.net/shorewall_logging.html
 
Old 06-01-2009, 02:39 PM   #3
Zero187
Member
 
Registered: May 2009
Posts: 32

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

http://marc.info/?l=gentoo-security&...910563&w=2

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:

http://www.linuxquestions.org/questi...wflogs-729877/

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


Reply


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-17-2009 12:10 AM
Firewall Logging problems Firebar Linux - Security 1 05-06-2007 05:05 AM
Firewall logging jakev383 Linux - Networking 2 12-08-2005 09:17 AM
Logging firewall with syslog-ng? RecoilUK Linux - Security 1 08-06-2005 05:28 PM
Logging into a firewall - IPSEC user benjithegreat98 Linux - Software 1 01-30-2004 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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