From owner-freebsd-questions@FreeBSD.ORG Wed Jan 17 23:40:13 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0FE4616A492 for ; Wed, 17 Jan 2007 23:40:12 +0000 (UTC) (envelope-from lists@qwirky.net) Received: from public.aci.on.ca (aci.on.ca [205.207.148.251]) by mx1.freebsd.org (Postfix) with ESMTP id 9CDA613C45E for ; Wed, 17 Jan 2007 23:40:12 +0000 (UTC) (envelope-from lists@qwirky.net) Received: from (invalid client hostname: host address literal does not match remote client address)[127.0.0.1] (xtreme-156-171.dyn.aci.on.ca[69.17.156.171] port=1626) by public.aci.on.ca([205.207.148.252] port=25) via TCP with esmtp (1867 bytes) (sender: ) id for ; Wed, 17 Jan 2007 18:40:02 -0500 (EST) (Smail-3.2.0.122-Pre 2005-Nov-17 #1 built 2006-Feb-21) Message-ID: <45AEB3D2.2020700@qwirky.net> Date: Wed, 17 Jan 2007 18:40:02 -0500 From: Jeff Royle User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Agus References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0703-3, 17/01/2007), Outbound message X-Antivirus-Status: Clean Cc: freebsd-questions@freebsd.org Subject: Re: Disable syslogd 514.. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lists@qwirky.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Jan 2007 23:40:13 -0000 applecom@inbox.ru wrote: > On Thu, 18 Jan 2007 01:33:13 +0500, Agus wrote: > >> Hi.... >> doing a netstat -an i see that syslog is listening in UDP port >> 514.....i am >> trying to disable it, but no luck.... >> i checked the rc.conf but there is nothing there.....what do u >> recommend? to >> disable it or to leave it? >> I do not use the machine as a remote syslog server so i cant see the >> use.....but who knows.. > > From syslogd(8): > "-s Operate in secure mode. Do not log messages from remote > machines. If specified twice, no network socket will be opened > at all, which also disables logging to remote machines." > So 'syslogd_flags="-ss"' can be added to /etc/rc.conf. > _______________________________________________ BTW: It can be written like 'syslogd_flags="-s -s"' to your /etc/rc.conf Both are perfectly valid. Cheers, Jeff