From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 13:16:57 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9F06106564A for ; Tue, 29 Nov 2011 13:16:57 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 748168FC1B for ; Tue, 29 Nov 2011 13:16:57 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so6125727vcb.13 for ; Tue, 29 Nov 2011 05:16:56 -0800 (PST) Received: by 10.220.194.139 with SMTP id dy11mr1156818vcb.126.1322572616636; Tue, 29 Nov 2011 05:16:56 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id eo2sm46015809vdb.5.2011.11.29.05.16.48 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 05:16:49 -0800 (PST) Message-ID: <4ED4DB3F.2070109@my.gd> Date: Tue, 29 Nov 2011 14:16:47 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4ED38578.1000501@gmail.com> <4ED3CE66.4020903@gmail.com> <4ED3D9BF.701@my.gd> <4ED41C5F.3030906@gmail.com> <4ED41E53.6000403@radel.com> <4ED42273.7090509@gmail.com> <4ED4355A.8030905@gmail.com> <4ED4B410.6040601@infracaninophile.co.uk> <4ED4D39E.8080606@gmail.com> In-Reply-To: <4ED4D39E.8080606@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Alternative to syslogd that actually writes external logs to files? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Nov 2011 13:16:57 -0000 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.