Date: Thu, 22 Feb 2001 04:55:54 +0900 (JST) From: Hajimu UMEMOTO <ume@mahoroba.org> To: lists@lists.grot.org Cc: freebsd-stable@freebsd.org Subject: Re: syslog changes in 4.2-stable? Message-ID: <20010222.045554.71152050.ume@mahoroba.org> In-Reply-To: <20010221105905.A41009@mighty.grot.org> References: <20010220225849.A37315@mighty.grot.org> <20010221.182013.39234185.ume@imasy.or.jp> <20010221105905.A41009@mighty.grot.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >>>>> On Wed, 21 Feb 2001 10:59:05 -0800 >>>>> lists <lists@lists.grot.org> said: lists> uh, nope, it failed even on a 4.2-STABLE machine (which I use as a loghost for lists> the local network) that has syslogd running as: lists> 37894 ?? Ss 0:03.27 syslogd -n -vv -a 10.10.10.0/24 lists> unless I force it to use the unix domain socket as suggested above. lists> But that gave me an idea -- I forced logger to use PF_INET by specifying the lists> -h option, and that doesn't work -- I even tried adding -a 127.0.0.1/32 to the lists> syslogd command line hoping that that might make a difference: lists> 41337 ?? Ss 0:00.01 syslogd -n -vv -a 10.10.10.0/24 -a 127.0.0.1/32 lists> but that doesn't help either. The syslog host is 10.10.10.5 and I tried both: lists> logger -h 10.10.10.5 -p 'crit' "this is a test" lists> logger -h 127.0.0.1 -p 'crit' "this is a test" I just tried on my box and it runs. If you don't specify service at -a option, 514 is assumed by default. It's a privilege port and general users cannot bind it. If you wish to allow the connections from general user, you must specify * as service like follows: syslogd -n -vv -a '10.10.10.0/24:*' -a '127.0.0.1/32:*' lists> and neither worked. However it is receiving syslog messages from other hosts lists> without a problem where I have it specified in their syslog.conf as: lists> *.* @10.10.10.5 Since syslogd does bind to 514, it works. -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010222.045554.71152050.ume>