LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-16-2006, 03:16 AM   #1
arubala1
LQ Newbie
 
Registered: Jan 2006
Posts: 3

Rep: Reputation: 0
Smile 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.
 
Old 03-16-2006, 03:50 AM   #2
Simon Bridge
Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 197Reputation: 197
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...)
 
Old 03-16-2006, 03:50 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
 
  


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
Deleting Contents of File abdul_zu Linux - Software 3 12-04-2005 02:12 PM
Traffic still going pass Firewall extremebfn Linux - Networking 1 10-04-2004 01:43 AM
How to track who's helping intruder pass through firewall pingu Linux - Security 8 08-10-2004 07:47 AM
SuSE 9.0 firewall log file? johnny1959 Linux - Newbie 2 03-09-2004 01:56 AM
Delete contents of the file, but not file? mikeshn Linux - General 9 05-28-2003 06:47 AM


All times are GMT -5. The time now is 04:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration