From owner-freebsd-questions@FreeBSD.ORG Tue Nov 29 12:44:21 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 1EE6D106564A for ; Tue, 29 Nov 2011 12:44:21 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8CBF18FC21 for ; Tue, 29 Nov 2011 12:44:20 +0000 (UTC) Received: by lahv2 with SMTP id v2so1522848lah.13 for ; Tue, 29 Nov 2011 04:44:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZInXBmsdIrdC/OugsUx/xDFPD163Y5JGMI8tCmK4+Y4=; b=NQ7WF+1GEDLpFa73yy8j5zRqFE0U+7v9GWujNFWOgEe1QuJ/b37Fos4gRgizajnh4+ gzk/vf31U788aRH1iHidKcOPNE50gPwLcGXlaV68+XIR19EgAM8LIjaEkgvHXebel5yN x6FVCZhAbwSZihErF+OHGkIMWLn62hAF2WekM= Received: by 10.152.110.102 with SMTP id hz6mr823696lab.11.1322570659103; Tue, 29 Nov 2011 04:44:19 -0800 (PST) Received: from Hp2230s.localhost (81-178-2-118.dsl.pipex.com. [81.178.2.118]) by mx.google.com with ESMTPS id hm12sm34920332lab.9.2011.11.29.04.44.15 (version=SSLv3 cipher=OTHER); Tue, 29 Nov 2011 04:44:17 -0800 (PST) Message-ID: <4ED4D39E.8080606@gmail.com> Date: Tue, 29 Nov 2011 14:44:14 +0200 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0) Gecko/20110927 Thunderbird/7.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> In-Reply-To: <4ED4B410.6040601@infracaninophile.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 12:44:21 -0000 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.