From owner-freebsd-stable Wed Feb 21 11: 0:32 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mighty.grot.org (mighty.grot.org [216.15.97.5]) by hub.freebsd.org (Postfix) with ESMTP id 2133C37B491 for ; Wed, 21 Feb 2001 10:59:06 -0800 (PST) (envelope-from lists@grot.org) Received: by mighty.grot.org (Postfix, from userid 998) id 4EB9D5DB0; Wed, 21 Feb 2001 10:59:05 -0800 (PST) Date: Wed, 21 Feb 2001 10:59:05 -0800 From: lists To: Hajimu UMEMOTO Cc: freebsd-stable@freebsd.org Subject: Re: syslog changes in 4.2-stable? Message-ID: <20010221105905.A41009@mighty.grot.org> Reply-To: lists@lists.grot.org References: <20010220222603.A36904@mighty.grot.org> <20010220225849.A37315@mighty.grot.org> <20010221.182013.39234185.ume@imasy.or.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010221.182013.39234185.ume@imasy.or.jp>; from ume@imasy.or.jp on Wed, Feb 21, 2001 at 06:20:13PM +0900 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Feb 21, 2001 at 06:20:13PM +0900, Hajimu UMEMOTO wrote: > lists> Thanks, yes, that works...but, ugh. So some backward-compatibility was broken > lists> in 4.2-STABLE...and that should probably be fixed... > > It is security reason. The -s option is specified by default under > 4.X or later. If you need, you can still enable insecure mode by > omitting -s from syslogd_flags in /etc/rc.conf. However, if you > intend to log within the host, it is not recommended. > Please refer manpage of syslogd. uh, nope, it failed even on a 4.2-STABLE machine (which I use as a loghost for the local network) that has syslogd running as: 37894 ?? Ss 0:03.27 syslogd -n -vv -a 10.10.10.0/24 unless I force it to use the unix domain socket as suggested above. But that gave me an idea -- I forced logger to use PF_INET by specifying the -h option, and that doesn't work -- I even tried adding -a 127.0.0.1/32 to the syslogd command line hoping that that might make a difference: 41337 ?? Ss 0:00.01 syslogd -n -vv -a 10.10.10.0/24 -a 127.0.0.1/32 but that doesn't help either. The syslog host is 10.10.10.5 and I tried both: logger -h 10.10.10.5 -p 'crit' "this is a test" logger -h 127.0.0.1 -p 'crit' "this is a test" and neither worked. However it is receiving syslog messages from other hosts without a problem where I have it specified in their syslog.conf as: *.* @10.10.10.5 (I noticed that kern.debug and possibly kern.info messages don't get relayed, but that is another thread and I almost understand why that is but couldn't find it in the syslogd code) There is something screwy about the PF_INET stuff which neither logger nor Sys::Syslog like...and this is broken in regards to previous behaviour. Thanks, Adi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message