LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-10-2004, 11:54 AM   #1
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
Question how to stop network connection messages?


i'm getting a lot of messages like

Oct 10 06:28:49 localhost kernel: IN=eth0 OUT= MAC=<snip> SRC=192.168.1.1 DST=192.168.1.255 LEN=147 TOS=0x00 PREC=0x00 TTL=150 ID=0 PROTO=UDP SPT=9600 DPT=162 LEN=127

in "/var/log/messages" and at all of the virtual consoles. what package monitors network traffic like this? i removed snort because i thought that it was the culprit, but i still get the messages. i installed a counter strike server, so i get a lot of pings requesting the status of the server. i just want to ignore (get rid of) these messages for now.

thanks.

Last edited by zero79; 10-10-2004 at 11:55 AM.
 
Old 10-10-2004, 02:07 PM   #2
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Original Poster
Rep: Reputation: 30
ok, i found the culprit. it is firestarter, a firewall tool.
 
Old 10-10-2004, 03:06 PM   #3
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
You can stop these messages from showing up in console with "dmesg -n1", which you can put to some init script. If you find out how to prevent them from cluttering log messages, please let us know.
 
Old 10-10-2004, 03:49 PM   #4
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
I wouldn't really say that it's Firestarter that is the reason for the messeges - don't shoot the messenger... I had a similar "problem" with Guarddog as the firewall, check out this thread for details.

/TLV
 
Old 10-11-2004, 08:12 PM   #5
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
You can stop these messages from showing up in console with "dmesg -n1", which you can put to some init script.
I found a better way than "dmesg -n1". I installed the "ulogd" package and added the line
Code:
FIREHOL_LOG_MODE="ULOG"
to /etc/default/firehol. Then I rebooted and now all firewall log messages go to /var/log/ulog/syslogemu.log (instead of cluttering console or system log messages).

That works with my FireHOL firewall. You need to consult ulogd documentation if you want to find out how to make it work with other firewalls, such as Firestarter or Guarddog.
 
Old 11-03-2004, 06:37 PM   #6
six6
Member
 
Registered: Jun 2004
Location: In Adamantine Chains and penal Fire
Distribution: Debian Sarge & Ubuntu Breezy
Posts: 107

Rep: Reputation: 16
I don't know if anyone was looking for a way to get these messages to stop for firestarter or shorewall (besides using "dmesg -n1" in a startup script), but I was. I found this to be useful.

For Debian it says edit /etc/init.d/klogd and set KLOGD="" to KLOGD="-c 5". Works like a charm!
 
Old 11-04-2004, 02:52 AM   #7
TLV
Member
 
Registered: Jun 2004
Distribution: Ubuntu
Posts: 185

Rep: Reputation: 30
Quote:
Originally posted by six6
I don't know if anyone was looking for a way to get these messages to stop for firestarter or shorewall (besides using "dmesg -n1" in a startup script), but I was. I found this to be useful.

For Debian it says edit /etc/init.d/klogd and set KLOGD="" to KLOGD="-c 5". Works like a charm!
Though it is against my principles to adjust something at systemlevel, that effects every potential application, just to solve a specific application problem...

/TLV
 
Old 11-04-2004, 08:42 AM   #8
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
I tried the Shorewall tip, but no joy, Then i tried the Firehol's one and it worked perfectly, don't know the answer, the thing is, i followed Dead Parrot's instructions, went out on an errand for half an hour, and when i came back, there were no messages whatsover.

Dead Parrot: i don't care what your loved ones say about you, you are a prince. I haven't been able to solve this problem in the 2 years i've been using Linux, good show!
Do us all a favor, and copy/paste this tip to the sticky.
 
Old 11-04-2004, 09:51 AM   #9
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Do us all a favor, and copy/paste this tip to the sticky.
Thanks, macondo, for the compliments and for making the sticky thread. It's good to share when you find something useful.

I've modified the post in your thread where I tip about FireHOL and added the bit about ulogd.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stop connection try at boot. noteventime Linux - Wireless Networking 0 11-13-2005 11:44 AM
How to Stop SCSI Parity Error Messages MQMan Linux - Hardware 4 07-12-2005 01:31 PM
Stop error messages from wireless card from printing on console robertgparker Linux - Newbie 3 07-27-2004 09:29 AM
How to start and stop an ADSL connection? GM287 Linux - Networking 0 04-12-2004 04:25 PM
Stop Printer Messages Logging to TTY Cyyb Linux - General 2 06-20-2003 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:31 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
Open Source Consulting | Domain Registration