Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Nov 2011 14:16:47 +0100
From:      Damien Fleuriot <ml@my.gd>
To:        freebsd-questions@freebsd.org
Subject:   Re: Alternative to syslogd that actually writes external logs to files?
Message-ID:  <4ED4DB3F.2070109@my.gd>
In-Reply-To: <4ED4D39E.8080606@gmail.com>
References:  <4ED38578.1000501@gmail.com> <CA+tpaK0rkWX8G3hiapZkutK6xvb+c0z6aTK=U=RsC=Pk68mCEA@mail.gmail.com> <4ED3CE66.4020903@gmail.com> <4ED3D9BF.701@my.gd> <4ED41C5F.3030906@gmail.com> <4ED41E53.6000403@radel.com> <4ED42273.7090509@gmail.com> <CA+tpaK2W8hPXrvH7k9B_mcFCkO1HEUgm7pPk_Y+J-d7wr3-sMg@mail.gmail.com> <4ED4355A.8030905@gmail.com> <4ED4B410.6040601@infracaninophile.co.uk> <4ED4D39E.8080606@gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 11/29/11 1:44 PM, Kaya Saman wrote:
> On 11/29/2011 12:29 PM, Matthew Seaman wrote:
>> On 29/11/2011 01:28, Kaya Saman wrote:
>>> As you know rsyslog works over udp and telnet is a tcp protocol so I
>>> enabled tcp on port 514 within rsyslog and telnet'ed from my router to
>>> the syslog server.
>> Use netcat to test UDP connectivity -- it's in the base system as nc(1):
>>
>>     % nc -v -u 192.0.2.1 514
>>
>>     Cheers,
>>
>>     Matthew
>>
> 
> I get this result:
> 
> nc -v -u 192.168.1.120 514
> Connection to 192.168.1.120 514 port [udp/syslog] succeeded!
> 
> 
> I'm not sure though if I should be getting any of the syslog messages
> that my router is sending to the rsyslog daemon though?
> 
> I have tried but nothing displays on the server tty.
> 


Guys you're looking way too far, connectivity is fine as shown by OP's
rsyslogd debug output which clearly states it has received the message,
processed it, and matched it to an incoming rule.

The problem is not there.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4ED4DB3F.2070109>