Review your favorite Linux distribution.
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, 10:41 AM   #1
Registered: May 2009
Posts: 32

Rep: Reputation: 15

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
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!


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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:03 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