LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-22-2013, 11:58 AM   #1
mccabehm
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Rep: Reputation: Disabled
losing netconsole udp packets


I am using linux 2.6.38 netconsole to forward kernel log messages to a second host. On the second host I have syslog-ng 2.0.9 running. I see that not all messages get to the second host. For example "echo 1 > /dev/kmsg; echo 2 > /dev/kmsg" on the first machine results in only the first message reliably arriving at the second host; message 2 is often, but not always, missing. The relevant portion of the syslog config file looks like:

> source src {
> internal();
> udp(ip("0.0.0.0") port(6666));
> };

I see the same losses when running netcat (v1.10) on the second host. I know udp is not reliable, but as syslog uses udp extensively I would not have expected these kinds of losses. My systems are not stressed at all during these tests.

Are there any syslog config options that can minimize these losses? Any other possibilities to investigate?
 
Old 02-22-2013, 01:29 PM   #2
mccabehm
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I will try tcpdump to see what packets do/do not arrive at the interface on the second host.
 
Old 02-25-2013, 01:03 PM   #3
mccabehm
LQ Newbie
 
Registered: Apr 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
tcpdump shows expected packets arriving at second host's interface. And no packets dropped; no overruns. So where are they going?
 
  


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
LXer: Linux Configure Netconsole Kernel Module To Log Messages Over UDP Network LXer Syndicated Linux News 0 07-03-2008 12:50 PM
UDP: Short Packets: and UDP bad checksum: entries in dmesg minutes2memories Linux - Networking 2 02-26-2006 07:28 PM
encapsulating TCP packets in UDP packets... yoshi95 Programming 3 06-03-2004 02:53 PM
How to receive UDP and ICMP packets, by one UDP socket(PMTUD) myself_rajat Linux - Networking 0 05-28-2004 05:43 AM
UDP packets going nowhere jylhar Programming 0 01-05-2004 05:46 AM


All times are GMT -5. The time now is 12:05 AM.

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