LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 10:41 AM   #1
Zero187
Member
 
Registered: May 2009
Posts: 32

Rep: Reputation: 15
Wflogs


Ok I installed Wflogs to parse my firewall log (I use shorewall) and I successfully ran wflogs and generated some html output using this command:

wflogs -i netfilter -o html /var/log/messages > /home/test.html

It worked the first time, but then when I ran it again it started bugging out on me (and yes, I tried outputting to a different file that didn't exist yet, but still got same error).

Here is the error:

connect: Connection refused
wflogs: Error: output failed.

Anyone have any ideas as to how to fix this? I removed and reinstalled the program using apt-get and I know I have the latest stable version.

It worked before, and there were no other system changes made so I am really lost as to how it could have broken.
 
Old 06-01-2009, 02:56 PM   #2
Zero187
Member
 
Registered: May 2009
Posts: 32

Original Poster
Rep: Reputation: 15
I seem to be working out most of my problems on my own (which is actually kind of fun). Managed to figure this out by running Snort and watching to see which ports are used. I thought it would use port 53 for DNS, but infact this program uses port 43. Once I opened that up in my firewall, the error went away!
 
  


Reply



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



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

All times are GMT -5. The time now is 03:44 AM.

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
Open Source Consulting | Domain Registration