From owner-freebsd-bugs Fri Jan 14 6:43:39 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id B1D7515148; Fri, 14 Jan 2000 06:43:36 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.3/8.9.3) id PAA93324; Fri, 14 Jan 2000 15:27:07 +0100 (CET) (envelope-from des@flood.ping.uio.no) To: Cc: pekkas@netcore.fi, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/15414: syslogd -ss disables all network logging functions References: <200001140147.RAA23443@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: 14 Jan 2000 15:27:06 +0100 In-Reply-To: 's message of "Thu, 13 Jan 2000 17:47:35 -0800 (PST)" Message-ID: Lines: 26 User-Agent: Gnus/5.0802 (Gnus v5.8.2) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org writes: > Synopsis: syslogd -ss disables all network logging functions > > State-Changed-From-To: open->feedback > State-Changed-By: billf > State-Changed-When: Thu Jan 13 17:44:35 PST 2000 > State-Changed-Why: > I can't reproduce this problem, or at least can't understand the bug report. > > Please send actual output that displays the broken behavior to billf@FreeBSD.org If syslogd is started with -ss, it will not be able to log to a remote machine because -ss instructs it to not open an UDP socket at all. What the originator really wants is -s, which instructs syslogd to open a socket but only use it for *sending* log messages. Incomig messages will be logged and discarded. One could argue that syslogd should not even bother with that, but it *has* to bind the socket because the receiving end will reject packets which do not originate from port 514, and there is no way to make the socket write-only (except maybe setting the receive buffer size to 0... I'll have to try that). DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message